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) {
|
if (data.errors && data.errors.length > 0) {
|
||||||
setErrors(data.errors);
|
setErrors(data.errors);
|
||||||
}
|
}
|
||||||
@ -198,6 +198,7 @@ const AddMultiplePd = () => {
|
|||||||
<table className="table table-bordered">
|
<table className="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>uniqueId</th>
|
||||||
<th>Principal Distributor Name</th>
|
<th>Principal Distributor Name</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
<th>Phone</th>
|
<th>Phone</th>
|
||||||
@ -208,9 +209,10 @@ const AddMultiplePd = () => {
|
|||||||
<tbody>
|
<tbody>
|
||||||
{newlyCreated.map((distributor, index) => (
|
{newlyCreated.map((distributor, index) => (
|
||||||
<tr key={index}>
|
<tr key={index}>
|
||||||
<td>{distributor.name || "N/A"}</td>
|
<td>{distributor?.distributor?.uniqueId || "N/A"}</td>
|
||||||
<td>{distributor.email || "N/A"}</td>
|
<td>{distributor?.distributor?.name || "N/A"}</td>
|
||||||
<td>{distributor.phone || "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?.panNumber || "N/A"}</td>
|
||||||
<td>{distributor?.address?.gstNumber || "N/A"}</td>
|
<td>{distributor?.address?.gstNumber || "N/A"}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -205,7 +205,7 @@ const AddPrincipalDistributor = () => {
|
|||||||
htmlFor="SBU"
|
htmlFor="SBU"
|
||||||
className="form-label"
|
className="form-label"
|
||||||
>
|
>
|
||||||
Principal Distributor SBU*
|
SBU*
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={10}>
|
<Grid item xs={10}>
|
||||||
|
@ -155,7 +155,7 @@ const SinglePrincipalDistributorAllDetails = () => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography style={{ fontWeight: "bold", fontSize: "1.2rem" }}>
|
<Typography style={{ fontWeight: "bold", fontSize: "1.2rem" }}>
|
||||||
Principal Distributor SBU:
|
SBU:
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
style={{
|
style={{
|
||||||
|
Loading…
Reference in New Issue
Block a user