From 835b90bc4b60b8fd73a82b9d51bf03f005088728 Mon Sep 17 00:00:00 2001 From: swtmply Date: Fri, 21 Jul 2023 04:25:53 +0800 Subject: [PATCH] IO-2327 job importing test cases --- client/cypress/downloads/jobs/job-1.json | 1051 ++++++++ client/cypress/downloads/jobs/job-2.json | 1787 +++++++++++++ .../downloads/jobs/job-3-jobmetadata.json | 316 +++ .../downloads/jobs/job-3-supplement.json | 2201 +++++++++++++++++ .../jobs/job-3-supplment-jobmetadata.json | 316 +++ client/cypress/downloads/jobs/job-3.json | 2201 +++++++++++++++++ client/cypress/downloads/jobs/job-4.json | 1281 ++++++++++ client/{ => cypress/downloads/jobs}/job.json | 0 .../cypress/e2e/job-import/job-import.cy.js | 390 ++- .../job-totals.table.totals.component.jsx | 1 + .../jobs-available-table.component.jsx | 1 + .../jobs-find-modal.component.jsx | 1 + client/src/utils/GraphQLClient.js | 5 + server.js | 6 + server/graphql-client/queries.js | 6 + server/test/query.js | 24 + 16 files changed, 9536 insertions(+), 51 deletions(-) create mode 100644 client/cypress/downloads/jobs/job-1.json create mode 100644 client/cypress/downloads/jobs/job-2.json create mode 100644 client/cypress/downloads/jobs/job-3-jobmetadata.json create mode 100644 client/cypress/downloads/jobs/job-3-supplement.json create mode 100644 client/cypress/downloads/jobs/job-3-supplment-jobmetadata.json create mode 100644 client/cypress/downloads/jobs/job-3.json create mode 100644 client/cypress/downloads/jobs/job-4.json rename client/{ => cypress/downloads/jobs}/job.json (100%) create mode 100644 server/test/query.js diff --git a/client/cypress/downloads/jobs/job-1.json b/client/cypress/downloads/jobs/job-1.json new file mode 100644 index 000000000..db3c07bed --- /dev/null +++ b/client/cypress/downloads/jobs/job-1.json @@ -0,0 +1,1051 @@ +{ + "kmin": "24446", + "owner": { + "data": { + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "ownr_ea": "", + "ownr_fn": "SAMANTHA", + "ownr_ln": "CLEAVE", + "ownr_st": "BC", + "ownr_ph1": "7789388834", + "ownr_ph2": "", + "ownr_zip": "V4R 0E4", + "ownr_city": "MAPLE RIDGE", + "ownr_ctry": "", + "ownr_addr1": "13331 235A ST", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "" + } + }, + "v_vin": "1C6SRFLM5NN154494", + "agt_ea": "", + "agt_st": "", + "cat_no": "", + "clm_ea": "", + "clm_no": "CG53475-5-A", + "clm_st": "", + "est_ea": "patmrc@telus.net", + "est_st": "", + "ins_ea": "", + "ins_st": "", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "agt_fax": "", + "agt_ph1": "", + "agt_ph2": "", + "agt_zip": "", + "asgn_no": "CG53475-5-A", + "ciecaid": "7245217", + "clm_fax": "", + "clm_ph1": "", + "clm_ph2": "", + "clm_zip": "", + "cust_pr": "O", + "ded_amt": 300, + "est_ph1": "", + "est_zip": "", + "ins_fax": "", + "ins_ph1": "", + "ins_ph2": "", + "ins_zip": "", + "insd_ea": "", + "insd_fn": "SAMANTHA", + "insd_ln": "CLEAVE", + "insd_st": "BC", + "ownr_ea": "", + "ownr_fn": "SAMANTHA", + "ownr_ln": "CLEAVE", + "ownr_st": "BC", + "pay_amt": 0, + "v_color": "Granite Crystal Meta", + "vehicle": { + "data": { + "v_vin": "1C6SRFLM5NN154494", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "v_cond": "L8", + "v_tone": "0", + "v_type": "TK", + "v_color": "Granite Crystal Meta", + "v_stage": "0", + "plate_no": "RV0942", + "plate_st": "BC", + "v_bstyle": "4 Door Crew Cab 145\"", + "v_engine": "24446", + "db_v_code": "912073", + "v_prod_dt": "22 1", + "trim_color": "", + "v_makecode": "126", + "v_mldgcode": "", + "v_model_yr": "22", + "v_trimcode": "", + "v_make_desc": "Ram", + "v_model_desc": "1500", + "v_paint_codes": { "paint_cd1": "", "paint_cd2": "", "paint_cd3": "" } + } + }, + "agt_city": "", + "agt_ctry": "", + "agt_faxx": "", + "agt_ph1x": "", + "agt_ph2x": "", + "clm_city": "", + "clm_ctry": "", + "clm_faxx": "", + "clm_ph1x": "", + "clm_ph2x": "", + "est_city": "", + "est_ctry": "", + "ins_city": "", + "ins_ctry": "", + "ins_faxx": "", + "ins_ph1x": "", + "ins_ph2x": "", + "insd_fax": "", + "insd_ph1": "7789388834", + "insd_ph2": "", + "insd_zip": "V4R 0E4", + "joblines": { + "data": [ + { + "db_hrs": 0.3, + "db_ref": "204116", + "lbr_op": "OP11", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 1, + "price_j": false, + "unq_seq": 6, + "bett_amt": 0, + "bett_tax": false, + "db_price": 383, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 6, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 383, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Exhaust Tailpipe Tip", + "paint_stg": 0, + "part_type": "PAN", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "68268213AA", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 2.4, + "db_ref": "202273", + "lbr_op": "OP5", + "lbr_amt": 204.38, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 2, + "price_j": false, + "unq_seq": 2, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 2, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Assy", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "OVERHAUL" + }, + { + "db_hrs": 2.4, + "db_ref": "203199", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 3, + "price_j": false, + "unq_seq": 1, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1390, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 943.01, + "alt_co_id": "09AP", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": true, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Step Type Bar", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "DG96-087-D0DSC", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "68404446AB", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0.6, + "db_ref": "201112", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 4, + "price_j": false, + "unq_seq": 5, + "bett_amt": 0, + "bett_tax": false, + "db_price": 93.5, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 5, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 61.01, + "alt_co_id": "09AP", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Step Pad", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "DG96-087P-0", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "68299104AE", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "201151", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 5, + "price_j": false, + "unq_seq": 7, + "bett_amt": 0, + "bett_tax": false, + "db_price": 14.55, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 7, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 14.55, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Rear Bumper Access Hole Cover", + "paint_stg": 0, + "part_type": "PAN", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "68299112AC", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0.2, + "db_ref": "201114", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 6, + "price_j": false, + "unq_seq": 4, + "bett_amt": 0, + "bett_tax": false, + "db_price": 34.45, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 4, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 22.01, + "alt_co_id": "09AP", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Rear Otr Bumper Step Pad", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "DG96-087P-1", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "68404388AB", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "936007", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 7, + "price_j": true, + "unq_seq": 3, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 3, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 20.55, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Shop Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 8, + "price_j": true, + "unq_seq": 8, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 8, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "* HIT AND RUN REVIEW *", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 9, + "price_j": false, + "unq_seq": 9, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 8, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "***ICBC TO VALIDATE HIT AND RUN CLAIM***", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 10, + "price_j": true, + "unq_seq": 10, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 10, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC POST REPAIR SCAN", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 11, + "price_j": true, + "unq_seq": 11, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 11, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 50, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "REPAIR PLANNING & DOCUMENTATION", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 13, + "price_j": true, + "unq_seq": 0, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 0, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 26.04, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ATS Amount", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + } + ] + }, + "loss_cat": "O", + "ownr_ph1": "7789388834", + "ownr_ph2": "", + "ownr_zip": "V4R 0E4", + "pay_date": null, + "pay_type": "", + "plate_no": "RV0942", + "plate_st": "BC", + "rate_la1": 92.49, + "rate_la2": 0, + "rate_la4": 0, + "rate_laa": 0, + "rate_lab": 85.16, + "rate_laf": 97.34, + "rate_lag": 85.16, + "rate_lam": 109.5, + "rate_lar": 85.16, + "rate_las": 85.16, + "rate_lau": 0, + "tlos_ind": false, + "agt_addr1": "", + "agt_addr2": "", + "agt_co_id": "", + "agt_co_nm": "", + "agt_ct_fn": "", + "agt_ct_ln": "", + "agt_ct_ph": "", + "asgn_date": "2023-07-10T00:00:00", + "asgn_type": "", + "cieca_stl": { + "data": [ + { + "t_amt": 305.48, + "t_hrs": 3, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAB" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAG" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAF" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA3" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA4" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA1" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA2" + }, + { + "t_amt": 320.75, + "t_hrs": 0, + "tax_amt": 21.38, + "ttl_amt": 342.13, + "ttl_hrs": 3, + "ttl_type": "LA", + "ttl_typecd": "LAT" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAE" + }, + { + "t_amt": 397.55, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAN" + }, + { + "t_amt": 1026.03, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAA" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAL" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAC" + }, + { + "t_amt": 1494.76, + "t_hrs": 0, + "tax_amt": 99.65, + "ttl_amt": 1594.41, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAT" + }, + { + "t_amt": 46.59, + "t_hrs": 0, + "tax_amt": 3.26, + "ttl_amt": 52.18, + "ttl_hrs": 0, + "ttl_type": "OTAC", + "ttl_typecd": "MAT" + }, + { + "t_amt": 1775.65, + "t_hrs": 0, + "tax_amt": 124.29, + "ttl_amt": 1988.72, + "ttl_hrs": 0, + "ttl_type": "TOT", + "ttl_typecd": "" + } + ] + }, + "cieca_ttl": { + "data": { + "g_tax": 124.29, + "gst_amt": 88.78, + "g_aa_amt": 0, + "prev_net": 0, + "supp_amt": 0, + "g_ded_amt": 300, + "g_rpd_amt": 0, + "g_ttl_amt": 1988.72, + "g_upd_amt": 0, + "n_ttl_amt": 1688.72, + "g_bett_amt": 0, + "g_cust_amt": 300, + "g_ttl_disc": 0 + } + }, + "clm_addr1": "", + "clm_addr2": "", + "clm_ct_fn": "", + "clm_ct_ln": "", + "clm_ct_ph": "", + "clm_title": "", + "clm_total": 1988.72, + "est_addr1": "", + "est_addr2": "", + "est_co_nm": "", + "est_ct_fn": "Mehdi", + "est_ct_ln": "Baghdadi", + "ins_addr1": "", + "ins_addr2": "", + "ins_co_id": "", + "ins_co_nm": "Insurance Corporation of British Co", + "ins_ct_fn": "", + "ins_ct_ln": "", + "ins_ct_ph": "", + "ins_title": "", + "insd_city": "MAPLE RIDGE", + "insd_ctry": "", + "insd_faxx": "", + "insd_ph1x": "", + "insd_ph2x": "", + "loss_date": "2023-05-17T00:00:00", + "loss_desc": "Other", + "loss_type": "O", + "materials": { + "mapa": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" }, + "mash": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" } + }, + "ownr_city": "MAPLE RIDGE", + "ownr_ctry": "", + "pay_chknm": "0", + "payee_nms": "", + "policy_no": "8A.641", + "rate_ma2s": 0, + "rate_ma2t": 0, + "rate_ma3s": 0, + "rate_macs": 0, + "rate_mahw": 0, + "rate_mapa": 55.38, + "rate_mash": 6.85, + "theft_ind": false, + "adj_g_disc": 0, + "adj_strdis": 0, + "adj_towdis": 0, + "agt_ct_phx": "", + "agt_lic_no": "", + "clm_ct_phx": "", + "clm_ofc_id": "", + "clm_ofc_nm": "", + "ded_status": "Y", + "ins_ct_phx": "", + "insd_addr1": "13331 235A ST", + "insd_addr2": "", + "insd_co_nm": "", + "insd_title": "", + "ownr_addr1": "13331 235A ST", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "", + "tax_lbr_rt": 0.07, + "tax_predis": 0, + "tax_prethr": 0.07, + "tax_pstthr": 0, + "tax_str_rt": 0.07, + "tax_sub_rt": 0.07, + "tax_thramt": 0, + "tax_tow_rt": 0.07, + "v_model_yr": "22", + "v_make_desc": "Ram", + "v_model_desc": "1500", + "tax_levies_rt": 0.07, + "area_of_damage": { "impact1": "05", "impact2": "" }, + "date_estimated": "2023-06-05T00:00:00", + "labor_rate_desc": "EST", + "parts_tax_rates": { + "PAA": { + "prt_type": "PAA", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAC": { + "prt_type": "PAC", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAL": { + "prt_type": "PAL", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAM": { + "prt_type": "PAM", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAN": { + "prt_type": "PAN", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAR": { + "prt_type": "PAR", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAS": { + "prt_type": "PAS", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + } + }, + "tax_shop_mat_rt": 0.07, + "federal_tax_rate": 0.05, + "tax_paint_mat_rt": 0.07, + "depreciation_taxes": 0 +} diff --git a/client/cypress/downloads/jobs/job-2.json b/client/cypress/downloads/jobs/job-2.json new file mode 100644 index 000000000..0c0051d6f --- /dev/null +++ b/client/cypress/downloads/jobs/job-2.json @@ -0,0 +1,1787 @@ +{ + "kmin": "56992", + "owner": { + "data": { + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "ownr_ea": "", + "ownr_fn": "MATTHEW", + "ownr_ln": "COUGHLIN", + "ownr_st": "BC", + "ownr_ph1": "2368696176", + "ownr_ph2": "", + "ownr_zip": "V3Y 0C8", + "ownr_city": "PITT MEADOWS", + "ownr_ctry": "", + "ownr_addr1": "306-12069 HARRIS RD", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "" + } + }, + "v_vin": "3TYGZ5AN0MT029792", + "agt_ea": "", + "agt_st": "", + "cat_no": "", + "clm_ea": "", + "clm_no": "CF97730-1-A", + "clm_st": "", + "est_ea": "PATMRC@TELUS.NET", + "est_st": "", + "ins_ea": "", + "ins_st": "", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "agt_fax": "", + "agt_ph1": "", + "agt_ph2": "", + "agt_zip": "", + "asgn_no": "CF97730-1-A", + "ciecaid": "6791691", + "clm_fax": "", + "clm_ph1": "", + "clm_ph2": "", + "clm_zip": "", + "cust_pr": "O", + "ded_amt": 0, + "est_ph1": "", + "est_zip": "", + "ins_fax": "", + "ins_ph1": "", + "ins_ph2": "", + "ins_zip": "", + "insd_ea": "", + "insd_fn": "MATTHEW", + "insd_ln": "COUGHLIN", + "insd_st": "BC", + "ownr_ea": "", + "ownr_fn": "MATTHEW", + "ownr_ln": "COUGHLIN", + "ownr_st": "BC", + "pay_amt": 0, + "v_color": "Magnetic Grey Metall", + "vehicle": { + "data": { + "v_vin": "3TYGZ5AN0MT029792", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "v_cond": "GO", + "v_tone": "0", + "v_type": "TK", + "v_color": "Magnetic Grey Metall", + "v_stage": "0", + "plate_no": "RF4445", + "plate_st": "BC", + "v_bstyle": "4 Door Crew Cab 127\"", + "v_engine": "56992", + "db_v_code": "911810", + "v_prod_dt": "21 3", + "trim_color": "", + "v_makecode": "45", + "v_mldgcode": "", + "v_model_yr": "21", + "v_trimcode": "", + "v_make_desc": "Toyota", + "v_model_desc": "Tacoma", + "v_paint_codes": { "paint_cd1": "", "paint_cd2": "", "paint_cd3": "" } + } + }, + "agt_city": "", + "agt_ctry": "", + "agt_faxx": "", + "agt_ph1x": "", + "agt_ph2x": "", + "clm_city": "", + "clm_ctry": "", + "clm_faxx": "", + "clm_ph1x": "", + "clm_ph2x": "", + "est_city": "", + "est_ctry": "", + "ins_city": "", + "ins_ctry": "", + "ins_faxx": "", + "ins_ph1x": "", + "ins_ph2x": "", + "insd_fax": "", + "insd_ph1": "2368696176", + "insd_ph2": "", + "insd_zip": "V3Y 0C8", + "joblines": { + "data": [ + { + "db_hrs": 1.4, + "db_ref": "100001", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 1, + "price_j": false, + "unq_seq": 6, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 6, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Bumper Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 2.6, + "db_ref": "100002", + "lbr_op": "OP5", + "lbr_amt": 214.97, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 2, + "price_j": false, + "unq_seq": 22, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 22, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Bumper Cover Assy", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.6, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "OVERHAUL" + }, + { + "db_hrs": 2.6, + "db_ref": "100846", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 3, + "price_j": false, + "unq_seq": 1, + "bett_amt": 0, + "bett_tax": false, + "db_price": 456.45, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 324, + "alt_co_id": "01KW", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": true, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Bumper Cover", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "TCM16.002", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "52119-04907", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 4, + "price_j": false, + "unq_seq": 21, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "TEXTURED PART, CANNOT REPAIR PAINT FINI", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 3, + "db_ref": "100004", + "lbr_op": "OP6", + "lbr_amt": 248.04, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 5, + "price_j": false, + "unq_seq": 2, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Bumper Cover", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 3, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0.3, + "db_ref": "100003", + "lbr_op": "OP11", + "lbr_amt": 24.8, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 6, + "price_j": false, + "unq_seq": 20, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Add w/Fog Lamps", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0.2, + "db_ref": "100891", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 7, + "price_j": false, + "unq_seq": 7, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 7, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Bumper License Plate Bracket", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "100893", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 8, + "price_j": false, + "unq_seq": 8, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 8, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Frt Lwr Bumper Spoiler", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "100895", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 9, + "price_j": false, + "unq_seq": 10, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 10, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Frt Bumper Fog Lamp Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "100896", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 10, + "price_j": false, + "unq_seq": 11, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 11, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Bumper Fog Lamp Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.3, + "db_ref": "100647", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 11, + "price_j": false, + "unq_seq": 12, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 12, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Frt Fog Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.3, + "db_ref": "100648", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 12, + "price_j": false, + "unq_seq": 13, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 13, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Fog Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "102324", + "lbr_op": "OP11", + "lbr_amt": 33.07, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 13, + "price_j": false, + "unq_seq": 17, + "bett_amt": 0, + "bett_tax": false, + "db_price": 379.7, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 17, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 265.78, + "alt_co_id": "08CC", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": true, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Fender Wheel Opening Mldg", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "TO1290109C", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "75872-04060", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 14, + "price_j": false, + "unq_seq": 19, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 17, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "TEXTURED PART, CANNOT REPAIR PAINT FINI", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 1.2, + "db_ref": "100652", + "lbr_op": "OP6", + "lbr_amt": 99.22, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 15, + "price_j": false, + "unq_seq": 18, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 17, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Fender Wheel Opening Flare", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1.2, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0, + "db_ref": "102326", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 16, + "price_j": false, + "unq_seq": 23, + "bett_amt": 0, + "bett_tax": false, + "db_price": 7.03, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 23, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 4, + "tax_part": true, + "act_price": 6.5, + "alt_co_id": "01MA", + "alt_partm": "OE DISCOUNT", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Fender Clip", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "75395-35070", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "75395-35070", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "102328", + "lbr_op": "OP11", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 17, + "price_j": false, + "unq_seq": 24, + "bett_amt": 0, + "bett_tax": false, + "db_price": 2.54, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 24, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 6, + "tax_part": true, + "act_price": 2.25, + "alt_co_id": "01MA", + "alt_partm": "OE DISCOUNT", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Fender Clip", + "paint_stg": 0, + "part_type": "PAA", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": true, + "alt_partno": "75396-35020", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "75396-35020", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "936008", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 18, + "price_j": true, + "unq_seq": 4, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 4, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 359.97, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Paint/Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "936007", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 19, + "price_j": true, + "unq_seq": 5, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 5, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 27.4, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Shop Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "933002", + "lbr_op": "OP14", + "lbr_amt": 115.75, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 20, + "price_j": false, + "unq_seq": 3, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 3, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Clear Coat", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1.4, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "933003", + "lbr_op": "OP14", + "lbr_amt": 24.8, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 21, + "price_j": false, + "unq_seq": 14, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 14, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Tint Color", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "933038", + "lbr_op": "OP14", + "lbr_amt": 49.61, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 22, + "price_j": false, + "unq_seq": 27, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 27, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Raw Substrate Prep", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.6, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 23, + "price_j": false, + "unq_seq": 28, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 27, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "bumper and flare", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 24.8, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 24, + "price_j": true, + "unq_seq": 15, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 15, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC POST REPAIR SCAN", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 25, + "price_j": true, + "unq_seq": 16, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 50, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "REPAIR PLANNING & DOCUMENTATION", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 33.07, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 26, + "price_j": true, + "unq_seq": 25, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 25, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "CLEAN AND RETAPE ADHESIVE MOULDING/NAMEP", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 27, + "price_j": false, + "unq_seq": 26, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 25, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ADHESIVE TAPE NEW FENDER MLDG", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 29, + "price_j": true, + "unq_seq": 0, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 0, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 91.14, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ATS Amount", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + } + ] + }, + "loss_cat": "C", + "ownr_ph1": "2368696176", + "ownr_ph2": "", + "ownr_zip": "V3Y 0C8", + "pay_date": null, + "pay_type": "", + "plate_no": "RF4445", + "plate_st": "BC", + "rate_la1": 90.01, + "rate_la2": 0, + "rate_la4": 0, + "rate_laa": 0, + "rate_lab": 82.68, + "rate_laf": 94.5, + "rate_lag": 82.68, + "rate_lam": 106.31, + "rate_lar": 82.68, + "rate_las": 82.68, + "rate_lau": 0, + "tlos_ind": false, + "agt_addr1": "", + "agt_addr2": "", + "agt_co_id": "", + "agt_co_nm": "", + "agt_ct_fn": "", + "agt_ct_ln": "", + "agt_ct_ph": "", + "asgn_date": "2023-07-11T00:00:00", + "asgn_type": "", + "cieca_stl": { + "data": [ + { + "t_amt": 380.72, + "t_hrs": 4, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAB" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAS" + }, + { + "t_amt": 537.42, + "t_hrs": 6.5, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAG" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAF" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA3" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA4" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA1" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA2" + }, + { + "t_amt": 964.05, + "t_hrs": 0, + "tax_amt": 64.27, + "ttl_amt": 1028.32, + "ttl_hrs": 10.5, + "ttl_type": "LA", + "ttl_typecd": "LAT" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAE" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAN" + }, + { + "t_amt": 629.28, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAA" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAL" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAC" + }, + { + "t_amt": 660.74, + "t_hrs": 0, + "tax_amt": 44.05, + "ttl_amt": 704.79, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAT" + }, + { + "t_amt": 478.51, + "t_hrs": 0, + "tax_amt": 33.5, + "ttl_amt": 535.94, + "ttl_hrs": 0, + "ttl_type": "OTAC", + "ttl_typecd": "MAT" + }, + { + "t_amt": 2025.93, + "t_hrs": 0, + "tax_amt": 141.82, + "ttl_amt": 2269.05, + "ttl_hrs": 0, + "ttl_type": "TOT", + "ttl_typecd": "" + } + ] + }, + "cieca_ttl": { + "data": { + "g_tax": 141.82, + "gst_amt": 101.3, + "g_aa_amt": 0, + "prev_net": 0, + "supp_amt": 98.62, + "g_ded_amt": 0, + "g_rpd_amt": 0, + "g_ttl_amt": 2269.05, + "g_upd_amt": 0, + "n_ttl_amt": 2269.05, + "g_bett_amt": 0, + "g_cust_amt": 0, + "g_ttl_disc": 0 + } + }, + "clm_addr1": "", + "clm_addr2": "", + "clm_ct_fn": "", + "clm_ct_ln": "", + "clm_ct_ph": "", + "clm_title": "", + "clm_total": 2269.05, + "est_addr1": "", + "est_addr2": "", + "est_co_nm": "", + "est_ct_fn": "Patrick", + "est_ct_ln": "McClean", + "ins_addr1": "", + "ins_addr2": "", + "ins_co_id": "", + "ins_co_nm": "Insurance Corporation of British Co", + "ins_ct_fn": "", + "ins_ct_ln": "", + "ins_ct_ph": "", + "ins_title": "", + "insd_city": "PITT MEADOWS", + "insd_ctry": "", + "insd_faxx": "", + "insd_ph1x": "", + "insd_ph2x": "", + "loss_date": "2023-05-04T00:00:00", + "loss_desc": "Collision", + "loss_type": "C", + "materials": { + "mapa": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" }, + "mash": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" } + }, + "ownr_city": "PITT MEADOWS", + "ownr_ctry": "", + "pay_chknm": "0", + "payee_nms": "", + "policy_no": "7F.DT5", + "rate_ma2s": 0, + "rate_ma2t": 0, + "rate_ma3s": 0, + "rate_macs": 0, + "rate_mahw": 0, + "rate_mapa": 55.38, + "rate_mash": 6.85, + "theft_ind": false, + "adj_g_disc": 0, + "adj_strdis": 0, + "adj_towdis": 0, + "agt_ct_phx": "", + "agt_lic_no": "", + "clm_ct_phx": "", + "clm_ofc_id": "", + "clm_ofc_nm": "", + "ded_status": "W", + "ins_ct_phx": "", + "insd_addr1": "306-12069 HARRIS RD", + "insd_addr2": "", + "insd_co_nm": "", + "insd_title": "", + "ownr_addr1": "306-12069 HARRIS RD", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "", + "tax_lbr_rt": 0.07, + "tax_predis": 0, + "tax_prethr": 0.07, + "tax_pstthr": 0, + "tax_str_rt": 0.07, + "tax_sub_rt": 0.07, + "tax_thramt": 0, + "tax_tow_rt": 0.07, + "v_model_yr": "21", + "v_make_desc": "Toyota", + "v_model_desc": "Tacoma", + "tax_levies_rt": 0.07, + "area_of_damage": { "impact1": "11", "impact2": "" }, + "date_estimated": "2023-05-08T00:00:00", + "labor_rate_desc": "EST", + "parts_tax_rates": { + "PAA": { + "prt_type": "PAA", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAC": { + "prt_type": "PAC", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAL": { + "prt_type": "PAL", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAM": { + "prt_type": "PAM", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAN": { + "prt_type": "PAN", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAR": { + "prt_type": "PAR", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAS": { + "prt_type": "PAS", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + } + }, + "tax_shop_mat_rt": 0.07, + "federal_tax_rate": 0.05, + "tax_paint_mat_rt": 0.07, + "depreciation_taxes": 0 +} diff --git a/client/cypress/downloads/jobs/job-3-jobmetadata.json b/client/cypress/downloads/jobs/job-3-jobmetadata.json new file mode 100644 index 000000000..5243b3ec3 --- /dev/null +++ b/client/cypress/downloads/jobs/job-3-jobmetadata.json @@ -0,0 +1,316 @@ +{ + "parts": { + "parts": { + "list": { + "PAE": { + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "PAN": { + "total": { + "amount": 26661, + "currency": "USD", + "precision": 2 + } + } + }, + "total": { + "amount": 26661, + "currency": "USD", + "precision": 2 + }, + "subtotal": { + "amount": 26661, + "currency": "USD", + "precision": 2 + }, + "prt_dsmk_total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "sublets": { + "total": { + "amount": 5000, + "currency": "USD", + "precision": 2 + }, + "subtotal": { + "amount": 5000, + "currency": "USD", + "precision": 2 + } + } + }, + "rates": { + "la1": { + "rate": 92.49, + "hours": 3.5, + "total": { + "amount": 32372, + "currency": "USD", + "precision": 2 + } + }, + "la2": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "la3": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "la4": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "laa": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lab": { + "rate": 85.16, + "hours": 29.7, + "total": { + "amount": 252925, + "currency": "USD", + "precision": 2 + } + }, + "lad": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lae": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "laf": { + "rate": 97.34, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lag": { + "rate": 85.16, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lam": { + "rate": 109.5, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lar": { + "rate": 85.16, + "hours": 8.500000000000002, + "total": { + "amount": 72386, + "currency": "USD", + "precision": 2 + } + }, + "las": { + "rate": 85.16, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lau": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "mapa": { + "rate": 55.38, + "hours": 8.500000000000002, + "total": { + "amount": 47073, + "currency": "USD", + "precision": 2 + } + }, + "mash": { + "rate": 6.85, + "hours": 33.199999999999996, + "total": { + "amount": 22742, + "currency": "USD", + "precision": 2 + } + }, + "subtotal": { + "amount": 427498, + "currency": "USD", + "precision": 2 + }, + "rates_subtotal": { + "amount": 357683, + "currency": "USD", + "precision": 2 + } + }, + "totals": { + "subtotal": { + "amount": 495355, + "currency": "USD", + "precision": 2 + }, + "local_tax": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "state_tax": { + "amount": 34675, + "currency": "USD", + "precision": 2 + }, + "custPayable": { + "total": { + "amount": 30000, + "currency": "USD", + "precision": 2 + }, + "dep_taxes": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "deductible": { + "amount": 30000, + "currency": "USD", + "precision": 2 + }, + "federal_tax": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "other_customer_amount": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "federal_tax": { + "amount": 24768, + "currency": "USD", + "precision": 2 + }, + "net_repairs": { + "amount": 524798, + "currency": "USD", + "precision": 2 + }, + "statePartsTax": { + "amount": 2216, + "currency": "USD", + "precision": 2 + }, + "total_repairs": { + "amount": 554798, + "currency": "USD", + "precision": 2 + } + }, + "additional": { + "pvrt": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "total": { + "amount": 36196, + "currency": "USD", + "precision": 2 + }, + "towing": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "storage": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "shipping": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "adjustments": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "additionalCosts": { + "amount": 36196, + "currency": "USD", + "precision": 2 + }, + "additionalCostItems": [ + { + "key": "ATS Amount", + "total": { + "amount": 36196, + "currency": "USD", + "precision": 2 + } + } + ] + } +} diff --git a/client/cypress/downloads/jobs/job-3-supplement.json b/client/cypress/downloads/jobs/job-3-supplement.json new file mode 100644 index 000000000..1f6033d3a --- /dev/null +++ b/client/cypress/downloads/jobs/job-3-supplement.json @@ -0,0 +1,2201 @@ +{ + "kmin": "45971", + "owner": { + "data": { + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "ownr_ph1": "6045621299", + "ownr_ph2": "6046912361", + "ownr_zip": "V3E 2R7", + "ownr_city": "COQUITLAM", + "ownr_ctry": "", + "ownr_addr1": "1428 PURCELL DR", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "" + } + }, + "v_vin": "1HGCR2F08GA800783", + "agt_ea": "", + "agt_st": "", + "cat_no": "", + "clm_ea": "", + "clm_no": "CF89678-6-A", + "clm_st": "", + "est_ea": "patmrc@telus.net", + "est_st": "", + "ins_ea": "", + "ins_st": "", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "agt_fax": "", + "agt_ph1": "", + "agt_ph2": "", + "agt_zip": "", + "asgn_no": "CF89678-6-A", + "ciecaid": "6668750", + "clm_fax": "", + "clm_ph1": "", + "clm_ph2": "", + "clm_zip": "", + "cust_pr": "O", + "ded_amt": 300, + "est_ph1": "", + "est_zip": "", + "ins_fax": "", + "ins_ph1": "", + "ins_ph2": "", + "ins_zip": "", + "insd_ea": "", + "insd_fn": "NATALIA", + "insd_ln": "UN", + "insd_st": "BC", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "pay_amt": 0, + "v_color": "White Orchid Pearl", + "vehicle": { + "data": { + "v_vin": "1HGCR2F08GA800783", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "v_cond": "L8", + "v_tone": "0", + "v_type": "PC", + "v_color": "White Orchid Pearl", + "v_stage": "0", + "plate_no": "FBSH2H", + "plate_st": "BC", + "v_bstyle": "4 Door Sedan", + "v_engine": "45971", + "db_v_code": "911481", + "v_prod_dt": "15 9", + "trim_color": "", + "v_makecode": "18", + "v_mldgcode": "", + "v_model_yr": "16", + "v_trimcode": "", + "v_make_desc": "Honda", + "v_model_desc": "Accord", + "v_paint_codes": { "paint_cd1": "", "paint_cd2": "", "paint_cd3": "" } + } + }, + "agt_city": "", + "agt_ctry": "", + "agt_faxx": "", + "agt_ph1x": "", + "agt_ph2x": "", + "clm_city": "", + "clm_ctry": "", + "clm_faxx": "", + "clm_ph1x": "", + "clm_ph2x": "", + "est_city": "", + "est_ctry": "", + "ins_city": "", + "ins_ctry": "", + "ins_faxx": "", + "ins_ph1x": "", + "ins_ph2x": "", + "insd_fax": "", + "insd_ph1": "6045621299", + "insd_ph2": "6046912361", + "insd_zip": "V3E 2R7", + "joblines": { + "data": [ + { + "db_hrs": 0.4, + "db_ref": "103213", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 1, + "price_j": false, + "unq_seq": 10, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 10, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rocker Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 1.2, + "db_ref": "100972", + "lbr_op": "OP15", + "lbr_amt": 85.16, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 2, + "price_j": false, + "unq_seq": 23, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 23, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "BLEND" + }, + { + "db_hrs": 0.3, + "db_ref": "100908", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 3, + "price_j": false, + "unq_seq": 28, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 28, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Rear View Mirror", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "100871", + "lbr_op": "OP2", + "lbr_amt": 17.03, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 4, + "price_j": false, + "unq_seq": 25, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 25, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Otr Door Belt Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.2, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "103044", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 5, + "price_j": false, + "unq_seq": 22, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 22, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Adhesive Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "103046", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 6, + "price_j": false, + "unq_seq": 21, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 21, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Adhesive Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "103113", + "lbr_op": "OP11", + "lbr_amt": 42.58, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 7, + "price_j": false, + "unq_seq": 34, + "bett_amt": 0, + "bett_tax": false, + "db_price": 266.61, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 34, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 366.61, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Adhesive Body Side Mldg Set", + "paint_stg": 0, + "part_type": "PAN", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.5, + "mod_lbr_ty": "LAB", + "oem_partno": "08P05-T2A-131", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 8, + "price_j": false, + "unq_seq": 35, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 34, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR & LT RR DR, SOFT PLASTIC, DOUBL", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0.4, + "db_ref": "102514", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 9, + "price_j": false, + "unq_seq": 30, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 30, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Trim Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.7, + "db_ref": "100061", + "lbr_op": "OP2", + "lbr_amt": 59.61, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 10, + "price_j": false, + "unq_seq": 24, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 24, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Otr Door Handle", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.7, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "102149", + "lbr_op": "OP9", + "lbr_amt": 681.28, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 11, + "price_j": false, + "unq_seq": 16, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1035.63, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "L Rear Door Shell (Steel/Hss)", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 8, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 12, + "price_j": false, + "unq_seq": 38, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT RR DR CREASED", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 2.2, + "db_ref": "101526", + "lbr_op": "OP6", + "lbr_amt": 187.35, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 13, + "price_j": false, + "unq_seq": 17, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.2, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0.6, + "db_ref": "102157", + "lbr_op": "OP2", + "lbr_amt": 51.1, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 14, + "price_j": false, + "unq_seq": 18, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 18, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Otr Door Belt Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.6, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "102159", + "lbr_op": "OP2", + "lbr_amt": 17.03, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 15, + "price_j": false, + "unq_seq": 33, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 33, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Upr Door Sash Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.2, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "102180", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 16, + "price_j": false, + "unq_seq": 19, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 19, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Trim Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.3, + "db_ref": "102218", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 17, + "price_j": false, + "unq_seq": 20, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 20, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Otr Door Handle", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "101929", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 18, + "price_j": false, + "unq_seq": 3, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 3, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Roof Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "102598", + "lbr_op": "OP9", + "lbr_amt": 1277.4, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 19, + "price_j": false, + "unq_seq": 1, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1435.52, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "L Quarter Outer Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 15, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 20, + "price_j": false, + "unq_seq": 37, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "MULTIPLE BODY LINES, INCS DOG LEG, WHEEL", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 2.1, + "db_ref": "100687", + "lbr_op": "OP6", + "lbr_amt": 144.77, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 21, + "price_j": false, + "unq_seq": 2, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Quarter Panel Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1.7, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0.3, + "db_ref": "103609", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 22, + "price_j": false, + "unq_seq": 8, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 8, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Combination Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.8, + "db_ref": "103216", + "lbr_op": "OP2", + "lbr_amt": 68.13, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 23, + "price_j": false, + "unq_seq": 7, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 7, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.8, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "936008", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 24, + "price_j": true, + "unq_seq": 5, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 5, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 470.73, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Paint/Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "936007", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 25, + "price_j": true, + "unq_seq": 6, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 6, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 227.42, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Shop Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "933014", + "lbr_op": "OP14", + "lbr_amt": 246.96, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 26, + "price_j": false, + "unq_seq": 4, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 4, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Three Stage", + "paint_stg": 3, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.9, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "933003", + "lbr_op": "OP14", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 27, + "price_j": false, + "unq_seq": 11, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 11, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Tint Color", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 28, + "price_j": true, + "unq_seq": 12, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 12, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC POST REPAIR SCAN", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 323.72, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 29, + "price_j": true, + "unq_seq": 13, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 13, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "FEATHER, PRIME & BLOCK", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 3.5, + "mod_lbr_ty": "LA1", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 30, + "price_j": false, + "unq_seq": 36, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 13, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT 1/4 PANEL 15.0, LT RR DR 8.0 = 23.0x0", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 31, + "price_j": true, + "unq_seq": 14, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 14, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 50, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "REPAIR PLANNING & DOCUMENTATION", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP6", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 32, + "price_j": true, + "unq_seq": 15, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 15, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC EXTENDED CLEAR COAT LT ROOF RAIL", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP2", + "lbr_amt": 42.58, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 33, + "price_j": true, + "unq_seq": 39, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 39, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "RAIN VISOR", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.5, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 34, + "price_j": false, + "unq_seq": 40, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 39, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR, LT RR DR RAIN VISOR R&I", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 35, + "price_j": true, + "unq_seq": 41, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 41, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "CLEAN AND RETAPE ADHESIVE RAIN VISORS", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 36, + "price_j": false, + "unq_seq": 42, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 41, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR & LT RR DR RAIN VISORS", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 38, + "price_j": true, + "unq_seq": 0, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 0, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 361.96, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ATS Amount", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + } + ] + }, + "loss_cat": "C", + "ownr_ph1": "6045621299", + "ownr_ph2": "6046912361", + "ownr_zip": "V3E 2R7", + "pay_date": null, + "pay_type": "", + "plate_no": "FBSH2H", + "plate_st": "BC", + "rate_la1": 92.49, + "rate_la2": 0, + "rate_la4": 0, + "rate_laa": 0, + "rate_lab": 85.16, + "rate_laf": 97.34, + "rate_lag": 85.16, + "rate_lam": 109.5, + "rate_lar": 85.16, + "rate_las": 85.16, + "rate_lau": 0, + "tlos_ind": false, + "agt_addr1": "", + "agt_addr2": "", + "agt_co_id": "", + "agt_co_nm": "", + "agt_ct_fn": "", + "agt_ct_ln": "", + "agt_ct_ph": "", + "asgn_date": "2023-07-11T00:00:00", + "asgn_type": "", + "cieca_stl": { + "data": [ + { + "t_amt": 2579.25, + "t_hrs": 29.7, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAB" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAS" + }, + { + "t_amt": 723.86, + "t_hrs": 8.5, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAG" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAF" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA3" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA4" + }, + { + "t_amt": 323.72, + "t_hrs": 3.5, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA1" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA2" + }, + { + "t_amt": 3808.17, + "t_hrs": 0, + "tax_amt": 253.88, + "ttl_amt": 4062.05, + "ttl_hrs": 41.7, + "ttl_type": "LA", + "ttl_typecd": "LAT" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAE" + }, + { + "t_amt": 266.61, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAN" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAA" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAL" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAC" + }, + { + "t_amt": 279.94, + "t_hrs": 0, + "tax_amt": 18.66, + "ttl_amt": 298.6, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAT" + }, + { + "t_amt": 1060.11, + "t_hrs": 0, + "tax_amt": 74.21, + "ttl_amt": 1187.33, + "ttl_hrs": 0, + "ttl_type": "OTAC", + "ttl_typecd": "MAT" + }, + { + "t_amt": 4953.55, + "t_hrs": 0, + "tax_amt": 346.75, + "ttl_amt": 5547.98, + "ttl_hrs": 0, + "ttl_type": "TOT", + "ttl_typecd": "" + } + ] + }, + "cieca_ttl": { + "data": { + "g_tax": 346.75, + "gst_amt": 247.68, + "g_aa_amt": 0, + "prev_net": 0, + "supp_amt": 0, + "g_ded_amt": 300, + "g_rpd_amt": 0, + "g_ttl_amt": 5547.98, + "g_upd_amt": 0, + "n_ttl_amt": 5247.98, + "g_bett_amt": 0, + "g_cust_amt": 300, + "g_ttl_disc": 0 + } + }, + "clm_addr1": "", + "clm_addr2": "", + "clm_ct_fn": "", + "clm_ct_ln": "", + "clm_ct_ph": "", + "clm_title": "", + "clm_total": 5547.98, + "est_addr1": "", + "est_addr2": "", + "est_co_nm": "", + "est_ct_fn": "Mehdi", + "est_ct_ln": "Baghdadi", + "ins_addr1": "", + "ins_addr2": "", + "ins_co_id": "", + "ins_co_nm": "Insurance Corporation of British Co", + "ins_ct_fn": "", + "ins_ct_ln": "", + "ins_ct_ph": "", + "ins_title": "", + "insd_city": "COQUITLAM", + "insd_ctry": "", + "insd_faxx": "", + "insd_ph1x": "", + "insd_ph2x": "", + "loss_date": "2023-04-28T00:00:00", + "loss_desc": "Collision", + "loss_type": "C", + "materials": { + "mapa": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" }, + "mash": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" } + }, + "ownr_city": "COQUITLAM", + "ownr_ctry": "", + "pay_chknm": "0", + "payee_nms": "", + "policy_no": "30.Y2M", + "rate_ma2s": 0, + "rate_ma2t": 0, + "rate_ma3s": 0, + "rate_macs": 0, + "rate_mahw": 0, + "rate_mapa": 55.38, + "rate_mash": 6.85, + "theft_ind": false, + "adj_g_disc": 0, + "adj_strdis": 0, + "adj_towdis": 0, + "agt_ct_phx": "", + "agt_lic_no": "", + "clm_ct_phx": "", + "clm_ofc_id": "", + "clm_ofc_nm": "", + "ded_status": "Y", + "ins_ct_phx": "", + "insd_addr1": "1428 PURCELL DR", + "insd_addr2": "", + "insd_co_nm": "", + "insd_title": "", + "ownr_addr1": "1428 PURCELL DR", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "", + "tax_lbr_rt": 0.07, + "tax_predis": 0, + "tax_prethr": 0.07, + "tax_pstthr": 0, + "tax_str_rt": 0.07, + "tax_sub_rt": 0.07, + "tax_thramt": 0, + "tax_tow_rt": 0.07, + "v_model_yr": "16", + "v_make_desc": "Honda", + "v_model_desc": "Accord", + "tax_levies_rt": 0.07, + "area_of_damage": { "impact1": "07", "impact2": "" }, + "date_estimated": "2023-05-01T00:00:00", + "labor_rate_desc": "EST", + "parts_tax_rates": { + "PAA": { + "prt_type": "PAA", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAC": { + "prt_type": "PAC", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAL": { + "prt_type": "PAL", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAM": { + "prt_type": "PAM", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAN": { + "prt_type": "PAN", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAR": { + "prt_type": "PAR", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAS": { + "prt_type": "PAS", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + } + }, + "tax_shop_mat_rt": 0.07, + "federal_tax_rate": 0.05, + "tax_paint_mat_rt": 0.07, + "depreciation_taxes": 0 +} diff --git a/client/cypress/downloads/jobs/job-3-supplment-jobmetadata.json b/client/cypress/downloads/jobs/job-3-supplment-jobmetadata.json new file mode 100644 index 000000000..58f3a6108 --- /dev/null +++ b/client/cypress/downloads/jobs/job-3-supplment-jobmetadata.json @@ -0,0 +1,316 @@ +{ + "parts": { + "parts": { + "list": { + "PAE": { + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "PAN": { + "total": { + "amount": 36661, + "currency": "USD", + "precision": 2 + } + } + }, + "total": { + "amount": 36661, + "currency": "USD", + "precision": 2 + }, + "subtotal": { + "amount": 36661, + "currency": "USD", + "precision": 2 + }, + "prt_dsmk_total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "sublets": { + "total": { + "amount": 5000, + "currency": "USD", + "precision": 2 + }, + "subtotal": { + "amount": 5000, + "currency": "USD", + "precision": 2 + } + } + }, + "rates": { + "la1": { + "rate": 92.49, + "hours": 3.5, + "total": { + "amount": 32372, + "currency": "USD", + "precision": 2 + } + }, + "la2": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "la3": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "la4": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "laa": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lab": { + "rate": 85.16, + "hours": 29.7, + "total": { + "amount": 252925, + "currency": "USD", + "precision": 2 + } + }, + "lad": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lae": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "laf": { + "rate": 97.34, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lag": { + "rate": 85.16, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lam": { + "rate": 109.5, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lar": { + "rate": 85.16, + "hours": 8.500000000000002, + "total": { + "amount": 72386, + "currency": "USD", + "precision": 2 + } + }, + "las": { + "rate": 85.16, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "lau": { + "rate": 0, + "hours": 0, + "total": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "mapa": { + "rate": 55.38, + "hours": 8.500000000000002, + "total": { + "amount": 47073, + "currency": "USD", + "precision": 2 + } + }, + "mash": { + "rate": 6.85, + "hours": 33.199999999999996, + "total": { + "amount": 22742, + "currency": "USD", + "precision": 2 + } + }, + "subtotal": { + "amount": 427498, + "currency": "USD", + "precision": 2 + }, + "rates_subtotal": { + "amount": 357683, + "currency": "USD", + "precision": 2 + } + }, + "totals": { + "subtotal": { + "amount": 505355, + "currency": "USD", + "precision": 2 + }, + "local_tax": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "state_tax": { + "amount": 35375, + "currency": "USD", + "precision": 2 + }, + "custPayable": { + "total": { + "amount": 30000, + "currency": "USD", + "precision": 2 + }, + "dep_taxes": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "deductible": { + "amount": 30000, + "currency": "USD", + "precision": 2 + }, + "federal_tax": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "other_customer_amount": { + "amount": 0, + "currency": "USD", + "precision": 2 + } + }, + "federal_tax": { + "amount": 25268, + "currency": "USD", + "precision": 2 + }, + "net_repairs": { + "amount": 535998, + "currency": "USD", + "precision": 2 + }, + "statePartsTax": { + "amount": 2916, + "currency": "USD", + "precision": 2 + }, + "total_repairs": { + "amount": 565998, + "currency": "USD", + "precision": 2 + } + }, + "additional": { + "pvrt": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "total": { + "amount": 36196, + "currency": "USD", + "precision": 2 + }, + "towing": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "storage": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "shipping": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "adjustments": { + "amount": 0, + "currency": "USD", + "precision": 2 + }, + "additionalCosts": { + "amount": 36196, + "currency": "USD", + "precision": 2 + }, + "additionalCostItems": [ + { + "key": "ATS Amount", + "total": { + "amount": 36196, + "currency": "USD", + "precision": 2 + } + } + ] + } +} diff --git a/client/cypress/downloads/jobs/job-3.json b/client/cypress/downloads/jobs/job-3.json new file mode 100644 index 000000000..1df64faa6 --- /dev/null +++ b/client/cypress/downloads/jobs/job-3.json @@ -0,0 +1,2201 @@ +{ + "kmin": "45971", + "owner": { + "data": { + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "ownr_ph1": "6045621299", + "ownr_ph2": "6046912361", + "ownr_zip": "V3E 2R7", + "ownr_city": "COQUITLAM", + "ownr_ctry": "", + "ownr_addr1": "1428 PURCELL DR", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "" + } + }, + "v_vin": "1HGCR2F08GA800783", + "agt_ea": "", + "agt_st": "", + "cat_no": "", + "clm_ea": "", + "clm_no": "CF89678-6-A", + "clm_st": "", + "est_ea": "patmrc@telus.net", + "est_st": "", + "ins_ea": "", + "ins_st": "", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "agt_fax": "", + "agt_ph1": "", + "agt_ph2": "", + "agt_zip": "", + "asgn_no": "CF89678-6-A", + "ciecaid": "6668750", + "clm_fax": "", + "clm_ph1": "", + "clm_ph2": "", + "clm_zip": "", + "cust_pr": "O", + "ded_amt": 300, + "est_ph1": "", + "est_zip": "", + "ins_fax": "", + "ins_ph1": "", + "ins_ph2": "", + "ins_zip": "", + "insd_ea": "", + "insd_fn": "NATALIA", + "insd_ln": "UN", + "insd_st": "BC", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "pay_amt": 0, + "v_color": "White Orchid Pearl", + "vehicle": { + "data": { + "v_vin": "1HGCR2F08GA800783", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "v_cond": "L8", + "v_tone": "0", + "v_type": "PC", + "v_color": "White Orchid Pearl", + "v_stage": "0", + "plate_no": "FBSH2H", + "plate_st": "BC", + "v_bstyle": "4 Door Sedan", + "v_engine": "45971", + "db_v_code": "911481", + "v_prod_dt": "15 9", + "trim_color": "", + "v_makecode": "18", + "v_mldgcode": "", + "v_model_yr": "16", + "v_trimcode": "", + "v_make_desc": "Honda", + "v_model_desc": "Accord", + "v_paint_codes": { "paint_cd1": "", "paint_cd2": "", "paint_cd3": "" } + } + }, + "agt_city": "", + "agt_ctry": "", + "agt_faxx": "", + "agt_ph1x": "", + "agt_ph2x": "", + "clm_city": "", + "clm_ctry": "", + "clm_faxx": "", + "clm_ph1x": "", + "clm_ph2x": "", + "est_city": "", + "est_ctry": "", + "ins_city": "", + "ins_ctry": "", + "ins_faxx": "", + "ins_ph1x": "", + "ins_ph2x": "", + "insd_fax": "", + "insd_ph1": "6045621299", + "insd_ph2": "6046912361", + "insd_zip": "V3E 2R7", + "joblines": { + "data": [ + { + "db_hrs": 0.4, + "db_ref": "103213", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 1, + "price_j": false, + "unq_seq": 10, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 10, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rocker Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 1.2, + "db_ref": "100972", + "lbr_op": "OP15", + "lbr_amt": 85.16, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 2, + "price_j": false, + "unq_seq": 23, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 23, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "BLEND" + }, + { + "db_hrs": 0.3, + "db_ref": "100908", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 3, + "price_j": false, + "unq_seq": 28, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 28, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Rear View Mirror", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "100871", + "lbr_op": "OP2", + "lbr_amt": 17.03, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 4, + "price_j": false, + "unq_seq": 25, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 25, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Otr Door Belt Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.2, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "103044", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 5, + "price_j": false, + "unq_seq": 22, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 22, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Adhesive Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "103046", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 6, + "price_j": false, + "unq_seq": 21, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 21, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Adhesive Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "103113", + "lbr_op": "OP11", + "lbr_amt": 42.58, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 7, + "price_j": false, + "unq_seq": 34, + "bett_amt": 0, + "bett_tax": false, + "db_price": 266.61, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 34, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": true, + "act_price": 266.61, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Adhesive Body Side Mldg Set", + "paint_stg": 0, + "part_type": "PAN", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.5, + "mod_lbr_ty": "LAB", + "oem_partno": "08P05-T2A-131", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 8, + "price_j": false, + "unq_seq": 35, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 34, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR & LT RR DR, SOFT PLASTIC, DOUBL", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0.4, + "db_ref": "102514", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 9, + "price_j": false, + "unq_seq": 30, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 30, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Door Trim Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.7, + "db_ref": "100061", + "lbr_op": "OP2", + "lbr_amt": 59.61, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 10, + "price_j": false, + "unq_seq": 24, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 24, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Frt Otr Door Handle", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.7, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "102149", + "lbr_op": "OP9", + "lbr_amt": 681.28, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 11, + "price_j": false, + "unq_seq": 16, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1035.63, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "L Rear Door Shell (Steel/Hss)", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 8, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 12, + "price_j": false, + "unq_seq": 38, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT RR DR CREASED", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 2.2, + "db_ref": "101526", + "lbr_op": "OP6", + "lbr_amt": 187.35, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 13, + "price_j": false, + "unq_seq": 17, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.2, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0.6, + "db_ref": "102157", + "lbr_op": "OP2", + "lbr_amt": 51.1, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 14, + "price_j": false, + "unq_seq": 18, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 18, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Otr Door Belt Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.6, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.2, + "db_ref": "102159", + "lbr_op": "OP2", + "lbr_amt": 17.03, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 15, + "price_j": false, + "unq_seq": 33, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 33, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Upr Door Sash Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.2, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "102180", + "lbr_op": "OP2", + "lbr_amt": 0, + "lbr_inc": true, + "lbr_tax": true, + "line_no": 16, + "price_j": false, + "unq_seq": 19, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 19, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Door Trim Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.3, + "db_ref": "102218", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 17, + "price_j": false, + "unq_seq": 20, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 20, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Otr Door Handle", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.4, + "db_ref": "101929", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 18, + "price_j": false, + "unq_seq": 3, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 3, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Roof Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "102598", + "lbr_op": "OP9", + "lbr_amt": 1277.4, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 19, + "price_j": false, + "unq_seq": 1, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1435.52, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "L Quarter Outer Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 15, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 20, + "price_j": false, + "unq_seq": 37, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "MULTIPLE BODY LINES, INCS DOG LEG, WHEEL", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 2.1, + "db_ref": "100687", + "lbr_op": "OP6", + "lbr_amt": 144.77, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 21, + "price_j": false, + "unq_seq": 2, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Quarter Panel Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1.7, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0.3, + "db_ref": "103609", + "lbr_op": "OP2", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 22, + "price_j": false, + "unq_seq": 8, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 8, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Combination Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.8, + "db_ref": "103216", + "lbr_op": "OP2", + "lbr_amt": 68.13, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 23, + "price_j": false, + "unq_seq": 7, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 7, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.8, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "936008", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 24, + "price_j": true, + "unq_seq": 5, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 5, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 470.73, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Paint/Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "936007", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 25, + "price_j": true, + "unq_seq": 6, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 6, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 227.42, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Shop Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "933014", + "lbr_op": "OP14", + "lbr_amt": 246.96, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 26, + "price_j": false, + "unq_seq": 4, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 4, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Three Stage", + "paint_stg": 3, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.9, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "933003", + "lbr_op": "OP14", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 27, + "price_j": false, + "unq_seq": 11, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 11, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Tint Color", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 28, + "price_j": true, + "unq_seq": 12, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 12, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC POST REPAIR SCAN", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 323.72, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 29, + "price_j": true, + "unq_seq": 13, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 13, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "FEATHER, PRIME & BLOCK", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 3.5, + "mod_lbr_ty": "LA1", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 30, + "price_j": false, + "unq_seq": 36, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 13, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT 1/4 PANEL 15.0, LT RR DR 8.0 = 23.0x0", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 31, + "price_j": true, + "unq_seq": 14, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 14, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 50, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "REPAIR PLANNING & DOCUMENTATION", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP6", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 32, + "price_j": true, + "unq_seq": 15, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 15, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "ICBC EXTENDED CLEAR COAT LT ROOF RAIL", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP2", + "lbr_amt": 42.58, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 33, + "price_j": true, + "unq_seq": 39, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 39, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "RAIN VISOR", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.5, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 34, + "price_j": false, + "unq_seq": 40, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 39, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR, LT RR DR RAIN VISOR R&I", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP9", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 35, + "price_j": true, + "unq_seq": 41, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 41, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "CLEAN AND RETAPE ADHESIVE RAIN VISORS", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 36, + "price_j": false, + "unq_seq": 42, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 41, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "LT FR DR & LT RR DR RAIN VISORS", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 38, + "price_j": true, + "unq_seq": 0, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 0, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 361.96, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ATS Amount", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + } + ] + }, + "loss_cat": "C", + "ownr_ph1": "6045621299", + "ownr_ph2": "6046912361", + "ownr_zip": "V3E 2R7", + "pay_date": null, + "pay_type": "", + "plate_no": "FBSH2H", + "plate_st": "BC", + "rate_la1": 92.49, + "rate_la2": 0, + "rate_la4": 0, + "rate_laa": 0, + "rate_lab": 85.16, + "rate_laf": 97.34, + "rate_lag": 85.16, + "rate_lam": 109.5, + "rate_lar": 85.16, + "rate_las": 85.16, + "rate_lau": 0, + "tlos_ind": false, + "agt_addr1": "", + "agt_addr2": "", + "agt_co_id": "", + "agt_co_nm": "", + "agt_ct_fn": "", + "agt_ct_ln": "", + "agt_ct_ph": "", + "asgn_date": "2023-07-11T00:00:00", + "asgn_type": "", + "cieca_stl": { + "data": [ + { + "t_amt": 2579.25, + "t_hrs": 29.7, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAB" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAS" + }, + { + "t_amt": 723.86, + "t_hrs": 8.5, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAG" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAF" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA3" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA4" + }, + { + "t_amt": 323.72, + "t_hrs": 3.5, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA1" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA2" + }, + { + "t_amt": 3808.17, + "t_hrs": 0, + "tax_amt": 253.88, + "ttl_amt": 4062.05, + "ttl_hrs": 41.7, + "ttl_type": "LA", + "ttl_typecd": "LAT" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAE" + }, + { + "t_amt": 266.61, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAN" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAA" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAL" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAC" + }, + { + "t_amt": 279.94, + "t_hrs": 0, + "tax_amt": 18.66, + "ttl_amt": 298.6, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAT" + }, + { + "t_amt": 1060.11, + "t_hrs": 0, + "tax_amt": 74.21, + "ttl_amt": 1187.33, + "ttl_hrs": 0, + "ttl_type": "OTAC", + "ttl_typecd": "MAT" + }, + { + "t_amt": 4953.55, + "t_hrs": 0, + "tax_amt": 346.75, + "ttl_amt": 5547.98, + "ttl_hrs": 0, + "ttl_type": "TOT", + "ttl_typecd": "" + } + ] + }, + "cieca_ttl": { + "data": { + "g_tax": 346.75, + "gst_amt": 247.68, + "g_aa_amt": 0, + "prev_net": 0, + "supp_amt": 0, + "g_ded_amt": 300, + "g_rpd_amt": 0, + "g_ttl_amt": 5547.98, + "g_upd_amt": 0, + "n_ttl_amt": 5247.98, + "g_bett_amt": 0, + "g_cust_amt": 300, + "g_ttl_disc": 0 + } + }, + "clm_addr1": "", + "clm_addr2": "", + "clm_ct_fn": "", + "clm_ct_ln": "", + "clm_ct_ph": "", + "clm_title": "", + "clm_total": 5547.98, + "est_addr1": "", + "est_addr2": "", + "est_co_nm": "", + "est_ct_fn": "Mehdi", + "est_ct_ln": "Baghdadi", + "ins_addr1": "", + "ins_addr2": "", + "ins_co_id": "", + "ins_co_nm": "Insurance Corporation of British Co", + "ins_ct_fn": "", + "ins_ct_ln": "", + "ins_ct_ph": "", + "ins_title": "", + "insd_city": "COQUITLAM", + "insd_ctry": "", + "insd_faxx": "", + "insd_ph1x": "", + "insd_ph2x": "", + "loss_date": "2023-04-28T00:00:00", + "loss_desc": "Collision", + "loss_type": "C", + "materials": { + "mapa": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" }, + "mash": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" } + }, + "ownr_city": "COQUITLAM", + "ownr_ctry": "", + "pay_chknm": "0", + "payee_nms": "", + "policy_no": "30.Y2M", + "rate_ma2s": 0, + "rate_ma2t": 0, + "rate_ma3s": 0, + "rate_macs": 0, + "rate_mahw": 0, + "rate_mapa": 55.38, + "rate_mash": 6.85, + "theft_ind": false, + "adj_g_disc": 0, + "adj_strdis": 0, + "adj_towdis": 0, + "agt_ct_phx": "", + "agt_lic_no": "", + "clm_ct_phx": "", + "clm_ofc_id": "", + "clm_ofc_nm": "", + "ded_status": "Y", + "ins_ct_phx": "", + "insd_addr1": "1428 PURCELL DR", + "insd_addr2": "", + "insd_co_nm": "", + "insd_title": "", + "ownr_addr1": "1428 PURCELL DR", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "", + "tax_lbr_rt": 0.07, + "tax_predis": 0, + "tax_prethr": 0.07, + "tax_pstthr": 0, + "tax_str_rt": 0.07, + "tax_sub_rt": 0.07, + "tax_thramt": 0, + "tax_tow_rt": 0.07, + "v_model_yr": "16", + "v_make_desc": "Honda", + "v_model_desc": "Accord", + "tax_levies_rt": 0.07, + "area_of_damage": { "impact1": "07", "impact2": "" }, + "date_estimated": "2023-05-01T00:00:00", + "labor_rate_desc": "EST", + "parts_tax_rates": { + "PAA": { + "prt_type": "PAA", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAC": { + "prt_type": "PAC", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAL": { + "prt_type": "PAL", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAM": { + "prt_type": "PAM", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAN": { + "prt_type": "PAN", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAR": { + "prt_type": "PAR", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAS": { + "prt_type": "PAS", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + } + }, + "tax_shop_mat_rt": 0.07, + "federal_tax_rate": 0.05, + "tax_paint_mat_rt": 0.07, + "depreciation_taxes": 0 +} diff --git a/client/cypress/downloads/jobs/job-4.json b/client/cypress/downloads/jobs/job-4.json new file mode 100644 index 000000000..d19c534c3 --- /dev/null +++ b/client/cypress/downloads/jobs/job-4.json @@ -0,0 +1,1281 @@ +{ + "kmin": "273578", + "owner": { + "data": { + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "ownr_ph1": "6045621299", + "ownr_ph2": "6046912361", + "ownr_zip": "V3E 2R7", + "ownr_city": "COQUITLAM", + "ownr_ctry": "", + "ownr_addr1": "1428 PURCELL DR", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "" + } + }, + "v_vin": "JNKCV64EX8M126490", + "agt_ea": "", + "agt_st": "", + "cat_no": "", + "clm_ea": "", + "clm_no": "CG05683-2-A", + "clm_st": "", + "est_ea": "TAYLORMRC@TELUS.NET", + "est_st": "", + "ins_ea": "", + "ins_st": "", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "agt_fax": "", + "agt_ph1": "", + "agt_ph2": "", + "agt_zip": "", + "asgn_no": "CG05683-2-A", + "ciecaid": "6972714", + "clm_fax": "", + "clm_ph1": "", + "clm_ph2": "", + "clm_zip": "", + "cust_pr": "O", + "ded_amt": 0, + "est_ph1": "6044658636", + "est_zip": "", + "ins_fax": "", + "ins_ph1": "", + "ins_ph2": "", + "ins_zip": "", + "insd_ea": "", + "insd_fn": "NATALIA", + "insd_ln": "UN", + "insd_st": "BC", + "ownr_ea": "", + "ownr_fn": "NATALIA", + "ownr_ln": "UN", + "ownr_st": "BC", + "pay_amt": 0, + "v_color": "", + "vehicle": { + "data": { + "v_vin": "JNKCV64EX8M126490", + "shopid": "6c63a820-542c-497e-8c82-0cc38fb2bbca", + "v_cond": "GO", + "v_tone": "0", + "v_type": "PC", + "v_color": "", + "v_stage": "0", + "plate_no": "KW313P", + "plate_st": "BC", + "v_bstyle": "2 Door Coupe", + "v_engine": "273578", + "db_v_code": "910871", + "v_prod_dt": "", + "trim_color": "", + "v_makecode": "20", + "v_mldgcode": "", + "v_model_yr": "08", + "v_trimcode": "", + "v_make_desc": "Infiniti", + "v_model_desc": "G37", + "v_paint_codes": { "paint_cd1": "", "paint_cd2": "", "paint_cd3": "" } + } + }, + "agt_city": "", + "agt_ctry": "", + "agt_faxx": "", + "agt_ph1x": "", + "agt_ph2x": "", + "clm_city": "", + "clm_ctry": "", + "clm_faxx": "", + "clm_ph1x": "", + "clm_ph2x": "", + "est_city": "", + "est_ctry": "", + "ins_city": "", + "ins_ctry": "", + "ins_faxx": "", + "ins_ph1x": "", + "ins_ph2x": "", + "insd_fax": "", + "insd_ph1": "", + "insd_ph2": "", + "insd_zip": "V2X 3E9", + "joblines": { + "data": [ + { + "db_hrs": 0.4, + "db_ref": "2075", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 1, + "price_j": false, + "unq_seq": 11, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 11, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Roof Drip Moulding", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 2.4, + "db_ref": "2088", + "lbr_op": "OP6", + "lbr_amt": 204.38, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 2, + "price_j": false, + "unq_seq": 10, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 10, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 100, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Quarter Panel Outside", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.4, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0, + "db_ref": "1533", + "lbr_op": "OP9", + "lbr_amt": 85.16, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 3, + "price_j": false, + "unq_seq": 16, + "bett_amt": 0, + "bett_tax": false, + "db_price": 1317.99, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "R Quarter Outer Panel", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 1, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 4, + "price_j": false, + "unq_seq": 18, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 16, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "STRAIGHTEN INNER & BUMPER MOUNT", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0.8, + "db_ref": "2141", + "lbr_op": "OP2", + "lbr_amt": 68.13, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 5, + "price_j": false, + "unq_seq": 3, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 3, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "R Rear Combination Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.8, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0.8, + "db_ref": "2142", + "lbr_op": "OP2", + "lbr_amt": 34.06, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 6, + "price_j": false, + "unq_seq": 4, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 4, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "L Rear Combination Lamp", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.4, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / INSTALL" + }, + { + "db_hrs": 0, + "db_ref": "2781", + "lbr_op": "OP9", + "lbr_amt": 425.8, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 7, + "price_j": false, + "unq_seq": 1, + "bett_amt": 0, + "bett_tax": false, + "db_price": 661.08, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Cover", + "paint_stg": 0, + "part_type": "PAE", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 5, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 8, + "price_j": false, + "unq_seq": 15, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "HEAT & RESHAPE MULTIPLE BUCKLES/CREASES", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 2.6, + "db_ref": "2145", + "lbr_op": "OP6", + "lbr_amt": 221.42, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 9, + "price_j": false, + "unq_seq": 2, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 1, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Rear Bumper Cover", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.6, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REFINISH" + }, + { + "db_hrs": 0, + "db_ref": "936008", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 10, + "price_j": true, + "unq_seq": 6, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 6, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 443.04, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Paint/Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "936007", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 11, + "price_j": true, + "unq_seq": 7, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "", + "line_ref": 7, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 52.06, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Shop Materials", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + }, + { + "db_hrs": 0, + "db_ref": "933003", + "lbr_op": "OP14", + "lbr_amt": 25.55, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 12, + "price_j": false, + "unq_seq": 19, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 19, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": false, + "line_desc": "Tint Color", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0.3, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "933014", + "lbr_op": "OP14", + "lbr_amt": 229.93, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 13, + "price_j": false, + "unq_seq": 20, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "S1", + "line_ref": 20, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "Three Stage", + "paint_stg": 3, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 2.7, + "mod_lbr_ty": "LAR", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL OPERATIONS" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 14, + "price_j": true, + "unq_seq": 21, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "S2", + "line_ref": 21, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 50, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "REPAIR PLANNING & DOCUMENTATION", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900500", + "lbr_op": "OP26", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": true, + "line_no": 15, + "price_j": true, + "unq_seq": 22, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": true, + "line_ind": "E", + "line_ref": 22, + "misc_amt": 0, + "misc_tax": true, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": true, + "lbr_typ_j": true, + "line_desc": "* REQUIRES REVIEW *", + "paint_stg": 0, + "part_type": "PAS", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "Sublet", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "LAB", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "PAINTLESS DENT REPAIR" + }, + { + "db_hrs": 0, + "db_ref": "900501", + "lbr_op": "OP0", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 16, + "price_j": false, + "unq_seq": 23, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 22, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": false, + "act_price": 0, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "EXHAUST RELATED TO CLAIM??? BROUGHT VEHI", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "REMOVE / REPLACE PARTIAL" + }, + { + "db_hrs": 0, + "db_ref": "", + "lbr_op": "OP13", + "lbr_amt": 0, + "lbr_inc": false, + "lbr_tax": false, + "line_no": 18, + "price_j": true, + "unq_seq": 0, + "bett_amt": 0, + "bett_tax": false, + "db_price": 0, + "lbr_op_j": false, + "line_ind": "E", + "line_ref": 0, + "misc_amt": 0, + "misc_tax": false, + "part_qty": 1, + "tax_part": true, + "act_price": 135.41, + "alt_co_id": "", + "alt_partm": "", + "bett_pctg": 0, + "bett_type": "", + "cert_part": false, + "lbr_hrs_j": false, + "lbr_typ_j": false, + "line_desc": "ATS Amount", + "paint_stg": 0, + "part_type": "", + "price_inc": false, + "tran_code": "1", + "alt_overrd": false, + "alt_part_i": false, + "alt_partno": "", + "glass_flag": false, + "misc_sublt": false, + "mod_lb_hrs": 0, + "mod_lbr_ty": "", + "oem_partno": "", + "paint_tone": 0, + "prt_dsmk_m": 0, + "prt_dsmk_p": 0, + "op_code_desc": "ADDITIONAL COSTS" + } + ] + }, + "loss_cat": "C", + "ownr_ph1": "", + "ownr_ph2": "", + "ownr_zip": "V2X 3E9", + "pay_date": null, + "pay_type": "", + "plate_no": "KW313P", + "plate_st": "BC", + "rate_la1": 92.49, + "rate_la2": 0, + "rate_la4": 0, + "rate_laa": 0, + "rate_lab": 85.16, + "rate_laf": 97.34, + "rate_lag": 85.16, + "rate_lam": 109.5, + "rate_lar": 85.16, + "rate_las": 85.16, + "rate_lau": 0, + "tlos_ind": false, + "agt_addr1": "", + "agt_addr2": "", + "agt_co_id": "", + "agt_co_nm": "", + "agt_ct_fn": "", + "agt_ct_ln": "", + "agt_ct_ph": "", + "asgn_date": "2023-07-11T00:00:00", + "asgn_type": "", + "cieca_stl": { + "data": [ + { + "t_amt": 697.22, + "t_hrs": 7.6, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAB" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAS" + }, + { + "t_amt": 681.28, + "t_hrs": 8, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAG" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAF" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA3" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA4" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA1" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "LA", + "ttl_typecd": "LA2" + }, + { + "t_amt": 1447.43, + "t_hrs": 0, + "tax_amt": 96.5, + "ttl_amt": 1543.93, + "ttl_hrs": 15.6, + "ttl_type": "LA", + "ttl_typecd": "LAT" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAE" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAN" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAA" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAM" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAL" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAS" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAR" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAC" + }, + { + "t_amt": 0, + "t_hrs": 0, + "tax_amt": 0, + "ttl_amt": 0, + "ttl_hrs": 0, + "ttl_type": "PA", + "ttl_typecd": "PAT" + }, + { + "t_amt": 630.51, + "t_hrs": 0, + "tax_amt": 44.14, + "ttl_amt": 706.18, + "ttl_hrs": 0, + "ttl_type": "OTAC", + "ttl_typecd": "MAT" + }, + { + "t_amt": 2009.01, + "t_hrs": 0, + "tax_amt": 140.64, + "ttl_amt": 2250.11, + "ttl_hrs": 0, + "ttl_type": "TOT", + "ttl_typecd": "" + } + ] + }, + "cieca_ttl": { + "data": { + "g_tax": 140.64, + "gst_amt": 100.46, + "g_aa_amt": 0, + "prev_net": 0, + "supp_amt": 730.86, + "g_ded_amt": 0, + "g_rpd_amt": 0, + "g_ttl_amt": 2250.11, + "g_upd_amt": 0, + "n_ttl_amt": 2250.11, + "g_bett_amt": 0, + "g_cust_amt": 0, + "g_ttl_disc": 0 + } + }, + "clm_addr1": "", + "clm_addr2": "", + "clm_ct_fn": "", + "clm_ct_ln": "", + "clm_ct_ph": "", + "clm_title": "", + "clm_total": 2250.11, + "est_addr1": "", + "est_addr2": "", + "est_co_nm": "", + "est_ct_fn": "Taylor", + "est_ct_ln": "Danggas", + "ins_addr1": "", + "ins_addr2": "", + "ins_co_id": "", + "ins_co_nm": "Insurance Corporation of British Co", + "ins_ct_fn": "", + "ins_ct_ln": "", + "ins_ct_ph": "", + "ins_title": "", + "insd_city": "MAPLE RIDGE", + "insd_ctry": "", + "insd_faxx": "", + "insd_ph1x": "", + "insd_ph2x": "", + "loss_date": "2023-05-08T00:00:00", + "loss_desc": "Collision", + "loss_type": "C", + "materials": { + "mapa": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" }, + "mash": { "cal_maxdlr": 9999.99, "cal_opcode": "OP13" } + }, + "ownr_city": "MAPLE RIDGE", + "ownr_ctry": "", + "pay_chknm": "0", + "payee_nms": "", + "policy_no": "6N.Z1M", + "rate_ma2s": 0, + "rate_ma2t": 0, + "rate_ma3s": 0, + "rate_macs": 0, + "rate_mahw": 0, + "rate_mapa": 55.38, + "rate_mash": 6.85, + "theft_ind": false, + "adj_g_disc": 0, + "adj_strdis": 0, + "adj_towdis": 0, + "agt_ct_phx": "", + "agt_lic_no": "", + "clm_ct_phx": "", + "clm_ofc_id": "", + "clm_ofc_nm": "", + "ded_status": "W", + "ins_ct_phx": "", + "insd_addr1": "21068 DEWDNEY TRUNK RD", + "insd_addr2": "", + "insd_co_nm": "", + "insd_title": "", + "ownr_addr1": "21068 DEWDNEY TRUNK RD", + "ownr_addr2": "", + "ownr_co_nm": "", + "ownr_title": "", + "tax_lbr_rt": 0.07, + "tax_predis": 0, + "tax_prethr": 0.07, + "tax_pstthr": 0, + "tax_str_rt": 0.07, + "tax_sub_rt": 0.07, + "tax_thramt": 0, + "tax_tow_rt": 0.07, + "v_model_yr": "08", + "v_make_desc": "Infiniti", + "v_model_desc": "G37", + "tax_levies_rt": 0.07, + "area_of_damage": { "impact1": "05", "impact2": "" }, + "date_estimated": "2023-05-12T00:00:00", + "labor_rate_desc": "EST", + "parts_tax_rates": { + "PAA": { + "prt_type": "PAA", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAC": { + "prt_type": "PAC", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAL": { + "prt_type": "PAL", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAM": { + "prt_type": "PAM", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAN": { + "prt_type": "PAN", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAR": { + "prt_type": "PAR", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + }, + "PAS": { + "prt_type": "PAS", + "prt_discp": 0, + "prt_mktyp": false, + "prt_mkupp": 0, + "prt_tax_in": true, + "prt_tax_rt": 0.07 + } + }, + "tax_shop_mat_rt": 0.07, + "federal_tax_rate": 0.05, + "tax_paint_mat_rt": 0.07, + "depreciation_taxes": 0 +} diff --git a/client/job.json b/client/cypress/downloads/jobs/job.json similarity index 100% rename from client/job.json rename to client/cypress/downloads/jobs/job.json diff --git a/client/cypress/e2e/job-import/job-import.cy.js b/client/cypress/e2e/job-import/job-import.cy.js index 7e3d02d3c..ee13c6dd9 100644 --- a/client/cypress/e2e/job-import/job-import.cy.js +++ b/client/cypress/e2e/job-import/job-import.cy.js @@ -1,49 +1,206 @@ +import job from "../../downloads/jobs/job-3.json"; +import job2 from "../../downloads/jobs/job-4.json"; +import jobSupplement from "../../downloads/jobs/job-3-supplement.json"; +import jobMetadata from "../../downloads/jobs/job-3-jobmetadata.json"; +import jobSupplementMetadata from "../../downloads/jobs/job-3-supplment-jobmetadata.json"; +import Dinero from "dinero.js"; + +const query = `mutation INSERT_AVAILABLE_JOB($job: available_jobs_insert_input!) { + insert_available_jobs_one(object: $job) { + id + } +}`; + describe( "Importing an available job", { - defaultCommandTimeout: 5000, + defaultCommandTimeout: 10000, + requestTimeout: 10000, }, () => { + // assuming that user is logged in beforeEach(() => { cy.visit("/manage/available"); + // intercept bodyshop query for id - cy.get("body").then(($body) => { - if ($body.text().includes("Login")) { - // Log in - cy.get('[data-cy="username"]').type("john@imex.dev"); - cy.get('[data-cy="password"]').type("john123"); - cy.get('[data-cy="sign-in-button"]').click(); + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_BODYSHOP") { + req.alias = "bodyshop"; } }); - cy.get('[data-cy="available-jobs-table"]') - .find("tr") - .should("not.have.class", "ant-table-placeholder"); + cy.wait("@bodyshop").then(({ response }) => { + const id = response.body.data.bodyshops[0].id; + + cy.wrap(id).as("bodyshopid"); + }); + }); + + it.only("Enters a job programatically", () => { + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_AVAILABLE_JOBS") { + req.alias = "availableJobs"; + } + }); + + cy.wait("@availableJobs").then(({ request }) => { + const token = request.headers.authorization; + + cy.get("@bodyshopid").then((bodyshopid) => { + const job_est_data = { + owner: { + data: { + shopid: bodyshopid, + ...job.owner.data, + }, + }, + vehicle: { + data: { + shopid: bodyshopid, + ...job.vehicle.data, + }, + }, + shopid: bodyshopid, + ...job, + }; + + cy.request({ + url: "http://localhost:4000/test/query", + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: token, + }, + body: { + query, + job: { + est_data: job_est_data, + uploaded_by: "john@imex.dev", + cieca_id: job.ciecaid, + bodyshopid, + clm_amt: job.clm_total, + clm_no: job.clm_no, + ins_co_nm: job.ins_co_nm, + ownr_name: `${job.owner.data.ownr_fn} ${job.owner.data.ownr_ln}`, + vehicle_info: `${job.v_model_yr} ${job.v_make_desc} ${job.v_model_desc}`, + }, + }, + }) + .its("body.insert_available_jobs_one") + .should("have.property", "id"); + }); + }); }); it("creates a new owner record for the job", () => { - cy.get('[data-cy="add-job-as-new-button"]') - .filter(":enabled") - .first() - .click(); + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_AVAILABLE_JOBS") { + req.alias = "availableJobs"; + } + }); + + cy.wait("@availableJobs"); + + cy.get('[data-cy="available-jobs-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .contains(job.clm_no) + .parent() + .as("row"); + + cy.get('[data-cy="add-job-as-new-button"]').should("be.enabled").click(); cy.get('[data-cy="new_owner_checkbox"]').should("be.checked"); - - cy.get(".ant-modal-content").find("button").contains("OK").click(); - - cy.get(".ant-notification-notice-message") - .contains("Job created successfully. Click to view.") + cy.get('[data-cy="existing-owners-ok-button"]') + .should("be.enabled") .click(); - cy.url().should("include", "/manage/jobs"); + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "INSERT_JOB") { + req.alias = "insertJob"; + } + }); + + cy.wait("@insertJob").then(({ response }) => { + const id = response.body.data.insert_jobs.returning[0].id; + + cy.get(".ant-notification-notice-message") + .contains("Job created successfully. Click to view.") + .click(); + + cy.url().should("include", `/manage/jobs/${id}`); + }); + + cy.get('[data-cy="tab-totals"]').should("be.visible").click(); + + cy.get('[data-cy="job-totals-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .as("totals-table") + .should("not.have.class", "ant-table-placeholder"); + + cy.get("@totals-table") + .eq(0) + .find("td:not(.ant-table-selection-column)") + .eq(1) + .invoke("text") + .should( + "be.equal", + Dinero({ + amount: jobMetadata.totals.subtotal.amount, + }).toFormat() + ); }); it("imports a supplement for an existing job", () => { - cy.get('[data-cy="add-job-as-supplement"]') - .filter(":enabled") - .first() + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_AVAILABLE_JOBS") { + req.alias = "availableJobs"; + } + }); + + cy.wait("@availableJobs").then(({ request }) => { + const token = request.headers.authorization; + + cy.request({ + url: "http://localhost:4000/test/query", + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: token, + }, + body: { + query, + job: { + est_data: jobSupplement, + uploaded_by: "john@imex.dev", + cieca_id: jobSupplement.ciecaid, + bodyshopid: jobSupplement.owner.data.shopid, + clm_amt: jobSupplement.clm_total, + clm_no: jobSupplement.clm_no, + ins_co_nm: jobSupplement.ins_co_nm, + ownr_name: `${jobSupplement.owner.data.ownr_fn} ${jobSupplement.owner.data.ownr_ln}`, + vehicle_info: `${jobSupplement.v_model_yr} ${jobSupplement.v_make_desc} ${jobSupplement.v_model_desc}`, + }, + }, + }) + .its("body.insert_available_jobs_one") + .should("have.property", "id"); + }); + + cy.get('[data-cy="refetch-available-jobs-button"]') + .should("not.be.disabled") .click(); + cy.get('[data-cy="available-jobs-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .contains(jobSupplement.clm_no) + .parent() + .as("row"); + + cy.get('[data-cy="add-job-as-supplement"]').should("be.enabled").click(); + cy.get('[data-cy="existing-jobs-table"]') .find(".ant-table-tbody tr") .should("not.have.class", "ant-table-placeholder") @@ -59,47 +216,178 @@ describe( .click(); cy.url().should("include", "/manage/jobs"); + + cy.get('[data-cy="tab-totals"]').should("be.visible").click(); + + cy.get('[data-cy="job-totals-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .as("totals-table") + .should("not.have.class", "ant-table-placeholder"); + + cy.get("@totals-table") + .eq(0) + .find("td:not(.ant-table-selection-column)") + .eq(1) + .invoke("text") + .should( + "be.equal", + Dinero({ + amount: jobSupplementMetadata.totals.subtotal.amount, + }).toFormat() + ); }); - it("imports a job with an existing owner", () => { - let hasOwner = false; + it("imports a supplement and override estimate header", () => { + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_AVAILABLE_JOBS") { + req.alias = "availableJobs"; + } + }); - cy.get('[data-cy="add-job-as-new-button"]') - .filter(":enabled") - .each(($el) => { - cy.then(() => { - if (hasOwner) return false; + cy.wait("@availableJobs").then(({ request }) => { + const token = request.headers.authorization; - cy.wrap($el).click(); + cy.request({ + url: "http://localhost:4000/test/query", + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: token, + }, + body: { + query, + job: { + est_data: jobSupplement, + uploaded_by: "john@imex.dev", + cieca_id: jobSupplement.ciecaid, + bodyshopid: jobSupplement.owner.data.shopid, + clm_amt: jobSupplement.clm_total, + clm_no: jobSupplement.clm_no, + ins_co_nm: jobSupplement.ins_co_nm, + ownr_name: `${jobSupplement.owner.data.ownr_fn} ${jobSupplement.owner.data.ownr_ln}`, + vehicle_info: `${jobSupplement.v_model_yr} ${jobSupplement.v_make_desc} ${jobSupplement.v_model_desc}`, + }, + }, + }) + .its("body.insert_available_jobs_one") + .should("have.property", "id"); + }); - // check if table is not empty - cy.get('[data-cy="existing-owner-table"]', { timeout: 20000 }) - .find(".ant-table-tbody tr") - .should("not.have.class", "ant-table-placeholder") - .then(($table) => { - if ($table.length === 0) { - cy.get('[data-cy="existing-owners-cancel-button"]').click(); - } + cy.get('[data-cy="refetch-available-jobs-button"]') + .should("not.be.disabled") + .click(); - cy.wrap($table).first().click(); + cy.get('[data-cy="available-jobs-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .contains(jobSupplement.clm_no) + .parent() + .as("row"); - cy.get('[data-cy="new_owner_checkbox"]').should( - "not.be", - "checked" - ); + cy.get('[data-cy="add-job-as-supplement"]').should("be.enabled").click(); - hasOwner = true; - }); - }); + cy.get('[data-cy="existing-jobs-table"]') + .find(".ant-table-tbody tr") + .should("not.have.class", "ant-table-placeholder") + .first() + .click(); + + // click override + cy.get('[data-cy="override-header-checkbox"]').check(); + + cy.get('[data-cy="existing-jobs-ok-button"]') + .should("not.be", "disabled") + .click(); + + cy.get(".ant-notification-notice-message") + .contains("Job supplemented successfully.") + .click(); + + cy.url().should("include", "/manage/jobs"); + + cy.get('[data-cy="tab-totals"]').should("be.visible").click(); + + cy.get('[data-cy="job-totals-table"]') + .find(".ant-table-tbody") + .find("> tr:not(.ant-table-measure-row)") + .as("totals-table") + .should("not.have.class", "ant-table-placeholder"); + + cy.get("@totals-table") + .eq(0) + .find("td:not(.ant-table-selection-column)") + .eq(1) + .invoke("text") + .should( + "be.equal", + Dinero({ + amount: jobSupplementMetadata.totals.subtotal.amount, + }).toFormat() + ); + }); + + it.skip("imports a job with an existing owner", () => { + cy.intercept("POST", "https://db.dev.bodyshop.app/v1/graphql", (req) => { + if (req.body.operationName === "QUERY_AVAILABLE_JOBS") { + req.alias = "availableJobs"; + } + }); + + cy.wait("@availableJobs").then(({ request }) => { + const token = request.headers.authorization; + + cy.request({ + url: "http://localhost:4000/test/query", + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: token, + }, + body: { + query, + job: { + est_data: job2, + uploaded_by: "john@imex.dev", + cieca_id: job2.ciecaid, + bodyshopid: job2.owner.data.shopid, + clm_amt: job2.clm_total, + clm_no: job2.clm_no, + ins_co_nm: job2.ins_co_nm, + ownr_name: `${job2.owner.data.ownr_fn} ${job2.owner.data.ownr_ln}`, + vehicle_info: `${job2.v_model_yr} ${job2.v_make_desc} ${job2.v_model_desc}`, + }, + }, + }) + .its("body.insert_available_jobs_one") + .should("have.property", "id"); + }); + + cy.get('[data-cy="refetch-available-jobs-button"]') + .should("not.be.disabled") + .click(); + + cy.get('[data-cy="add-job-as-new-button"]').should("be.enabled").click(); + + cy.get('[data-cy="existing-owner-table"]', { timeout: 20000 }) + .find(".ant-table-tbody tr") + .should("not.have.class", "ant-table-placeholder") + .then(($table) => { + cy.wrap($table).first().click(); + + cy.get('[data-cy="new_owner_checkbox"]').should("not.be", "checked"); }); cy.get('[data-cy="existing-owners-ok-button"]').click(); - cy.get(".ant-notification-notice-message") - .contains("Job created successfully. Click to view.") - .click(); + cy.get(".ant-notification-notice-message").contains( + "Job created successfully. Click to view." + ); - cy.url().should("include", "/manage/jobs"); + cy.visit("/manage/owners"); + // Navigate to owner records + // Get owner name + // check list if claim number is there }); } ); diff --git a/client/src/components/job-totals-table/job-totals.table.totals.component.jsx b/client/src/components/job-totals-table/job-totals.table.totals.component.jsx index 16a94442b..d71f55d14 100644 --- a/client/src/components/job-totals-table/job-totals.table.totals.component.jsx +++ b/client/src/components/job-totals-table/job-totals.table.totals.component.jsx @@ -108,6 +108,7 @@ export function JobTotalsTableTotals({ bodyshop, job }) { return (