Change date on qb invoice to close date
This commit is contained in:
@@ -297,7 +297,7 @@ const generateInvoiceQbxml = (jobs_by_pk, bodyshop) => {
|
||||
? { ClassRef: { FullName: jobs_by_pk.class } }
|
||||
: {}),
|
||||
|
||||
TxnDate: new Date(),
|
||||
TxnDate: jobs_by_pk.date_closed,
|
||||
RefNumber: jobs_by_pk.ro_number,
|
||||
BillAddress: {
|
||||
Addr1: jobs_by_pk.ownr_addr1,
|
||||
|
||||
@@ -46,6 +46,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
|
||||
id
|
||||
job_totals
|
||||
date_invoiced
|
||||
date_closed
|
||||
ro_number
|
||||
clm_total
|
||||
clm_no
|
||||
|
||||
Reference in New Issue
Block a user