Print List button added to main checkout page.
Release notes tweak for path change
Signed-off-by: Bill Erickson <berickxx@gmail.com>
+<div class="d-flex">
+ <div class="flex-1"></div>
+ <div>
+ <button type="button" class="scko-button" (click)="printList()" i18n>Print List</button>
+ </div>
+</div>
<div id='oils-selfck-circ-table-div'>
<table id='oils-selfck-circ-table' class='oils-selfck-item-table'>
<thead>
ngOnInit() {
}
+
+ printList() {
+ this.scko.printReceipt();
+ }
}
).pipe(switchMap(sums => {
return this.pcrud.search('mbt', {id: sums.map(s => s.id())},
- { order_by: 'xact_start',
+ { order_by: {mbt: 'xact_start'},
flesh: 5,
flesh_fields: {
mbt: ['summary', 'circulation', 'grocery'],
if (username && !this.patronPasswordRequired) {
return this.loadPatron(username);
+ } else {
+ // Go to the base checkout page by default.
+ this.router.navigate(['/staff/scko']);
}
}).catch(_ => {}); // console errors
}
this.focusBarcode.emit();
- // TODO on success tell the summary to update its numbers.
-
if (this.alertAudio && ctx.alertSound) {
this.audio.play(ctx.alertSound);
}
The patron self-checkout interface is now available as an Angular port of
the interface.
-https://myhost.mydomain/eg2/scko
+https://myhost.mydomain/eg2/staff/scko
=== New Print Templates ===