Added read only invocies. Removed added reducer coe that was needed BOD-408

This commit is contained in:
Patrick Fic
2020-09-28 15:23:28 -07:00
parent cb412f377e
commit 6b6d052e74
17 changed files with 144 additions and 62 deletions

View File

@@ -12,3 +12,13 @@ export const UPDATE_BILL_LINE = gql`
}
}
`;
export const INSERT_NEW_BILL_LINES = gql`
mutation INSERT_NEW_BILL_LINES($billLines: [billlines_insert_input!]!) {
insert_billlines(objects: $billLines) {
returning {
id
}
}
}
`;

View File

@@ -35,6 +35,7 @@ export const QUERY_ALL_BILLS_PAGINATED = gql`
total
invoice_number
date
exported
job {
id
ro_number
@@ -69,6 +70,7 @@ export const QUERY_BILLS_BY_JOBID = gql`
}
order_date
deliver_by
exported
parts_order_lines {
id
act_price