IO-1674 Reorder bill posting lines by price.

This commit is contained in:
Patrick Fic
2022-01-27 08:41:37 -08:00
parent 9b444a130b
commit 49f5668e89

View File

@@ -181,7 +181,7 @@ 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 } }) {
joblines(where: { jobid: { _eq: $id } }, order_by: { act_price: desc }) {
removed
id
line_desc