Add payment number and date. IO-610
This commit is contained in:
@@ -71,8 +71,9 @@ const generatePayment = (payment) => {
|
||||
FullName:
|
||||
payment.job.bodyshop.md_responsibility_centers.ar.accountname,
|
||||
},
|
||||
TxnDate: moment(payment.created_at).format("YYYY-MM-DD"), //Trim String
|
||||
RefNumber: payment.stripeid || payment.transactionid,
|
||||
TxnDate: moment(payment.date).format("YYYY-MM-DD"), //Trim String
|
||||
RefNumber:
|
||||
payment.paymentnum || payment.stripeid || payment.transactionid,
|
||||
TotalAmount: Dinero({
|
||||
amount: Math.round(payment.amount * 100),
|
||||
}).toFormat(DineroQbFormat),
|
||||
|
||||
@@ -176,6 +176,8 @@ exports.QUERY_PAYMENTS_FOR_EXPORT = `
|
||||
stripeid
|
||||
type
|
||||
payer
|
||||
paymentnum
|
||||
date
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user