changes in Ui
This commit is contained in:
parent
ab8a468c0b
commit
cb609c3372
@ -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>
|
||||
|
@ -205,7 +205,7 @@ const AddPrincipalDistributor = () => {
|
||||
htmlFor="SBU"
|
||||
className="form-label"
|
||||
>
|
||||
Principal Distributor SBU*
|
||||
SBU*
|
||||
</Typography>
|
||||
</Grid>
|
||||
<Grid item xs={10}>
|
||||
|
@ -155,7 +155,7 @@ const SinglePrincipalDistributorAllDetails = () => {
|
||||
</Typography>
|
||||
</Typography>
|
||||
<Typography style={{ fontWeight: "bold", fontSize: "1.2rem" }}>
|
||||
Principal Distributor SBU:
|
||||
SBU:
|
||||
<Typography
|
||||
component="span"
|
||||
style={{
|
||||
|
Loading…
Reference in New Issue
Block a user