Ability to delete manually entered job lines IO-568
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user