- add smart refetch to mark-export and reexport

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-04-05 14:54:16 -04:00
parent 6722f8b1e5
commit b61fd17879
2 changed files with 2 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ const PaymentMarkForExportButton = ({ bodyshop, payment, refetch, setPaymentCont
},
context: {
...payment,
smartRefetch: true,
exportedat: today
}
});

View File

@@ -34,6 +34,7 @@ const PaymentReexportButton = ({ payment, refetch, setPaymentContext }) => {
refetch
},
context: {
smartRefetch: true,
...payment,
exportedat: null
}