IO-1914 Consume from inventory screen.

This commit is contained in:
Patrick Fic
2022-06-07 12:14:24 -07:00
parent fe5e2a247a
commit d32fd9e697
8 changed files with 115 additions and 5 deletions

View File

@@ -42,7 +42,10 @@ export const UPDATE_INVENTORY_LINES = gql`
export const QUERY_OUTSTANDING_INVENTORY = gql`
query QUERY_OUTSTANDING_INVENTORY {
inventory(where: { consumedbybillid: { _is_null: true } }) {
inventory(
where: { consumedbybillid: { _is_null: true } }
order_by: { line_desc: asc }
) {
id
actual_cost
actual_price