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 } }
|
? { ClassRef: { FullName: jobs_by_pk.class } }
|
||||||
: {}),
|
: {}),
|
||||||
|
|
||||||
TxnDate: new Date(),
|
TxnDate: jobs_by_pk.date_closed,
|
||||||
RefNumber: jobs_by_pk.ro_number,
|
RefNumber: jobs_by_pk.ro_number,
|
||||||
BillAddress: {
|
BillAddress: {
|
||||||
Addr1: jobs_by_pk.ownr_addr1,
|
Addr1: jobs_by_pk.ownr_addr1,
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
|
|||||||
id
|
id
|
||||||
job_totals
|
job_totals
|
||||||
date_invoiced
|
date_invoiced
|
||||||
|
date_closed
|
||||||
ro_number
|
ro_number
|
||||||
clm_total
|
clm_total
|
||||||
clm_no
|
clm_no
|
||||||
|
|||||||
Reference in New Issue
Block a user