IO-1674 Resolve new bill lines issues.

This commit is contained in:
Patrick Fic
2022-01-27 15:07:00 -08:00
parent cd071500cf
commit 8d1988d4ad
3 changed files with 59 additions and 42 deletions

View File

@@ -181,7 +181,10 @@ export const UPDATE_JOB_LINE = gql`
export const GET_JOB_LINES_TO_ENTER_BILL = gql`
query GET_JOB_LINES_TO_ENTER_BILL($id: uuid!) {
joblines(where: { jobid: { _eq: $id } }, order_by: { act_price: desc }) {
joblines(
where: { jobid: { _eq: $id } }
order_by: { act_price: desc_nulls_last }
) {
removed
id
line_desc