feat(cashier): GL Entries view in Closing Cash Report
- New 'GL View' toggle button in header — switches between denomination report and GL entries table - GL table: Voucher No, A/C No, A/C Name (customer), DR (red), CR (green) - Filters: Teller Head dropdown → Cashier dropdown (cascading) - Load button resets to denomination view (showGl = false) - Header shows Total DR / Total CR summary - DR rows: light red bg; CR rows: light green bg Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1aa46397a6
commit
3be2f96210
@@ -129,6 +129,13 @@ export class CashierService {
|
||||
return this.http.get('/cashreports/cashier-day-status');
|
||||
}
|
||||
|
||||
getGlEntries(date: string, cashierId?: number, tellerId?: number): Observable<any> {
|
||||
let params = new HttpParams().set('date', date);
|
||||
if (cashierId) params = params.set('cashierId', String(cashierId));
|
||||
if (tellerId) params = params.set('tellerId', String(tellerId));
|
||||
return this.http.get('/cashreports/gl-entries', { params });
|
||||
}
|
||||
|
||||
checkSettlement(cashierId: number, date: string): Observable<any> {
|
||||
const params = new HttpParams().set('cashierId', String(cashierId)).set('date', date);
|
||||
return this.http.get('/cashsettlement/check', { params });
|
||||
|
||||
Reference in New Issue
Block a user