feat(cashier): add GL denomination tracking, real-time balance, and enhanced closing report
- Save denomination breakdown for GL journal entries via new /cashier/gl-denomination endpoint - Add payment type, date/time, teller name columns to GL Entries closing report - Show GL badge for GL vouchers vs numeric ID for savings transactions - Add payment type required and denomination overdraft validations for GL transactions - Fix GL account number display in confirm dialog Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
010adcb44f
commit
05cbe21542
@@ -212,8 +212,11 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="gl-th--voucher">Voucher No</th>
|
||||
<th class="gl-th--date">Date</th>
|
||||
<th>A/C No</th>
|
||||
<th>A/C Name</th>
|
||||
<th class="gl-th--pt">Payment Type</th>
|
||||
<th class="gl-th--teller">Teller</th>
|
||||
<th class="num gl-th--dr">DR (₹)</th>
|
||||
<th class="num gl-th--cr">CR (₹)</th>
|
||||
</tr>
|
||||
@@ -221,9 +224,29 @@
|
||||
<tbody>
|
||||
@for (r of glRows; track $index) {
|
||||
<tr [class.gl-row--dr]="r.dr > 0" [class.gl-row--cr]="r.cr > 0">
|
||||
<td class="gl-voucher">{{ r.voucherNo }}</td>
|
||||
<td class="gl-voucher">
|
||||
@if (r.txnSource === 'GL') {
|
||||
<span class="gl-badge">GL</span>
|
||||
} @else {
|
||||
{{ r.voucherNo }}
|
||||
}
|
||||
</td>
|
||||
<td class="gl-date">
|
||||
<div>{{ r.txnDate }}</div>
|
||||
@if (r.txnTime) {
|
||||
<div class="gl-time">{{ r.txnTime }}</div>
|
||||
}
|
||||
</td>
|
||||
<td class="gl-acno">{{ r.acNo }}</td>
|
||||
<td class="gl-acname">{{ r.acName }}</td>
|
||||
<td class="gl-pt">
|
||||
@if (r.paymentType) {
|
||||
<span class="gl-pt-badge">{{ r.paymentType }}</span>
|
||||
} @else {
|
||||
<span class="gl-pt-none">—</span>
|
||||
}
|
||||
</td>
|
||||
<td class="gl-teller">{{ r.tellerName || '—' }}</td>
|
||||
<td class="num gl-amt--dr">
|
||||
@if (r.dr > 0) {
|
||||
₹{{ r.dr | number: '1.2-2' }}
|
||||
@@ -239,7 +262,7 @@
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr class="gl-foot">
|
||||
<td colspan="3" class="gl-foot__label">Total</td>
|
||||
<td colspan="6" class="gl-foot__label">Total</td>
|
||||
<td class="num gl-amt--dr gl-foot__val">₹{{ glTotalDr | number: '1.2-2' }}</td>
|
||||
<td class="num gl-amt--cr gl-foot__val">₹{{ glTotalCr | number: '1.2-2' }}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user