IO-1914 Add manual inventory and edit.

This commit is contained in:
Patrick Fic
2022-06-08 17:45:58 -07:00
parent 82db7a1f14
commit 4844c42425
24 changed files with 738 additions and 36 deletions

View File

@@ -2166,11 +2166,14 @@
- actual_cost
- actual_price
- billlineid
- comment
- consumedbybillid
- created_at
- id
- joblineid
- line_desc
- manualinvoicenumber
- manualvendor
- quantity
- shopid
- updated_at
@@ -2182,11 +2185,14 @@
- actual_cost
- actual_price
- billlineid
- comment
- consumedbybillid
- created_at
- id
- joblineid
- line_desc
- manualinvoicenumber
- manualvendor
- quantity
- shopid
- updated_at
@@ -2207,11 +2213,14 @@
- actual_cost
- actual_price
- billlineid
- comment
- consumedbybillid
- created_at
- id
- joblineid
- line_desc
- manualinvoicenumber
- manualvendor
- quantity
- shopid
- updated_at
@@ -2225,6 +2234,18 @@
- active:
_eq: true
check: null
delete_permissions:
- role: user
permission:
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- table:
schema: public
name: ioevents

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "manualinvoicenumber" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "manualinvoicenumber" text
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "comment" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "comment" text
null;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."inventory" add column "manualvendor" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."inventory" add column "manualvendor" text
null;

View File

@@ -0,0 +1 @@
ALTER TABLE "public"."inventory" ALTER COLUMN "quantity" drop default;

View File

@@ -0,0 +1 @@
alter table "public"."inventory" alter column "quantity" set default '1';