mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix(Payments): add currency code to payment entries in edit/new pages.
This commit is contained in:
@@ -90,11 +90,12 @@ export default class BillPaymentsPages {
|
||||
return {
|
||||
entryType: 'invoice',
|
||||
billId: bill.id,
|
||||
dueAmount: bill.dueAmount,
|
||||
amount: bill.amount,
|
||||
billNo: bill.billNumber,
|
||||
amount: bill.amount,
|
||||
dueAmount: bill.dueAmount,
|
||||
totalPaymentAmount: bill.paymentAmount,
|
||||
paymentAmount: bill.paymentAmount,
|
||||
currencyCode: bill.currencyCode,
|
||||
date: bill.billDate,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,11 +30,12 @@ export default class PaymentReceivesPages {
|
||||
return {
|
||||
entryType: 'invoice',
|
||||
invoiceId: invoice.id,
|
||||
dueAmount: invoice.dueAmount,
|
||||
amount: invoice.balance,
|
||||
invoiceNo: invoice.invoiceNo,
|
||||
totalPaymentAmount: invoice.paymentAmount,
|
||||
amount: invoice.balance,
|
||||
dueAmount: invoice.dueAmount,
|
||||
paymentAmount: invoice.paymentAmount,
|
||||
totalPaymentAmount: invoice.paymentAmount,
|
||||
currencyCode: invoice.currencyCode,
|
||||
date: invoice.invoiceDate,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user