IO-920 Required referral fields.

This commit is contained in:
Patrick Fic
2021-04-26 15:32:16 -07:00
parent e8db267a18
commit a408de0b90
16 changed files with 399 additions and 10 deletions

View File

@@ -82,7 +82,8 @@ export const QUERY_BODYSHOP = gql`
md_hour_split
sub_status
jobsizelimit
md_ccc_rates
md_ccc_rates
enforce_referral
employees {
id
active
@@ -164,7 +165,8 @@ export const UPDATE_SHOP = gql`
md_hour_split
sub_status
jobsizelimit
md_ccc_rates
md_ccc_rates
enforce_referral
employees {
id
first_name

View File

@@ -878,6 +878,7 @@ export const CONVERT_JOB_TO_RO = gql`
$ca_gst_registrant: Boolean
$driveable: Boolean
$towin: Boolean
$referral_source: String
) {
update_jobs(
where: { id: { _eq: $jobId } }
@@ -888,6 +889,7 @@ export const CONVERT_JOB_TO_RO = gql`
ca_gst_registrant: $ca_gst_registrant
towin: $towin
driveable: $driveable
referral_source: $referral_source
}
) {
returning {
@@ -896,6 +898,7 @@ export const CONVERT_JOB_TO_RO = gql`
converted
class
ins_co_nm
referral_source
}
}
}