feat: add status & opened alert in credit & vendor.

This commit is contained in:
elforjani13
2021-12-06 16:28:42 +02:00
parent 2a48d9be51
commit ac99a6ca75
25 changed files with 567 additions and 222 deletions

View File

@@ -31,8 +31,8 @@ function RefundVendorCreditFormProvider({
// State provider.
const provider = {
vendorCredit: {
...pick(vendorCredit, ['id', 'formatted_amount', 'currency_code']),
amount: vendorCredit.formatted_amount,
...pick(vendorCredit, ['id', 'credits_remaining', 'currency_code']),
amount: vendorCredit.credits_remaining,
},
accounts,
dialogName,