Added classes to receivable export.
This commit is contained in:
@@ -292,6 +292,11 @@ const generateInvoiceQbxml = (jobs_by_pk, bodyshop) => {
|
||||
jobs_by_pk
|
||||
)}`,
|
||||
},
|
||||
|
||||
...(jobs_by_pk.class
|
||||
? { ClassRef: { FullName: jobs_by_pk.class } }
|
||||
: {}),
|
||||
|
||||
TxnDate: new Date(),
|
||||
RefNumber: jobs_by_pk.ro_number,
|
||||
BillAddress: {
|
||||
|
||||
@@ -83,6 +83,7 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($ids: [uuid!]!) {
|
||||
rate_mapa
|
||||
rate_mash
|
||||
rate_matd
|
||||
class
|
||||
owner {
|
||||
accountingid
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user