mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat( S&P ): Add currency code in conversion to invoice & credit.
This commit is contained in:
@@ -74,8 +74,8 @@ function VendorCreditNoteForm({
|
||||
...(vendorcreditAutoIncrement && {
|
||||
vendor_credit_number: vendorCreditNumber,
|
||||
}),
|
||||
...newVendorCredit,
|
||||
currency_code: base_currency,
|
||||
...newVendorCredit,
|
||||
}),
|
||||
}),
|
||||
[vendorCredit, base_currency],
|
||||
|
||||
@@ -92,7 +92,7 @@ function VendorCreditNoteFormProvider({
|
||||
|
||||
const newVendorCredit = !isEmpty(bill)
|
||||
? transformToEditForm({
|
||||
...pick(bill, ['vendor_id', 'entries']),
|
||||
...pick(bill, ['vendor_id', 'currency_code', 'entries']),
|
||||
})
|
||||
: [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user