This commit is contained in:
Ahmed Bouhuolia
2026-03-27 16:11:06 +02:00
parent 4dc5c5abe0
commit f5d1800c8c
5 changed files with 9 additions and 5 deletions

View File

@@ -23,7 +23,9 @@
"tenants:migrate:latest": "lerna run cli:tenants:migrate:latest --scope \"@bigcapital/server\"",
"system:seed:latest": "lerna run cli:system:seed:latest --scope \"@bigcapital/server\"",
"tenants:seed:latest": "lerna run cli:tenants:seed:latest --scope \"@bigcapital/server\"",
"generate:sdk-types": "lerna run openapi:export --scope \"@bigcapital/server\" && lerna run generate --scope \"@bigcapital/sdk-ts\" && lerna run build --scope \"@bigcapital/sdk-ts\""
"generate:sdk-types": "lerna run openapi:export --scope \"@bigcapital/server\" && lerna run generate --scope \"@bigcapital/sdk-ts\" && lerna run build --scope \"@bigcapital/sdk-ts\"",
"format": "lerna run format",
"format:check": "lerna run format:check"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",

View File

@@ -55,14 +55,14 @@ export function CustomerFormBasicSection({}) {
</FFormGroup>
<FFormGroup
name={'customer_code'}
name={'code'}
label={'Customer Code'}
helperText="Add a unique account number to identify, reference and search for the contact."
inline
fill
>
<FInputGroup
name={'customer_code'}
name={'code'}
fill />
</FFormGroup>

View File

@@ -14,6 +14,7 @@ export const defaultInitialValues = {
last_name: '',
company_name: '',
display_name: '',
code: '',
email: '',
work_phone: '',

View File

@@ -54,14 +54,14 @@ export function VendorFormBasicSection({}) {
</FFormGroup>
<FFormGroup
name={'vendor_code'}
name={'code'}
label={'Vendor Code'}
helperText="Add a unique account number to identify, reference and search for the contact."
inline
fill
fastField
>
<FInputGroup name={'vendor_code'} fill fastField />
<FInputGroup name={'code'} fill fastField />
</FFormGroup>
{/*----------- Company Name -----------*/}

View File

@@ -13,6 +13,7 @@ export const defaultInitialValues = {
last_name: '',
company_name: '',
display_name: '',
code: '',
email: '',
work_phone: '',