teller set in casher

This commit is contained in:
keshav898966
2026-06-24 16:32:37 +05:30
parent 4660a3eb15
commit f3df626483
11 changed files with 125 additions and 68 deletions
@@ -97,6 +97,10 @@ export class CashSettlementComponent implements OnInit {
.pipe(catchError(() => of([] as any[])))
.subscribe((list: any[]) => {
this.tellers = (list || []).map((t: any) => ({ id: t.id, name: t.name }));
if (this.tellers.length === 1) {
this.onTellerSelect(this.tellers[0].id);
this.onSupervisorTellerSelect(this.tellers[0].id);
}
});
this.loadData();
}