Fixed job costing bugs. BOD-247
This commit is contained in:
@@ -113,13 +113,7 @@ export const UPDATE_JOB_LINE = gql`
|
||||
|
||||
export const GET_JOB_LINES_TO_ENTER_INVOICE = gql`
|
||||
query GET_JOB_LINES_TO_ENTER_INVOICE($id: uuid!) {
|
||||
joblines(
|
||||
where: {
|
||||
jobid: { _eq: $id }
|
||||
oem_partno: { _neq: "" }
|
||||
act_price: { _gt: "0" }
|
||||
}
|
||||
) {
|
||||
joblines(where: { jobid: { _eq: $id } }) {
|
||||
id
|
||||
line_desc
|
||||
part_type
|
||||
@@ -136,3 +130,9 @@ export const GET_JOB_LINES_TO_ENTER_INVOICE = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
// oem_partno: {
|
||||
// _neq: "";
|
||||
// }
|
||||
// act_price: {
|
||||
// _gt: "0";
|
||||
// }
|
||||
|
||||
@@ -202,6 +202,12 @@ export const QUERY_JOB_COSTING_DETAILS = gql`
|
||||
quantity
|
||||
}
|
||||
}
|
||||
timetickets {
|
||||
id
|
||||
rate
|
||||
cost_center
|
||||
actualhrs
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user