24 lines
471 B
JavaScript
24 lines
471 B
JavaScript
import gql from "graphql-tag";
|
|
|
|
export const UPDATE_JOB_LINE = gql`
|
|
mutation UPDATE_JOB_LINE($lineId: uuid!, $line: joblines_set_input!) {
|
|
update_joblines(where: { id: { _eq: $lineId } }, _set: $line) {
|
|
returning {
|
|
id
|
|
line_no
|
|
act_price
|
|
db_price
|
|
line_desc
|
|
line_ind
|
|
oem_partno
|
|
part_qty
|
|
part_type
|
|
unq_seq
|
|
price_diff
|
|
price_diff_pc
|
|
ignore
|
|
}
|
|
}
|
|
}
|
|
`;
|