Add additional columns for job lines.
This commit is contained in:
@@ -343,7 +343,7 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
|
||||
|
||||
"MOD_LBR_TY",
|
||||
// "DB_HRS",
|
||||
// "MOD_LB_HRS",
|
||||
"MOD_LB_HRS",
|
||||
// "LBR_INC",
|
||||
// "LBR_OP",
|
||||
// "LBR_HRS_J",
|
||||
@@ -352,8 +352,8 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
|
||||
// "PAINT_STG",
|
||||
// "PAINT_TONE",
|
||||
// "LBR_TAX",
|
||||
// "LBR_AMT",
|
||||
// "MISC_AMT",
|
||||
"LBR_AMT",
|
||||
"MISC_AMT",
|
||||
// "MISC_SUBLT",
|
||||
// "MISC_TAX",
|
||||
// "BETT_TYPE",
|
||||
@@ -394,7 +394,6 @@ async function DecodeLinFile(extensionlessFilePath, close_date) {
|
||||
|
||||
//Moved from V1 function as they may be needed later.
|
||||
delete jobline.prt_dsmk_m; //Delete price markup for wheel repair
|
||||
delete jobline.mod_lbr_ty;
|
||||
delete jobline.prt_dsmk_p;
|
||||
delete jobline.glass_flag;
|
||||
delete jobline.price_j;
|
||||
|
||||
@@ -23,9 +23,13 @@ insert_permissions:
|
||||
- id
|
||||
- ignore
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- misc_amt
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- oem_partno
|
||||
- part_qty
|
||||
- part_type
|
||||
@@ -72,9 +76,13 @@ update_permissions:
|
||||
- id
|
||||
- ignore
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- line_desc
|
||||
- line_ind
|
||||
- line_no
|
||||
- misc_amt
|
||||
- mod_lb_hrs
|
||||
- mod_lbr_ty
|
||||
- oem_partno
|
||||
- part_qty
|
||||
- part_type
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "mod_lbr_ty" text
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "mod_lbr_ty" text
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "mod_lb_hrs" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "mod_lb_hrs" numeric
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "misc_amt" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "misc_amt" numeric
|
||||
null;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "lbr_amt" numeric
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "lbr_amt" numeric
|
||||
null;
|
||||
Reference in New Issue
Block a user