update as in the transaction api
This commit is contained in:
parent
ae458c3fca
commit
4912d319ff
4 changed files with 21 additions and 15 deletions
|
|
@ -144,7 +144,7 @@ export default function ContractTransactionTable(props: Props) {
|
|||
//use the transaction api to revoke the transaction
|
||||
//--moved all the functionality for adjusting the objects involved to the backend so this can be handled with a single call--
|
||||
transactionAPI
|
||||
.revokeTransaction(activeTransaction.transaction.key)
|
||||
.revokeTransaction(activeTransaction.transaction.key, as)
|
||||
.then(resp => {
|
||||
openSnack("Transaction revoked and inventory moved back");
|
||||
transactionRevokedCallback(activeTransaction.transaction.key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue