.
This commit is contained in:
parent
01fba79e38
commit
a7b2fa383c
@ -42,10 +42,11 @@
|
|||||||
"@repo/shadcn-ui": "workspace:*",
|
"@repo/shadcn-ui": "workspace:*",
|
||||||
"@tanstack/react-query": "^5.98.0",
|
"@tanstack/react-query": "^5.98.0",
|
||||||
"express": "^4.22.1",
|
"express": "^4.22.1",
|
||||||
|
"lucide-react": "^1.8.0",
|
||||||
"react-hook-form": "^7.72.1",
|
"react-hook-form": "^7.72.1",
|
||||||
"react-i18next": "^17.0.2",
|
"react-i18next": "^17.0.2",
|
||||||
"react-router-dom": "^7.14.0",
|
"react-router-dom": "^7.14.0",
|
||||||
"sequelize": "^6.37.8",
|
"sequelize": "^6.37.8",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -142,22 +142,30 @@ export const CompanyDetailsSettingsPage = () => {
|
|||||||
>
|
>
|
||||||
<RdxFormGrid className="md:grid-cols-2">
|
<RdxFormGrid className="md:grid-cols-2">
|
||||||
<TextField<CompanySettingsForm>
|
<TextField<CompanySettingsForm>
|
||||||
description={t("settings.companyDetails.sections.contact.fields.email.description")}
|
description={t(
|
||||||
|
"settings.companyDetails.sections.contact.fields.email.description"
|
||||||
|
)}
|
||||||
disabled={ctrl.isSaving}
|
disabled={ctrl.isSaving}
|
||||||
inputClassName="bg-background"
|
inputClassName="bg-background"
|
||||||
label={t("settings.companyDetails.sections.contact.fields.email.label")}
|
label={t("settings.companyDetails.sections.contact.fields.email.label")}
|
||||||
name="email"
|
name="email"
|
||||||
placeholder={t("settings.companyDetails.sections.contact.fields.email.placeholder")}
|
placeholder={t(
|
||||||
|
"settings.companyDetails.sections.contact.fields.email.placeholder"
|
||||||
|
)}
|
||||||
typePreset="email"
|
typePreset="email"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<TextField<CompanySettingsForm>
|
<TextField<CompanySettingsForm>
|
||||||
description={t("settings.companyDetails.sections.contact.fields.phone.description")}
|
description={t(
|
||||||
|
"settings.companyDetails.sections.contact.fields.phone.description"
|
||||||
|
)}
|
||||||
disabled={ctrl.isSaving}
|
disabled={ctrl.isSaving}
|
||||||
inputClassName="bg-background"
|
inputClassName="bg-background"
|
||||||
label={t("settings.companyDetails.sections.contact.fields.phone.label")}
|
label={t("settings.companyDetails.sections.contact.fields.phone.label")}
|
||||||
name="phone"
|
name="phone"
|
||||||
placeholder={t("settings.companyDetails.sections.contact.fields.phone.placeholder")}
|
placeholder={t(
|
||||||
|
"settings.companyDetails.sections.contact.fields.phone.placeholder"
|
||||||
|
)}
|
||||||
typePreset="phone"
|
typePreset="phone"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -186,9 +194,9 @@ export const CompanyDetailsSettingsPage = () => {
|
|||||||
>
|
>
|
||||||
<RdxFormGrid className="md:grid-cols-2">
|
<RdxFormGrid className="md:grid-cols-2">
|
||||||
<SelectField<CompanySettingsForm>
|
<SelectField<CompanySettingsForm>
|
||||||
|
className="col-span-full"
|
||||||
clearable
|
clearable
|
||||||
clearLabel={t("settings.companyDetails.sections.paymentTerm.field.none")}
|
clearLabel={t("settings.companyDetails.sections.paymentTerm.field.none")}
|
||||||
className="col-span-full"
|
|
||||||
description={t("settings.companyDetails.sections.paymentTerm.field.description")}
|
description={t("settings.companyDetails.sections.paymentTerm.field.description")}
|
||||||
disabled={ctrl.isSaving}
|
disabled={ctrl.isSaving}
|
||||||
emptyValue=""
|
emptyValue=""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user