- add smart refetch to mark-export and reexport
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -57,6 +57,7 @@ const PaymentMarkForExportButton = ({ bodyshop, payment, refetch, setPaymentCont
|
||||
},
|
||||
context: {
|
||||
...payment,
|
||||
smartRefetch: true,
|
||||
exportedat: today
|
||||
}
|
||||
});
|
||||
|
||||
@@ -34,6 +34,7 @@ const PaymentReexportButton = ({ payment, refetch, setPaymentContext }) => {
|
||||
refetch
|
||||
},
|
||||
context: {
|
||||
smartRefetch: true,
|
||||
...payment,
|
||||
exportedat: null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user