Ability to delete manually entered job lines IO-568

This commit is contained in:
Patrick Fic
2021-01-20 10:47:08 -08:00
parent e82e1215ea
commit cb503e392f
15 changed files with 556 additions and 10 deletions

View File

@@ -180,3 +180,11 @@ export const generateJobLinesUpdatesForInvoicing = (joblines) => {
}
`;
};
export const DELETE_JOB_LINE_BY_PK = gql`
mutation DELETE_JOB_LINE_BY_PK($joblineId: uuid!) {
delete_joblines_by_pk(id: $joblineId) {
id
}
}
`;

View File

@@ -495,6 +495,7 @@ export const GET_JOB_BY_PK = gql`
location
tax_part
db_ref
manual_line
parts_order_lines {
id
parts_order {
@@ -1081,6 +1082,7 @@ export const QUERY_ALL_JOB_FIELDS = gql`
status
tax_part
unq_seq
manual_line
}
employee_body
employee_refinish