Increase the gap for Advance Payment rows.
This commit is contained in:
parent
833cb98dd3
commit
7b1ad80d78
@ -73,7 +73,7 @@ const AdvancePaymentList = ({ searchString }) => {
|
|||||||
<tbody>
|
<tbody>
|
||||||
{rows.length > 0 ? (
|
{rows.length > 0 ? (
|
||||||
rows.map((row) => (
|
rows.map((row) => (
|
||||||
<tr key={row.id} className="align-middle" style={{ height: "40px" }}>
|
<tr key={row.id} className="align-middle" style={{ height: "50px" }}>
|
||||||
{columns.map((col) => (
|
{columns.map((col) => (
|
||||||
<td key={col.key} className={`d-table-cell ${col.align} py-3`}>
|
<td key={col.key} className={`d-table-cell ${col.align} py-3`}>
|
||||||
{col.customRender
|
{col.customRender
|
||||||
|
|||||||
@ -79,14 +79,9 @@ const AdvancePaymentPageDetails = () => {
|
|||||||
<>
|
<>
|
||||||
<label className="fs-5 fw-semibold">Current Balance : </label>
|
<label className="fs-5 fw-semibold">Current Balance : </label>
|
||||||
<span
|
<span
|
||||||
className={`${balance > 0 ? "text-success" : "text-danger"
|
className={`${balance > 0 ? "text-success" : "text-danger"} fs-5 fw-bold ms-1`}
|
||||||
} fs-5 fw-bold ms-1`}
|
|
||||||
>
|
>
|
||||||
{balance > 0 ? (
|
{balance > 0 && <i className="bx bx-plus b-sm"></i>}{" "}
|
||||||
<i className="bx bx-plus b-sm"></i>
|
|
||||||
) : (
|
|
||||||
<i className="bx bx-minus b-sm"></i>
|
|
||||||
)}{" "}
|
|
||||||
{formatFigure(balance, {
|
{formatFigure(balance, {
|
||||||
type: "currency",
|
type: "currency",
|
||||||
currency: "INR",
|
currency: "INR",
|
||||||
@ -96,6 +91,7 @@ const AdvancePaymentPageDetails = () => {
|
|||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<AdvancePaymentList employeeId={selectedEmployeeId} searchString={searchString} />
|
<AdvancePaymentList employeeId={selectedEmployeeId} searchString={searchString} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user