IO-2059 Add invoice history to job line expander.

This commit is contained in:
Patrick Fic
2022-10-18 09:00:21 -07:00
parent 1d39e574cf
commit 04f4ce97ed
6 changed files with 82 additions and 1 deletions

View File

@@ -2120,6 +2120,22 @@ export const DELETE_RELATED_RO = gql`
`;
export const GET_JOB_LINE_ORDERS = gql`
query GET_JOB_LINE_ORDERS($joblineid: uuid!) {
billlines(where: { joblineid: { _eq: $joblineid } }) {
actual_cost
actual_price
billid
quantity
bill {
id
invoice_number
date
vendorid
vendor {
id
name
}
}
}
parts_order_lines(where: { job_line_id: { _eq: $joblineid } }) {
id
act_price