Added ordering invoice as in house BOD-101
This commit is contained in:
@@ -28,6 +28,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
textid
|
||||
production_config
|
||||
invoice_tax_rates
|
||||
inhousevendorid
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
|
||||
@@ -41,6 +41,7 @@ export const QUERY_INVOICES_BY_JOBID = gql`
|
||||
query QUERY_INVOICES_BY_JOBID($jobid: uuid!) {
|
||||
invoices(where: { jobid: { _eq: $jobid } }, order_by: { date: desc }) {
|
||||
id
|
||||
vendorid
|
||||
vendor {
|
||||
id
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user