Merged in release/2021-10-08 (pull request #239)

release/2021-10-08

Approved-by: Patrick Fic
This commit is contained in:
Patrick Fic
2021-10-04 20:35:21 +00:00
18 changed files with 7540 additions and 7522 deletions

View File

@@ -22304,7 +22304,7 @@
</translations>
</concept_node>
<concept_node>
<name>referral_source_other</name>
<name>referral_source_extra</name>
<definition_loaded>false</definition_loaded>
<description></description>
<comment></comment>

View File

@@ -133,8 +133,8 @@ export function JobsConvertButton({
</Select>
</Form.Item>
<Form.Item
label={t("jobs.fields.referral_source_other")}
name="referral_source_other"
label={t("jobs.fields.referral_source_extra")}
name="referral_source_extra"
>
<Input />
</Form.Item>

View File

@@ -182,8 +182,8 @@ export function JobsCreateJobsInfo({ bodyshop, form, selected }) {
</Select>
</Form.Item>
<Form.Item
label={t("jobs.fields.referral_source_other")}
name="referral_source_other"
label={t("jobs.fields.referral_source_extra")}
name="referral_source_extra"
>
<Input />
</Form.Item>

View File

@@ -115,8 +115,8 @@ export function JobsDetailGeneral({ bodyshop, jobRO, job, form }) {
</Select>
</Form.Item>
<Form.Item
label={t("jobs.fields.referral_source_other")}
name="referral_source_other"
label={t("jobs.fields.referral_source_extra")}
name="referral_source_extra"
>
<Input />
</Form.Item>

View File

@@ -359,7 +359,7 @@ export const GET_JOB_BY_PK = gql`
kmin
kmout
referral_source
referral_source_other
referral_source_extra
unit_number
po_number
special_coverage_policy
@@ -966,7 +966,7 @@ export const CONVERT_JOB_TO_RO = gql`
$driveable: Boolean
$towin: Boolean
$referral_source: String
$referral_source_other: String
$referral_source_extra: String
) {
update_jobs(
where: { id: { _eq: $jobId } }
@@ -978,7 +978,7 @@ export const CONVERT_JOB_TO_RO = gql`
towin: $towin
driveable: $driveable
referral_source: $referral_source
referral_source_other: $referral_source_other
referral_source_extra: $referral_source_extra
}
) {
returning {
@@ -988,7 +988,7 @@ export const CONVERT_JOB_TO_RO = gql`
class
ins_co_nm
referral_source
referral_source_other
referral_source_extra
}
}
}
@@ -1502,7 +1502,7 @@ export const QUERY_ALL_JOB_FIELDS = gql`
rate_mash
rate_matd
referral_source
referral_source_other
referral_source_extra
regie_number
selling_dealer
selling_dealer_contact

View File

@@ -1336,7 +1336,7 @@
"rate_mapa": "Paint Materials",
"rate_mash": "Shop Material",
"rate_matd": "Tire Disposal",
"referral_source_other": "Other Referral Source",
"referral_source_extra": "Other Referral Source",
"referralsource": "Referral Source",
"regie_number": "Registration #",
"repairtotal": "Repair Total",

View File

@@ -1336,7 +1336,7 @@
"rate_mapa": "Tasa de materiales de pintura",
"rate_mash": "Comprar material de tarifa",
"rate_matd": "Tasa de eliminación de neumáticos",
"referral_source_other": "",
"referral_source_extra": "",
"referralsource": "Fuente de referencia",
"regie_number": "N. ° de registro",
"repairtotal": "Reparación total",

View File

@@ -1336,7 +1336,7 @@
"rate_mapa": "Taux de matériaux de peinture",
"rate_mash": "Tarif du matériel de la boutique",
"rate_matd": "Taux d'élimination des pneus",
"referral_source_other": "",
"referral_source_extra": "",
"referralsource": "Source de référence",
"regie_number": "Enregistrement #",
"repairtotal": "Réparation totale",

View File

@@ -2716,7 +2716,7 @@
- rate_mash
- rate_matd
- referral_source
- referral_source_other
- referral_source_extra
- regie_number
- ro_number
- scheduled_completion
@@ -2964,7 +2964,7 @@
- rate_mash
- rate_matd
- referral_source
- referral_source_other
- referral_source_extra
- regie_number
- ro_number
- scheduled_completion
@@ -3222,7 +3222,7 @@
- rate_mash
- rate_matd
- referral_source
- referral_source_other
- referral_source_extra
- regie_number
- ro_number
- scheduled_completion

View File

@@ -0,0 +1,2 @@
alter table "public"."jobs" alter column "referral_source_other" drop not null;
alter table "public"."jobs" add column "referral_source_other" text;

View File

@@ -0,0 +1 @@
alter table "public"."jobs" drop column "referral_source_other" cascade;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."jobs" add column "referral_source_other" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."jobs" add column "referral_source_other" text
null;

View File

@@ -0,0 +1,2 @@
alter table "public"."jobs" alter column "referral_source_other" drop not null;
alter table "public"."jobs" add column "referral_source_other" text;

View File

@@ -0,0 +1 @@
alter table "public"."jobs" drop column "referral_source_other" cascade;

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."jobs" add column "referral_source_extra" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."jobs" add column "referral_source_extra" text
null;

View File

@@ -555,7 +555,7 @@ exports.GET_JOB_BY_PK = ` query GET_JOB_BY_PK($id: uuid!) {
kmin
kmout
referral_source
referral_source_other
referral_source_extra
unit_number
po_number
special_coverage_policy