feat : add available balance in account statement
This commit is contained in:
@@ -23,6 +23,7 @@ export const generatePDF = (
|
||||
minimumFractionDigits: 2,
|
||||
})} ${t.type === "DR" ? "dr." : "cr."}
|
||||
</td>
|
||||
<td style="border:1px solid #ccc; padding:6px; text-align:right; color: blue;">${t.balance}</td>
|
||||
</tr>
|
||||
`
|
||||
);
|
||||
@@ -56,6 +57,7 @@ export const generatePDF = (
|
||||
<th style="border:1px solid #ccc;padding:6px;text-align:center;">Date</th>
|
||||
<th style="border:1px solid #ccc;padding:6px;text-align:left;">Description</th>
|
||||
<th style="border:1px solid #ccc;padding:6px;text-align:right;">Amount (₹)</th>
|
||||
<th style="border:1px solid #ccc;padding:6px;text-align:right;">Available Amount (₹)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user