Created export payables screen + basic invoice exporting BOD-139
This commit is contained in:
@@ -70,3 +70,41 @@ query QUERY_JOBS_FOR_RECEIVABLES_EXPORT($id: uuid!) {
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
exports.QUERY_INVOICES_FOR_PAYABLES_EXPORT = `
|
||||
query QUERY_INVOICES_FOR_PAYABLES_EXPORT($invoices: [uuid!]!) {
|
||||
invoices(where: {id: {_in: $invoices}}) {
|
||||
id
|
||||
date
|
||||
due_date
|
||||
federal_tax_rate
|
||||
invoice_number
|
||||
is_credit_memo
|
||||
job {
|
||||
id
|
||||
ro_number
|
||||
clm_no
|
||||
ownr_fn
|
||||
ownr_ln
|
||||
ownr_co_nm
|
||||
bodyshop{
|
||||
md_responsibility_centers
|
||||
}
|
||||
}
|
||||
invoicelines{
|
||||
id
|
||||
cost_center
|
||||
actual_cost
|
||||
applicable_taxes
|
||||
}
|
||||
state_tax_rate
|
||||
local_tax_rate
|
||||
total
|
||||
vendor{
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user