Restricted invoice export to 1 at a time BOD-139
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -160,6 +160,10 @@ export const MARK_LATEST_APPOINTMENT_AS_ARRIVED = gql`
|
||||
_set: { arrived: true }
|
||||
) {
|
||||
affected_rows
|
||||
returning {
|
||||
id
|
||||
arrived
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user