Increase the gap for Advance Payment rows.

This commit is contained in:
Kartik Sharma 2025-11-26 16:56:01 +05:30
parent 833cb98dd3
commit 7b1ad80d78
2 changed files with 4 additions and 8 deletions

View File

@ -73,7 +73,7 @@ const AdvancePaymentList = ({ searchString }) => {
<tbody>
{rows.length > 0 ? (
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) => (
<td key={col.key} className={`d-table-cell ${col.align} py-3`}>
{col.customRender

View File

@ -79,14 +79,9 @@ const AdvancePaymentPageDetails = () => {
<>
<label className="fs-5 fw-semibold">Current Balance : </label>
<span
className={`${balance > 0 ? "text-success" : "text-danger"
} fs-5 fw-bold ms-1`}
className={`${balance > 0 ? "text-success" : "text-danger"} fs-5 fw-bold ms-1`}
>
{balance > 0 ? (
<i className="bx bx-plus b-sm"></i>
) : (
<i className="bx bx-minus b-sm"></i>
)}{" "}
{balance > 0 && <i className="bx bx-plus b-sm"></i>}{" "}
{formatFigure(balance, {
type: "currency",
currency: "INR",
@ -96,6 +91,7 @@ const AdvancePaymentPageDetails = () => {
) : (
<></>
)}
</div>
</div>
<AdvancePaymentList employeeId={selectedEmployeeId} searchString={searchString} />