diff --git a/client/src/components/Farmer/FDashboard.jsx b/client/src/components/Farmer/FDashboard.jsx index 4e57597..0a73955 100644 --- a/client/src/components/Farmer/FDashboard.jsx +++ b/client/src/components/Farmer/FDashboard.jsx @@ -42,19 +42,19 @@ function Box({ data, showSecondaryBox }) { return (
Name: {data.name}
-Crop: {data.crop}
-Quantity required: {data.quantity}
-Mobile No: {data.mobile}
-State: {data.state}
+Name: {data.profile?.displayName || 'N/A'} {data.profile?.lname || ''}
+Contact Name: {data.displayName || 'N/A'}
+Phone: {data.profile?.phone || 'N/A'}
+State: {data.address?.state || 'N/A'}
Name: {data.name}
-Crop: {data.crop}
-Quantity: {data.quantity}
-Language Known: {data.languages}
-Mobile: {data.mobile}
-E-mail: {data.email}
-Address: {data.address}
-City: {data.city}
-District: {data.district}
-State: {data.state}
-Pincode: {data.pincode}
-Name : {data.profile?.displayName || 'N/A'} {data.profile?.lname || ''}
+Company Name : {data.address?.companyName || 'N/A'}
+Phone : {data.profile?.phone || 'N/A'}
+Email : {data.profile?.email || 'N/A'}
+Address 1 : {data.address?.addr1}
+Address 2 : {data.address?.addr2}
+State : {data.address?.state}
+Country : {data.address?.country}
+Bank: {data.bank?.bank_name || 'N/A'}
+ + {/*IFSC Code: {data.ifsc || 'N/A'}
+Branch: {data.branch_name || 'N/A'}
+Bank: {data.bank_name || 'N/A'}
+Signature:
*/}