BOD-62 Added new job calculations on import + supplement.
This commit is contained in:
@@ -149,6 +149,17 @@ export const GET_JOB_BY_PK = gql`
|
||||
towing_payable
|
||||
storage_payable
|
||||
adjustment_bottom_line
|
||||
federal_tax_rate
|
||||
state_tax_rate
|
||||
local_tax_rate
|
||||
tax_tow_rt
|
||||
tax_str_rt
|
||||
tax_paint_mat_rt
|
||||
tax_sub_rt
|
||||
tax_lbr_rt
|
||||
tax_levies_rt
|
||||
parts_tax_rates
|
||||
job_totals
|
||||
ownr_fn
|
||||
ownr_ln
|
||||
ownr_ea
|
||||
@@ -173,28 +184,29 @@ export const GET_JOB_BY_PK = gql`
|
||||
ownr_ph1
|
||||
}
|
||||
labor_rate_desc
|
||||
rate_lab
|
||||
rate_lad
|
||||
rate_lae
|
||||
rate_lar
|
||||
rate_las
|
||||
rate_laf
|
||||
rate_lam
|
||||
rate_lag
|
||||
rate_atp
|
||||
rate_lau
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
rate_la4
|
||||
rate_mapa
|
||||
rate_mash
|
||||
rate_mahw
|
||||
rate_laa
|
||||
rate_lab
|
||||
rate_lad
|
||||
rate_lae
|
||||
rate_laf
|
||||
rate_lag
|
||||
rate_lam
|
||||
rate_lar
|
||||
rate_las
|
||||
rate_lau
|
||||
rate_ma2s
|
||||
rate_ma2t
|
||||
rate_ma3s
|
||||
rate_mabl
|
||||
rate_macs
|
||||
rate_laa
|
||||
rate_mahw
|
||||
rate_mapa
|
||||
rate_mash
|
||||
rate_matd
|
||||
actual_in
|
||||
scheduled_completion
|
||||
@@ -209,11 +221,15 @@ export const GET_JOB_BY_PK = gql`
|
||||
date_closed
|
||||
date_exported
|
||||
status
|
||||
owner_owing
|
||||
joblines {
|
||||
id
|
||||
unq_seq
|
||||
line_ind
|
||||
tax_part
|
||||
line_desc
|
||||
prt_dsmk_p
|
||||
prt_dsmk_m
|
||||
part_type
|
||||
oem_partno
|
||||
db_price
|
||||
@@ -385,66 +401,3 @@ export const ACTIVE_JOBS_FOR_AUTOCOMPLETE = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_JOB_FINANCIALS = gql`
|
||||
query QUERY_JOB_FINANCIALS($jobId: uuid!) {
|
||||
jobs_by_pk(id: $jobId) {
|
||||
id
|
||||
cieca_ttl
|
||||
cieca_stl
|
||||
ded_amt
|
||||
depreciation_taxes
|
||||
federal_tax_payable
|
||||
other_amount_payable
|
||||
adjustment_bottom_line
|
||||
towing_payable
|
||||
storage_payable
|
||||
federal_tax_rate
|
||||
state_tax_rate
|
||||
local_tax_rate
|
||||
tax_tow_rt
|
||||
tax_str_rt
|
||||
tax_paint_mat_rt
|
||||
tax_sub_rt
|
||||
tax_lbr_rt
|
||||
tax_levies_rt
|
||||
parts_tax_rates
|
||||
rate_atp
|
||||
rate_la1
|
||||
rate_la2
|
||||
rate_la3
|
||||
rate_la4
|
||||
rate_laa
|
||||
rate_lab
|
||||
rate_lad
|
||||
rate_lae
|
||||
rate_laf
|
||||
rate_lag
|
||||
rate_lam
|
||||
rate_lar
|
||||
rate_las
|
||||
rate_lau
|
||||
rate_ma2s
|
||||
rate_ma2t
|
||||
rate_ma3s
|
||||
rate_mabl
|
||||
rate_macs
|
||||
rate_mahw
|
||||
rate_mapa
|
||||
rate_mash
|
||||
rate_matd
|
||||
joblines {
|
||||
id
|
||||
line_desc
|
||||
tax_part
|
||||
prt_dsmk_p
|
||||
prt_dsmk_m
|
||||
mod_lbr_ty
|
||||
act_price
|
||||
mod_lb_hrs
|
||||
part_type
|
||||
part_qty
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user