feature/IO-3587-Commision-Cut - Remove some unrequired cleanup to reduce risk
This commit is contained in:
@@ -2549,6 +2549,110 @@ exports.INSERT_TIME_TICKETS = `mutation INSERT_TIMETICKETS($timetickets: [timeti
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
exports.QUERY_JOB_PAYROLL_DATA = `query QUERY_JOB_PAYROLL_DATA($id: uuid!) {
|
||||||
|
jobs_by_pk(id: $id) {
|
||||||
|
bodyshop{
|
||||||
|
id
|
||||||
|
md_responsibility_centers
|
||||||
|
md_tasks_presets
|
||||||
|
employee_teams{
|
||||||
|
id
|
||||||
|
name
|
||||||
|
employee_team_members{
|
||||||
|
id
|
||||||
|
employee{
|
||||||
|
id
|
||||||
|
first_name
|
||||||
|
last_name
|
||||||
|
}
|
||||||
|
percentage
|
||||||
|
labor_rates
|
||||||
|
payout_method
|
||||||
|
commission_rates
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
timetickets{
|
||||||
|
id
|
||||||
|
employeeid
|
||||||
|
rate
|
||||||
|
productivehrs
|
||||||
|
actualhrs
|
||||||
|
ciecacode
|
||||||
|
payout_context
|
||||||
|
}
|
||||||
|
lbr_adjustments
|
||||||
|
ro_number
|
||||||
|
id
|
||||||
|
job_totals
|
||||||
|
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
|
||||||
|
status
|
||||||
|
materials
|
||||||
|
completed_tasks
|
||||||
|
joblines(where: { removed: { _eq: false } }){
|
||||||
|
id
|
||||||
|
line_no
|
||||||
|
unq_seq
|
||||||
|
line_ind
|
||||||
|
line_desc
|
||||||
|
part_type
|
||||||
|
line_ref
|
||||||
|
oem_partno
|
||||||
|
db_price
|
||||||
|
act_price
|
||||||
|
part_qty
|
||||||
|
mod_lbr_ty
|
||||||
|
db_hrs
|
||||||
|
mod_lb_hrs
|
||||||
|
lbr_op
|
||||||
|
lbr_amt
|
||||||
|
op_code_desc
|
||||||
|
status
|
||||||
|
notes
|
||||||
|
location
|
||||||
|
tax_part
|
||||||
|
db_ref
|
||||||
|
manual_line
|
||||||
|
prt_dsmk_p
|
||||||
|
prt_dsmk_m
|
||||||
|
misc_amt
|
||||||
|
misc_tax
|
||||||
|
assigned_team
|
||||||
|
convertedtolbr
|
||||||
|
convertedtolbr_data
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`;
|
||||||
|
|
||||||
|
exports.INSERT_TIME_TICKETS = `mutation INSERT_TIMETICKETS($timetickets: [timetickets_insert_input!]!) {
|
||||||
|
insert_timetickets(objects: $timetickets) {
|
||||||
|
affected_rows
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
exports.QUERY_SURVEY = `query QUERY_SURVEY($surveyId: uuid!) {
|
exports.QUERY_SURVEY = `query QUERY_SURVEY($surveyId: uuid!) {
|
||||||
csi_by_pk(id: $surveyId) {
|
csi_by_pk(id: $surveyId) {
|
||||||
completedon
|
completedon
|
||||||
|
|||||||
Reference in New Issue
Block a user