fix(shift): update Z-report title to Albanian translation
This commit is contained in:
@@ -24,3 +24,4 @@ dist/
|
|||||||
|
|
||||||
# Graphify knowledge-graph output (dev tool; generated, not committed)
|
# Graphify knowledge-graph output (dev tool; generated, not committed)
|
||||||
graphify-out/
|
graphify-out/
|
||||||
|
parking.sqlite*.bak-*
|
||||||
@@ -335,7 +335,7 @@ export class ShiftService {
|
|||||||
`Expected drawer: ${money(r.expectedDrawerMinor)} ${cur}`,
|
`Expected drawer: ${money(r.expectedDrawerMinor)} ${cur}`,
|
||||||
];
|
];
|
||||||
try {
|
try {
|
||||||
await printer.printReport({ title: "SHIFT Z-REPORT", lines });
|
await printer.printReport({ title: "RAPORT TURNI", lines });
|
||||||
return true;
|
return true;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.#logger.warn(`Z-report print failed for ${r.operator}: ${(err as Error).message} (event recorded)`);
|
this.#logger.warn(`Z-report print failed for ${r.operator}: ${(err as Error).message} (event recorded)`);
|
||||||
|
|||||||
Reference in New Issue
Block a user