diff --git a/ipi-survey-platform/src/components/common/Footer.jsx b/ipi-survey-platform/src/components/common/Footer.jsx
index c09df4d..5c706cb 100644
--- a/ipi-survey-platform/src/components/common/Footer.jsx
+++ b/ipi-survey-platform/src/components/common/Footer.jsx
@@ -55,8 +55,8 @@ const Footer = () => {
className="h-4 w-4 mt-[2px] opacity-80"
/>
- +971 4 608 0000
- +971 4 327 3535
+ +971-504519711
+ {/* +971 4 327 3535 */}
@@ -68,10 +68,10 @@ const Footer = () => {
className="h-4 w-4 opacity-80"
/>
- info@fcsc.gov.ae
+ Bhavinkumar.Chandulal@fcsc.gov.ae
diff --git a/ipi-survey-platform/src/pages/Admin/configuration/CompanyProfile.jsx b/ipi-survey-platform/src/pages/Admin/configuration/CompanyProfile.jsx
index 92bf19b..839c70f 100644
--- a/ipi-survey-platform/src/pages/Admin/configuration/CompanyProfile.jsx
+++ b/ipi-survey-platform/src/pages/Admin/configuration/CompanyProfile.jsx
@@ -836,8 +836,7 @@ const CompanyProfile = () => {
width="100%"
required
error={fieldErrors.userProfileName}
- {...fieldProps('userProfileName')}
-
+ readOnly={modalMode === 'view'}
/>
{
type="email"
required
error={fieldErrors.userProfileEmail}
+ readOnly={modalMode === 'view'}
/>
{modalMode === 'add' && (
<>
@@ -919,6 +919,7 @@ const CompanyProfile = () => {
onChange={handleFormChange('permanentFactoryCode')}
placeholder="Enter Factory Code"
width="100%"
+ readOnly={modalMode === 'view'}
/>
{
width="100%"
required
error={fieldErrors.uniqueLicenseNumber}
+ readOnly={modalMode === 'view'}
/>
{
onChange={handleFormChange('industryCodeBusiness')}
placeholder="Enter Code"
width="100%"
+ readOnly={modalMode === 'view'}
/>
{
onChange={handleFormChange('industryCodeProduction')}
placeholder="Enter Code"
width="100%"
+ readOnly={modalMode === 'view'}
/>
@@ -957,6 +961,7 @@ const CompanyProfile = () => {
placeholder="Enter Description"
width="100%"
style={{ height: '72px' }}
+ readOnly={modalMode === 'view'}
/>
@@ -971,6 +976,7 @@ const CompanyProfile = () => {
width="100%"
multiline
rows={3}
+ readOnly={modalMode === 'view'}
/>
{/*
{
width="100%"
required
error={fieldErrors.contactName}
+ readOnly={modalMode === 'view'}
/>
{
onChange={handleFormChange('contactAddress')}
placeholder="Enter Address"
width="100%"
+ readOnly={modalMode === 'view'}
// required
// error={fieldErrors.contactAddress}
/>
@@ -1029,6 +1037,7 @@ const CompanyProfile = () => {
width="100%"
required
error={fieldErrors.contactEmirate}
+ readOnly={modalMode === 'view'}
/>
{
width="100%"
required
error={fieldErrors.contactCityTown}
+ readOnly={modalMode === 'view'}
/>
{
type="tel"
inputMode="numeric"
pattern="[0-9]*"
+ readOnly={modalMode === 'view'}
/>
{
onChange={handleFormChange('contactPoBox')}
placeholder="Enter PO box"
width="100%"
+ readOnly={modalMode === 'view'}
/>
{
placeholder="Enter Makani Number"
width="100%"
error={fieldErrors.contactMakaniNumber}
+ readOnly={modalMode === 'view'}
/>
{
placeholder="Enter Name"
width="100%"
error={fieldErrors.contactPersonName}
+ readOnly={modalMode === 'view'}
/>
{
onChange={handleFormChange('contactPersonDesignation')}
placeholder="Enter contact person designation"
width="100%"
+ readOnly={modalMode === 'view'}
/>
{
value={form.contactMobileNumber}
onChange={handleFormChange('contactMobileNumber')}
width="100%"
+ readOnly={modalMode === 'view'}
// required
// error={fieldErrors.contactMobileNumber}
/>
@@ -1109,6 +1125,7 @@ const CompanyProfile = () => {
width="100%"
required
error={fieldErrors.contactEmail}
+ readOnly={modalMode === 'view'}
/>
{
placeholder="Enter Website"
width="100%"
error={fieldErrors.contactWebsite}
+ readOnly={modalMode === 'view'}
/>
@@ -1134,6 +1152,7 @@ const CompanyProfile = () => {
width="100%"
type="number"
error={fieldErrors.employmentEmiratiMale}
+ readOnly={modalMode === 'view'}
/>
{
width="100%"
type="number"
error={fieldErrors.employmentNonEmiratiMale}
+ readOnly={modalMode === 'view'}
/>
{
width="100%"
type="number"
error={fieldErrors.employmentEmiratiFemale}
+ readOnly={modalMode === 'view'}
/>
{
width="100%"
type="number"
error={fieldErrors.employmentNonEmiratiFemale}
+ readOnly={modalMode === 'view'}
/>
{
{(product.hsCode || product.hs_code) && (product.productName || product.label || product.product_name) ? ' - ' : ''}
{product.productName || product.label || product.product_name || ''}
+{modalMode !== 'view' && (
+ )}
+
))}
@@ -1268,6 +1293,7 @@ const CompanyProfile = () => {
{product.product_name || product.productName || product.label || 'Unnamed Product'}
+ {modalMode !== 'view' && (
+ )}
))}
@@ -2124,7 +2151,7 @@ const displayedRows = filteredProfiles.map((item) => {
setSelectedProducts([]);
}
}
-
+ setIsViewMode(false);
setModalMode('edit');
setIsDirty(false);
@@ -3130,7 +3157,7 @@ const handleImport = async () => {
{/* {modalMode === 'edit' ? 'Edit Company Profile' : 'Add Profile'} */}
- {isViewMode ? 'View Profile' : modalMode === 'edit' ? 'Edit Profile' : 'Add Profile'}
+ {isViewMode ? 'View Profile' : modalMode === 'edit' ? 'Edit Profile' : 'Add Profile'}