Added body and refinish split to shop config IO-676
This commit is contained in:
@@ -648,6 +648,30 @@ export default function ShopInfoComponent({ form, saveLoading }) {
|
||||
>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.md_hour_split.lab")}
|
||||
name={["md_hour_split", "lab"]}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
>
|
||||
<InputNumber min={0} max={1} precision={2} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label={t("bodyshop.fields.md_hour_split.lar")}
|
||||
name={["md_hour_split", "lar"]}
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
message: t("general.validation.required"),
|
||||
},
|
||||
]}
|
||||
>
|
||||
<InputNumber min={0} max={1} precision={2} />
|
||||
</Form.Item>
|
||||
</LayoutFormRow>
|
||||
</Collapse.Panel>
|
||||
<Collapse.Panel
|
||||
|
||||
@@ -79,6 +79,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
workingdays
|
||||
use_fippa
|
||||
md_payment_types
|
||||
md_hour_split
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
@@ -156,6 +157,7 @@ export const UPDATE_SHOP = gql`
|
||||
workingdays
|
||||
use_fippa
|
||||
md_payment_types
|
||||
md_hour_split
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
|
||||
@@ -215,6 +215,10 @@
|
||||
"logo_img_path": "Shop Logo",
|
||||
"md_categories": "Categories",
|
||||
"md_classes": "Classes",
|
||||
"md_hour_split": {
|
||||
"lab": "Body Hour Split",
|
||||
"lar": "Refinish Hour Split"
|
||||
},
|
||||
"md_ins_cos": "Insurance Companies",
|
||||
"md_payment_types": "Payment Types",
|
||||
"md_referral_sources": "Referral Sources",
|
||||
|
||||
@@ -215,6 +215,10 @@
|
||||
"logo_img_path": "",
|
||||
"md_categories": "",
|
||||
"md_classes": "",
|
||||
"md_hour_split": {
|
||||
"lab": "",
|
||||
"lar": ""
|
||||
},
|
||||
"md_ins_cos": "",
|
||||
"md_payment_types": "",
|
||||
"md_referral_sources": "",
|
||||
|
||||
@@ -215,6 +215,10 @@
|
||||
"logo_img_path": "",
|
||||
"md_categories": "",
|
||||
"md_classes": "",
|
||||
"md_hour_split": {
|
||||
"lab": "",
|
||||
"lar": ""
|
||||
},
|
||||
"md_ins_cos": "",
|
||||
"md_payment_types": "",
|
||||
"md_referral_sources": "",
|
||||
|
||||
Reference in New Issue
Block a user