IO-2217 Part Price Changes for CCC.

This commit is contained in:
Patrick Fic
2023-03-20 14:10:06 -07:00
parent 4e2ad3bc62
commit 0ec099cdf5
11 changed files with 163 additions and 20 deletions

View File

@@ -275,3 +275,14 @@ export const UPDATE_JOB_LINES_IOU = gql`
}
}
`;
export const UPDATE_LINE_PPC = gql`
mutation UPDATE_LINE_PPC($id: uuid!, $jobline: joblines_set_input) {
update_joblines_by_pk(pk_columns: { id: $id }, _set: $jobline) {
jobid
id
act_price_before_ppc
act_price
}
}
`;

View File

@@ -721,6 +721,7 @@ export const GET_JOB_BY_PK = gql`
ioucreated
convertedtolbr
ah_detail_line
act_price_before_ppc
billlines(limit: 1, order_by: { bill: { date: desc } }) {
id
quantity