changes in Ui

This commit is contained in:
Sibunnayak 2024-08-23 15:46:44 +05:30
parent ab8a468c0b
commit cb609c3372
3 changed files with 8 additions and 6 deletions

View File

@ -52,7 +52,7 @@ const AddMultiplePd = () => {
},
}
);
console.log(data);
// console.log(data);
if (data.errors && data.errors.length > 0) {
setErrors(data.errors);
}
@ -198,6 +198,7 @@ const AddMultiplePd = () => {
<table className="table table-bordered">
<thead>
<tr>
<th>uniqueId</th>
<th>Principal Distributor Name</th>
<th>Email</th>
<th>Phone</th>
@ -208,9 +209,10 @@ const AddMultiplePd = () => {
<tbody>
{newlyCreated.map((distributor, index) => (
<tr key={index}>
<td>{distributor.name || "N/A"}</td>
<td>{distributor.email || "N/A"}</td>
<td>{distributor.phone || "N/A"}</td>
<td>{distributor?.distributor?.uniqueId || "N/A"}</td>
<td>{distributor?.distributor?.name || "N/A"}</td>
<td>{distributor?.distributor?.email || "N/A"}</td>
<td>{distributor?.distributor?.phone || "N/A"}</td>
<td>{distributor?.address?.panNumber || "N/A"}</td>
<td>{distributor?.address?.gstNumber || "N/A"}</td>
</tr>

View File

@ -205,7 +205,7 @@ const AddPrincipalDistributor = () => {
htmlFor="SBU"
className="form-label"
>
Principal Distributor SBU*
SBU*
</Typography>
</Grid>
<Grid item xs={10}>

View File

@ -155,7 +155,7 @@ const SinglePrincipalDistributorAllDetails = () => {
</Typography>
</Typography>
<Typography style={{ fontWeight: "bold", fontSize: "1.2rem" }}>
Principal Distributor SBU:
SBU:
<Typography
component="span"
style={{