Restricted invoice export to 1 at a time BOD-139

This commit is contained in:
Patrick Fic
2020-06-02 16:43:00 -07:00
parent 73c457e972
commit 6060def9f4
6 changed files with 75 additions and 31 deletions

View File

@@ -35,7 +35,12 @@ export const QUERY_INVOICES_FOR_EXPORT = gql`
exported
date
invoice_number
is_credit_memo
total
job {
id
ro_number
}
vendor {
name
id

View File

@@ -160,6 +160,10 @@ export const MARK_LATEST_APPOINTMENT_AS_ARRIVED = gql`
_set: { arrived: true }
) {
affected_rows
returning {
id
arrived
}
}
}
`;