feat: show account number in GL journal entry list and transaction detail views
- Add savingsAccountNo column to search-journal-entry table (SB/FD/RD/CA) - Add account no column to view-journal-entry-transaction detail table - Fix duplicate .gl-mat-table selector; merge column-width rules inside block Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
6f04c137c5
commit
43bab670a0
+11
@@ -177,6 +177,17 @@
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<!-- Savings / CA Account No -->
|
||||
<ng-container matColumnDef="savingsAccountNo">
|
||||
<th mat-header-cell *matHeaderCellDef class="txn-th">Account No</th>
|
||||
<td mat-cell *matCellDef="let entry" class="txn-td">
|
||||
<span *ngIf="entry.savingsAccountNo" class="txn-acct-no-chip" [matTooltip]="entry.savingsAccountNo">
|
||||
{{ entry.savingsAccountNo }}
|
||||
</span>
|
||||
<span *ngIf="!entry.savingsAccountNo" class="txn-amount--empty">—</span>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<!-- DR/CR Badge -->
|
||||
<ng-container matColumnDef="entryType">
|
||||
<th mat-header-cell *matHeaderCellDef class="txn-th txn-th--center">DR / CR</th>
|
||||
|
||||
+17
@@ -498,3 +498,20 @@ $shadow: 0 2px 12px rgb(0 0 0 / 8%);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.txn-acct-no-chip {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
background: #e8f4fd;
|
||||
border-radius: 4px;
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 0.72rem;
|
||||
color: #1565c0;
|
||||
font-weight: 600;
|
||||
border: 1px solid #bbdefb;
|
||||
white-space: nowrap;
|
||||
max-width: 130px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
+1
@@ -82,6 +82,7 @@ export class ViewJournalEntryTransactionComponent implements OnInit {
|
||||
'glAccountType',
|
||||
'glAccountCode',
|
||||
'glAccountName',
|
||||
'savingsAccountNo',
|
||||
'entryType',
|
||||
'debit',
|
||||
'credit'
|
||||
|
||||
Reference in New Issue
Block a user