This commit is contained in:
hamid zarghami
2025-04-30 16:43:33 +03:30
parent 702e66c328
commit c969f48fcc
+6 -6
View File
@@ -112,12 +112,12 @@ const UpdateCustomer: FC = () => {
birthDate: data.birthDate || '',
nationalCode: data.nationalCode || '',
password: data.password || '',
economicCode: legal.economicCode || '',
registrationName: legal.registrationName || '',
registrationCode: legal.registrationCode || '',
nationalIdentity: legal.nationalIdentity || '',
postalCode: legal.address.postalCode || '',
address: legal.address?.fullAddress || '',
economicCode: legal?.economicCode || '',
registrationName: legal?.registrationName || '',
registrationCode: legal?.registrationCode || '',
nationalIdentity: legal?.nationalIdentity || '',
postalCode: legal?.address?.postalCode || '',
address: legal?.address?.fullAddress || '',
cityId: legal?.address?.city?.id,
profilePic: data.profilePic || ''
});