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