@kreiseck/kasseneck-api 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +84 -0
- package/dist/cjs/client/api.d.ts +15 -0
- package/dist/cjs/client/api.js +8 -0
- package/dist/cjs/client/aufrufe.d.ts +4 -4
- package/dist/cjs/client/aufrufe.js +31 -0
- package/dist/cjs/client/index.d.ts +1 -0
- package/dist/cjs/client/index.js +17 -1
- package/dist/cjs/client/terminal.d.ts +206 -0
- package/dist/cjs/client/terminal.js +288 -0
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +17 -1
- package/dist/cjs/pos/aufrunden.d.ts +6 -0
- package/dist/cjs/pos/aufrunden.js +59 -0
- package/dist/cjs/pos/client.js +12 -1
- package/dist/cjs/pos/index.d.ts +4 -3
- package/dist/cjs/pos/index.js +17 -4
- package/dist/cjs/pos/schicht-lesen.d.ts +2 -1
- package/dist/cjs/pos/schicht-lesen.js +48 -1
- package/dist/cjs/pos/schicht-typen.d.ts +106 -3
- package/dist/cjs/pos/schicht-typen.js +14 -4
- package/dist/cjs/pos/schicht.d.ts +28 -2
- package/dist/cjs/pos/schicht.js +19 -0
- package/dist/cjs/pos/settings.d.ts +39 -0
- package/dist/cjs/pos/settings.js +65 -4
- package/dist/cjs/pos/texte.d.ts +292 -0
- package/dist/cjs/pos/texte.js +108 -0
- package/dist/cjs/receipt/shift-sheet.js +29 -0
- package/dist/cjs/stored/einstellungen.js +31 -4
- package/dist/cjs/stored/vokabular.d.ts +1 -1
- package/dist/cjs/stored/vokabular.js +29 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client/api.d.ts +15 -0
- package/dist/esm/client/api.js +8 -0
- package/dist/esm/client/aufrufe.d.ts +4 -4
- package/dist/esm/client/aufrufe.js +31 -0
- package/dist/esm/client/index.d.ts +1 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/terminal.d.ts +206 -0
- package/dist/esm/client/terminal.js +278 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/pos/aufrunden.d.ts +6 -0
- package/dist/esm/pos/aufrunden.js +56 -0
- package/dist/esm/pos/client.js +13 -2
- package/dist/esm/pos/index.d.ts +4 -3
- package/dist/esm/pos/index.js +5 -4
- package/dist/esm/pos/schicht-lesen.d.ts +2 -1
- package/dist/esm/pos/schicht-lesen.js +47 -1
- package/dist/esm/pos/schicht-typen.d.ts +106 -3
- package/dist/esm/pos/schicht-typen.js +13 -3
- package/dist/esm/pos/schicht.d.ts +28 -2
- package/dist/esm/pos/schicht.js +19 -1
- package/dist/esm/pos/settings.d.ts +39 -0
- package/dist/esm/pos/settings.js +60 -3
- package/dist/esm/pos/texte.d.ts +292 -0
- package/dist/esm/pos/texte.js +108 -0
- package/dist/esm/receipt/shift-sheet.js +29 -0
- package/dist/esm/stored/einstellungen.js +32 -5
- package/dist/esm/stored/vokabular.d.ts +1 -1
- package/dist/esm/stored/vokabular.js +29 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/fixtures/duplicate-cases.json +6 -0
- package/fixtures/expected/duplicate.shift-close.hex +28 -27
- package/fixtures/expected/shift-close-blind.grid32.txt +1 -0
- package/fixtures/expected/shift-close-blind.grid48.txt +1 -0
- package/fixtures/expected/shift-close-blind.lines.json +6 -0
- package/fixtures/expected/shift-close-put-in.grid32.txt +1 -0
- package/fixtures/expected/shift-close-put-in.grid48.txt +1 -0
- package/fixtures/expected/shift-close-put-in.lines.json +6 -0
- package/fixtures/expected/shift-close-take-out.grid32.txt +1 -0
- package/fixtures/expected/shift-close-take-out.grid48.txt +1 -0
- package/fixtures/expected/shift-close-take-out.lines.json +6 -0
- package/fixtures/expected/shift-close.grid32.txt +1 -0
- package/fixtures/expected/shift-close.grid48.txt +1 -0
- package/fixtures/expected/shift-close.lines.json +6 -0
- package/fixtures/expected/shift-interim.grid32.txt +1 -0
- package/fixtures/expected/shift-interim.grid48.txt +1 -0
- package/fixtures/expected/shift-interim.lines.json +6 -0
- package/fixtures/hobex-hps-codes.json +1 -1
- package/fixtures/invoice-api.schema.json +1 -1
- package/fixtures/invoice-texts.json +1 -1
- package/fixtures/pos-texts.json +337 -1
- package/fixtures/renames-1.0.json +30 -0
- package/fixtures/shift-ablauf-cases.json +182 -0
- package/fixtures/shift-receipts.json +15 -15
- package/fixtures/surface.json +59 -4
- package/fixtures/tip-round-up-cases.json +27 -0
- package/fixtures/v3/antworten/belege.json +2 -2
- package/fixtures/v3/antworten/belegmail.json +2 -2
- package/fixtures/v3/antworten/berichte.json +2 -2
- package/fixtures/v3/antworten/kasse-belege.json +2 -2
- package/fixtures/v3/antworten/kasse.json +504 -4
- package/fixtures/v3/antworten/lager.json +1 -1
- package/fixtures/v3/antworten/rechnungen.json +2 -2
- package/fixtures/v3/antworten/storno.json +2 -2
- package/fixtures/v3/stored/belege.json +2 -2
- package/fixtures/v3/stored/kasse.json +520 -12
- package/fixtures/v3/stored/rechnungen.json +2 -2
- package/fixtures/v3/v3-vokabular.json +184 -11
- package/fixtures/v3/zahlbetrag-faelle.json +2 -2
- package/package.json +1 -1
package/dist/cjs/pos/texte.d.ts
CHANGED
|
@@ -892,6 +892,29 @@ declare const MELDUNGEN_ROH: {
|
|
|
892
892
|
readonly placeholders: readonly ["target"];
|
|
893
893
|
readonly only: readonly ["app"];
|
|
894
894
|
};
|
|
895
|
+
readonly 'shift.started_taken_over': {
|
|
896
|
+
readonly text: "Schicht {number} hat begonnen – mit {amount} in der Lade, übernommen von Schicht {from} ({time}).";
|
|
897
|
+
readonly placeholders: readonly ["number", "amount", "from", "time"];
|
|
898
|
+
};
|
|
899
|
+
readonly 'tip.summary': {
|
|
900
|
+
readonly text: "Trinkgeld {tip} · der Gast zahlt {total}";
|
|
901
|
+
readonly placeholders: readonly ["tip", "total"];
|
|
902
|
+
};
|
|
903
|
+
readonly 'tip.total_below_sum': {
|
|
904
|
+
readonly text: "Der Betrag liegt unter der Summe.";
|
|
905
|
+
};
|
|
906
|
+
readonly 'shift.interim_saved': {
|
|
907
|
+
readonly text: "Zählung festgehalten.";
|
|
908
|
+
};
|
|
909
|
+
readonly 'shift.finish_step_first': {
|
|
910
|
+
readonly text: "Erst den Schritt rechts abschließen oder abbrechen.";
|
|
911
|
+
};
|
|
912
|
+
readonly 'tip.revenue_hint': {
|
|
913
|
+
readonly text: "Steuerpflichtiges Trinkgeld zählt als Umsatz des Betriebs und wird nicht ausgezahlt.";
|
|
914
|
+
};
|
|
915
|
+
readonly 'tip.unassigned_hint': {
|
|
916
|
+
readonly text: "Trinkgeld ohne angemeldeten Benutzer.";
|
|
917
|
+
};
|
|
895
918
|
};
|
|
896
919
|
export type MessageKey = keyof typeof MELDUNGEN_ROH;
|
|
897
920
|
export declare const MESSAGES: Record<MessageKey, TextEntry>;
|
|
@@ -1683,6 +1706,9 @@ declare const BESCHRIFTUNGEN_ROH: {
|
|
|
1683
1706
|
readonly 'cash_movement.type_handover_difference': {
|
|
1684
1707
|
readonly text: "Übergabedifferenz";
|
|
1685
1708
|
};
|
|
1709
|
+
readonly 'cash_movement.type_interim_difference': {
|
|
1710
|
+
readonly text: "Zwischenzählung";
|
|
1711
|
+
};
|
|
1686
1712
|
readonly 'shift_receipt.title_close': {
|
|
1687
1713
|
readonly text: "Schichtabschluss";
|
|
1688
1714
|
};
|
|
@@ -2509,6 +2535,272 @@ declare const BESCHRIFTUNGEN_ROH: {
|
|
|
2509
2535
|
readonly text: "Nullbeleg {number} erstellt, {time}";
|
|
2510
2536
|
readonly placeholders: readonly ["number", "time"];
|
|
2511
2537
|
};
|
|
2538
|
+
readonly 'zero_receipt.done_title': {
|
|
2539
|
+
readonly text: "Nullbeleg erstellt";
|
|
2540
|
+
};
|
|
2541
|
+
readonly 'zero_receipt.back': {
|
|
2542
|
+
readonly text: "Zurück zur Prüfung";
|
|
2543
|
+
};
|
|
2544
|
+
readonly 'dep.export': {
|
|
2545
|
+
readonly text: "DEP exportieren";
|
|
2546
|
+
};
|
|
2547
|
+
readonly 'dep.period_question': {
|
|
2548
|
+
readonly text: "Welcher Zeitraum?";
|
|
2549
|
+
};
|
|
2550
|
+
readonly 'common.close': {
|
|
2551
|
+
readonly text: "Schließen";
|
|
2552
|
+
};
|
|
2553
|
+
readonly 'shift.state_closed': {
|
|
2554
|
+
readonly text: "Schicht geschlossen";
|
|
2555
|
+
};
|
|
2556
|
+
readonly 'shift.start_title': {
|
|
2557
|
+
readonly text: "Schicht beginnen";
|
|
2558
|
+
};
|
|
2559
|
+
readonly 'shift.band_closed': {
|
|
2560
|
+
readonly text: "Zum Verkaufen rechts die Schicht beginnen.";
|
|
2561
|
+
};
|
|
2562
|
+
readonly 'shift.band_closing': {
|
|
2563
|
+
readonly text: "Verkaufen ist pausiert, bis du fertig bist oder abbrichst.";
|
|
2564
|
+
};
|
|
2565
|
+
readonly 'shift.band_interim': {
|
|
2566
|
+
readonly text: "Verkaufen ist kurz pausiert.";
|
|
2567
|
+
};
|
|
2568
|
+
readonly 'shift.band_cash': {
|
|
2569
|
+
readonly text: "Zum Verkaufen auf die Kacheln tippen.";
|
|
2570
|
+
};
|
|
2571
|
+
readonly 'tip.revenue_title': {
|
|
2572
|
+
readonly text: "Als Umsatz erfasst";
|
|
2573
|
+
};
|
|
2574
|
+
readonly 'tip.revenue_badge': {
|
|
2575
|
+
readonly text: "Umsatz";
|
|
2576
|
+
};
|
|
2577
|
+
readonly 'tip.unassigned': {
|
|
2578
|
+
readonly text: "Nicht zugeordnet";
|
|
2579
|
+
};
|
|
2580
|
+
readonly 'shift.last_shift': {
|
|
2581
|
+
readonly text: "Letzte Schicht";
|
|
2582
|
+
};
|
|
2583
|
+
readonly 'shift.in_drawer_by_system': {
|
|
2584
|
+
readonly text: "Laut Kasse in der Lade";
|
|
2585
|
+
};
|
|
2586
|
+
readonly 'shift.take_over_amount': {
|
|
2587
|
+
readonly text: "{amount} übernehmen";
|
|
2588
|
+
readonly placeholders: readonly ["amount"];
|
|
2589
|
+
};
|
|
2590
|
+
readonly 'shift.top_up': {
|
|
2591
|
+
readonly text: "Auffüllen";
|
|
2592
|
+
};
|
|
2593
|
+
readonly 'shift.missing': {
|
|
2594
|
+
readonly text: "fehlen {amount}";
|
|
2595
|
+
readonly placeholders: readonly ["amount"];
|
|
2596
|
+
};
|
|
2597
|
+
readonly 'shift.count_coins': {
|
|
2598
|
+
readonly text: "Scheine und Münzen zählen";
|
|
2599
|
+
};
|
|
2600
|
+
readonly 'shift.count_please': {
|
|
2601
|
+
readonly text: "Zähl bitte, was in der Lade liegt.";
|
|
2602
|
+
};
|
|
2603
|
+
readonly 'drawer.open_for_count': {
|
|
2604
|
+
readonly text: "Lade öffnen zum Zählen";
|
|
2605
|
+
};
|
|
2606
|
+
readonly 'drawer.open_for_tips': {
|
|
2607
|
+
readonly text: "Lade öffnen für Trinkgeld";
|
|
2608
|
+
};
|
|
2609
|
+
readonly 'drawer.open_for_take': {
|
|
2610
|
+
readonly text: "Lade öffnen zum Entnehmen";
|
|
2611
|
+
};
|
|
2612
|
+
readonly 'shift.close_title_numbered': {
|
|
2613
|
+
readonly text: "Schicht {number} schließen";
|
|
2614
|
+
readonly placeholders: readonly ["number"];
|
|
2615
|
+
};
|
|
2616
|
+
readonly 'shift.closed_title': {
|
|
2617
|
+
readonly text: "Schicht {number} geschlossen";
|
|
2618
|
+
readonly placeholders: readonly ["number"];
|
|
2619
|
+
};
|
|
2620
|
+
readonly 'shift.running_since_drawer': {
|
|
2621
|
+
readonly text: "{drawer} · läuft seit {time} ({duration})";
|
|
2622
|
+
readonly placeholders: readonly ["drawer", "time", "duration"];
|
|
2623
|
+
};
|
|
2624
|
+
readonly 'shift.step_count': {
|
|
2625
|
+
readonly text: "Zählen";
|
|
2626
|
+
};
|
|
2627
|
+
readonly 'shift.step_tips': {
|
|
2628
|
+
readonly text: "Trinkgeld";
|
|
2629
|
+
};
|
|
2630
|
+
readonly 'shift.step_take': {
|
|
2631
|
+
readonly text: "Entnehmen";
|
|
2632
|
+
};
|
|
2633
|
+
readonly 'shift.step_done': {
|
|
2634
|
+
readonly text: "Fertig";
|
|
2635
|
+
};
|
|
2636
|
+
readonly 'shift.expected': {
|
|
2637
|
+
readonly text: "In der Lade sollten sein";
|
|
2638
|
+
};
|
|
2639
|
+
readonly 'shift.of_which_cash_tips': {
|
|
2640
|
+
readonly text: "davon Trinkgeld bar";
|
|
2641
|
+
};
|
|
2642
|
+
readonly 'shift.breakdown': {
|
|
2643
|
+
readonly text: "So setzt sich das zusammen";
|
|
2644
|
+
};
|
|
2645
|
+
readonly 'shift.part_opening': {
|
|
2646
|
+
readonly text: "Anfang";
|
|
2647
|
+
};
|
|
2648
|
+
readonly 'shift.part_cash_sales': {
|
|
2649
|
+
readonly text: "Barverkäufe";
|
|
2650
|
+
};
|
|
2651
|
+
readonly 'shift.part_cash_tips': {
|
|
2652
|
+
readonly text: "Trinkgeld bar";
|
|
2653
|
+
};
|
|
2654
|
+
readonly 'shift.part_cancellations': {
|
|
2655
|
+
readonly text: "Storno bar";
|
|
2656
|
+
};
|
|
2657
|
+
readonly 'shift.part_cash_in': {
|
|
2658
|
+
readonly text: "Einzahlungen";
|
|
2659
|
+
};
|
|
2660
|
+
readonly 'shift.part_cash_out': {
|
|
2661
|
+
readonly text: "Ausgaben aus der Lade";
|
|
2662
|
+
};
|
|
2663
|
+
readonly 'shift.part_interim': {
|
|
2664
|
+
readonly text: "Zwischenzählung";
|
|
2665
|
+
};
|
|
2666
|
+
readonly 'tip.who_takes_now': {
|
|
2667
|
+
readonly text: "Wer nimmt sein Trinkgeld jetzt bar mit?";
|
|
2668
|
+
};
|
|
2669
|
+
readonly 'tip.later_hint': {
|
|
2670
|
+
readonly text: "Was du nicht auszahlst, bleibt offen und wird in einer späteren Schicht ausgezahlt.";
|
|
2671
|
+
};
|
|
2672
|
+
readonly 'tip.later': {
|
|
2673
|
+
readonly text: "Später";
|
|
2674
|
+
};
|
|
2675
|
+
readonly 'tip.pay_out': {
|
|
2676
|
+
readonly text: "Auszahlen";
|
|
2677
|
+
};
|
|
2678
|
+
readonly 'tip.pay_out_amount': {
|
|
2679
|
+
readonly text: "{amount} auszahlen";
|
|
2680
|
+
readonly placeholders: readonly ["amount"];
|
|
2681
|
+
};
|
|
2682
|
+
readonly 'shift.now_in_drawer': {
|
|
2683
|
+
readonly text: "Jetzt in der Lade";
|
|
2684
|
+
};
|
|
2685
|
+
readonly 'shift.interim_title': {
|
|
2686
|
+
readonly text: "Schicht {number} zählen";
|
|
2687
|
+
readonly placeholders: readonly ["number"];
|
|
2688
|
+
};
|
|
2689
|
+
readonly 'shift.interim_save': {
|
|
2690
|
+
readonly text: "Zählung festhalten";
|
|
2691
|
+
};
|
|
2692
|
+
readonly 'shift.opening_not_counted': {
|
|
2693
|
+
readonly text: "Anfang nicht gezählt";
|
|
2694
|
+
};
|
|
2695
|
+
readonly 'shift.taken_over_unchecked_by': {
|
|
2696
|
+
readonly text: "{name}, {time}";
|
|
2697
|
+
readonly placeholders: readonly ["name", "time"];
|
|
2698
|
+
};
|
|
2699
|
+
readonly 'shift.taken_over_unchecked': {
|
|
2700
|
+
readonly text: "Schicht {number} wurde ohne Zählen übernommen";
|
|
2701
|
+
readonly placeholders: readonly ["number"];
|
|
2702
|
+
};
|
|
2703
|
+
readonly 'tip.kind_percent': {
|
|
2704
|
+
readonly text: "Prozent";
|
|
2705
|
+
};
|
|
2706
|
+
readonly 'tip.kind_round_up': {
|
|
2707
|
+
readonly text: "Aufrunden";
|
|
2708
|
+
};
|
|
2709
|
+
readonly 'tip.kind_total': {
|
|
2710
|
+
readonly text: "Gesamt";
|
|
2711
|
+
};
|
|
2712
|
+
readonly 'tip.round_to': {
|
|
2713
|
+
readonly text: "auf {amount}";
|
|
2714
|
+
readonly placeholders: readonly ["amount"];
|
|
2715
|
+
};
|
|
2716
|
+
readonly 'tip.guest_pays_total': {
|
|
2717
|
+
readonly text: "Der Gast zahlt insgesamt";
|
|
2718
|
+
};
|
|
2719
|
+
readonly 'tip.remainder_is_tip': {
|
|
2720
|
+
readonly text: "Rest ist Trinkgeld";
|
|
2721
|
+
};
|
|
2722
|
+
readonly 'voucher.section': {
|
|
2723
|
+
readonly text: "Gutschein";
|
|
2724
|
+
};
|
|
2725
|
+
readonly 'voucher.code_placeholder': {
|
|
2726
|
+
readonly text: "Code eingeben oder scannen";
|
|
2727
|
+
};
|
|
2728
|
+
readonly 'settings.cart_width': {
|
|
2729
|
+
readonly text: "Breite der rechten Spalte";
|
|
2730
|
+
};
|
|
2731
|
+
readonly 'settings.cart_width_narrow': {
|
|
2732
|
+
readonly text: "Schmal";
|
|
2733
|
+
};
|
|
2734
|
+
readonly 'settings.cart_width_medium': {
|
|
2735
|
+
readonly text: "Mittel";
|
|
2736
|
+
};
|
|
2737
|
+
readonly 'settings.cart_width_wide': {
|
|
2738
|
+
readonly text: "Breit";
|
|
2739
|
+
};
|
|
2740
|
+
readonly 'shift_receipt.opening_not_counted': {
|
|
2741
|
+
readonly text: "Anfang übernommen, nicht gezählt";
|
|
2742
|
+
};
|
|
2743
|
+
readonly 'shift_receipt.interim_count': {
|
|
2744
|
+
readonly text: "Zwischenzählung";
|
|
2745
|
+
};
|
|
2746
|
+
readonly 'shift_receipt.counted_before_payout': {
|
|
2747
|
+
readonly text: "Gezählt";
|
|
2748
|
+
};
|
|
2749
|
+
readonly 'shift_receipt.difference_part_interim': {
|
|
2750
|
+
readonly text: "davon Zwischenzählung";
|
|
2751
|
+
};
|
|
2752
|
+
readonly 'shift_receipt.difference_part_closing': {
|
|
2753
|
+
readonly text: "davon Abschluss";
|
|
2754
|
+
};
|
|
2755
|
+
readonly 'shift.state_closing': {
|
|
2756
|
+
readonly text: "Schicht wird geschlossen";
|
|
2757
|
+
};
|
|
2758
|
+
readonly 'shift.state_interim': {
|
|
2759
|
+
readonly text: "Zwischenzählung";
|
|
2760
|
+
};
|
|
2761
|
+
readonly 'shift.tips_paid_out': {
|
|
2762
|
+
readonly text: "Trinkgeld ausgezahlt";
|
|
2763
|
+
};
|
|
2764
|
+
readonly 'shift.difference_none': {
|
|
2765
|
+
readonly text: "stimmt";
|
|
2766
|
+
};
|
|
2767
|
+
readonly 'shift.start_new': {
|
|
2768
|
+
readonly text: "Neue Schicht beginnen";
|
|
2769
|
+
};
|
|
2770
|
+
readonly 'shift.drawer_from_to': {
|
|
2771
|
+
readonly text: "{drawer} · {from} bis {to}";
|
|
2772
|
+
readonly placeholders: readonly ["drawer", "from", "to"];
|
|
2773
|
+
};
|
|
2774
|
+
readonly 'shift.running_since_by': {
|
|
2775
|
+
readonly text: "{drawer} · läuft seit {time} ({name})";
|
|
2776
|
+
readonly placeholders: readonly ["drawer", "time", "name"];
|
|
2777
|
+
};
|
|
2778
|
+
readonly 'shift.z_receipt_printed': {
|
|
2779
|
+
readonly text: "Z-Bon gedruckt";
|
|
2780
|
+
};
|
|
2781
|
+
readonly 'shift.count_now': {
|
|
2782
|
+
readonly text: "Jetzt zählen";
|
|
2783
|
+
};
|
|
2784
|
+
readonly 'shift.interim_entry': {
|
|
2785
|
+
readonly text: "Zwischenzählung";
|
|
2786
|
+
};
|
|
2787
|
+
readonly 'drawer.open': {
|
|
2788
|
+
readonly text: "Lade öffnen";
|
|
2789
|
+
};
|
|
2790
|
+
readonly 'time.today_at': {
|
|
2791
|
+
readonly text: "heute {time}";
|
|
2792
|
+
readonly placeholders: readonly ["time"];
|
|
2793
|
+
};
|
|
2794
|
+
readonly 'tip.summary_percent': {
|
|
2795
|
+
readonly text: "Trinkgeld {tip} ({percent} %)";
|
|
2796
|
+
readonly placeholders: readonly ["tip", "percent"];
|
|
2797
|
+
};
|
|
2798
|
+
readonly 'settings.tip_kinds': {
|
|
2799
|
+
readonly text: "Trinkgeld-Arten";
|
|
2800
|
+
};
|
|
2801
|
+
readonly 'settings.tip_start': {
|
|
2802
|
+
readonly text: "Zuerst offen";
|
|
2803
|
+
};
|
|
2512
2804
|
};
|
|
2513
2805
|
export type LabelKey = keyof typeof BESCHRIFTUNGEN_ROH;
|
|
2514
2806
|
export declare const LABELS: Record<LabelKey, TextEntry>;
|
package/dist/cjs/pos/texte.js
CHANGED
|
@@ -440,6 +440,15 @@ const MELDUNGEN_ROH = {
|
|
|
440
440
|
// --- Nur App -------------------------------------------------------------
|
|
441
441
|
'app.not_in_browser': { text: 'Die Kassen-App läuft nicht im Browser – dafür gibt es kasse.kasseneck.at.', only: ['app'] },
|
|
442
442
|
'app.open_in_browser': { text: 'Bitte im Browser öffnen: {target}', placeholders: ['target'], only: ['app'] },
|
|
443
|
+
// --- Schicht-Ablauf der Kasse (1.28.0) -----------------------------------
|
|
444
|
+
'shift.started_taken_over': { text: 'Schicht {number} hat begonnen – mit {amount} in der Lade, übernommen von Schicht {from} ({time}).', placeholders: ['number', 'amount', 'from', 'time'] },
|
|
445
|
+
'tip.summary': { text: 'Trinkgeld {tip} · der Gast zahlt {total}', placeholders: ['tip', 'total'] },
|
|
446
|
+
'tip.total_below_sum': { text: 'Der Betrag liegt unter der Summe.' },
|
|
447
|
+
'shift.interim_saved': { text: 'Zählung festgehalten.' },
|
|
448
|
+
// Waehrend Zwischenzaehlung oder Abschluss rechts: getippte Wege der Kopfzeile sagen, warum sie gesperrt sind.
|
|
449
|
+
'shift.finish_step_first': { text: 'Erst den Schritt rechts abschließen oder abbrechen.' },
|
|
450
|
+
'tip.revenue_hint': { text: 'Steuerpflichtiges Trinkgeld zählt als Umsatz des Betriebs und wird nicht ausgezahlt.' },
|
|
451
|
+
'tip.unassigned_hint': { text: 'Trinkgeld ohne angemeldeten Benutzer.' },
|
|
443
452
|
};
|
|
444
453
|
// Auf den gemeinsamen Typ gebracht: `Object.entries(MESSAGES)` liefert sonst
|
|
445
454
|
// pro Schluessel den engsten Literaltyp, und `placeholders`/`only` waeren nur
|
|
@@ -921,6 +930,7 @@ const BESCHRIFTUNGEN_ROH = {
|
|
|
921
930
|
'cash_movement.type_expense': { text: 'Barausgabe' },
|
|
922
931
|
'cash_movement.type_count_difference': { text: 'Zähldifferenz' },
|
|
923
932
|
'cash_movement.type_handover_difference': { text: 'Übergabedifferenz' },
|
|
933
|
+
'cash_movement.type_interim_difference': { text: 'Zwischenzählung' },
|
|
924
934
|
// Bon der Schicht (Z-Bon, X-Bon, Kassenbewegung): Titel und Zeilennamen.
|
|
925
935
|
'shift_receipt.title_close': { text: 'Schichtabschluss' },
|
|
926
936
|
'shift_receipt.title_interim': { text: 'Zwischenbericht' },
|
|
@@ -1213,6 +1223,104 @@ const BESCHRIFTUNGEN_ROH = {
|
|
|
1213
1223
|
// mit Belegnummer und Uhrzeit. Scheitert er, gilt `completion.zero_receipt_failed`.
|
|
1214
1224
|
'zero_receipt.create': { text: 'Nullbeleg erstellen' },
|
|
1215
1225
|
'zero_receipt.created': { text: 'Nullbeleg {number} erstellt, {time}', placeholders: ['number', 'time'] },
|
|
1226
|
+
// Prüfung kompakt (1.28.0): der Nullbeleg steht danach wie ein Verkaufsbeleg da (Titel, Rückweg);
|
|
1227
|
+
// das DEP fragt den Zeitraum erst nach „DEP exportieren“ in einem Fenster.
|
|
1228
|
+
'zero_receipt.done_title': { text: 'Nullbeleg erstellt' },
|
|
1229
|
+
'zero_receipt.back': { text: 'Zurück zur Prüfung' },
|
|
1230
|
+
'dep.export': { text: 'DEP exportieren' },
|
|
1231
|
+
'dep.period_question': { text: 'Welcher Zeitraum?' },
|
|
1232
|
+
'common.close': { text: 'Schließen' },
|
|
1233
|
+
// --- Schicht-Ablauf der Kasse (1.28.0) -----------------------------------
|
|
1234
|
+
// Schicht beginnen, laufen lassen, zaehlen, schliessen. `shift.close_title` und
|
|
1235
|
+
// `shift.running_since` gibt es seit 1.11.0 mit anderem Wortlaut und bleiben; die
|
|
1236
|
+
// Fassungen mit Nummer bzw. Lade heissen darum `shift.close_title_numbered` und
|
|
1237
|
+
// `shift.running_since_drawer`.
|
|
1238
|
+
'shift.state_closed': { text: 'Schicht geschlossen' },
|
|
1239
|
+
'shift.start_title': { text: 'Schicht beginnen' },
|
|
1240
|
+
'shift.band_closed': { text: 'Zum Verkaufen rechts die Schicht beginnen.' },
|
|
1241
|
+
'shift.band_closing': { text: 'Verkaufen ist pausiert, bis du fertig bist oder abbrichst.' },
|
|
1242
|
+
'shift.band_interim': { text: 'Verkaufen ist kurz pausiert.' },
|
|
1243
|
+
'shift.band_cash': { text: 'Zum Verkaufen auf die Kacheln tippen.' },
|
|
1244
|
+
// Trinkgeld, das als Umsatz zählt (steuerpflichtig, Inhaber) bzw. ohne Empfänger -- nur Anzeige im Kassenstand,
|
|
1245
|
+
// wortgleich mit dem Kundenbereich.
|
|
1246
|
+
'tip.revenue_title': { text: 'Als Umsatz erfasst' },
|
|
1247
|
+
'tip.revenue_badge': { text: 'Umsatz' },
|
|
1248
|
+
'tip.unassigned': { text: 'Nicht zugeordnet' },
|
|
1249
|
+
'shift.last_shift': { text: 'Letzte Schicht' },
|
|
1250
|
+
'shift.in_drawer_by_system': { text: 'Laut Kasse in der Lade' },
|
|
1251
|
+
'shift.take_over_amount': { text: '{amount} übernehmen', placeholders: ['amount'] },
|
|
1252
|
+
'shift.top_up': { text: 'Auffüllen' },
|
|
1253
|
+
'shift.missing': { text: 'fehlen {amount}', placeholders: ['amount'] },
|
|
1254
|
+
'shift.count_coins': { text: 'Scheine und Münzen zählen' },
|
|
1255
|
+
'shift.count_please': { text: 'Zähl bitte, was in der Lade liegt.' },
|
|
1256
|
+
'drawer.open_for_count': { text: 'Lade öffnen zum Zählen' },
|
|
1257
|
+
'drawer.open_for_tips': { text: 'Lade öffnen für Trinkgeld' },
|
|
1258
|
+
'drawer.open_for_take': { text: 'Lade öffnen zum Entnehmen' },
|
|
1259
|
+
'shift.close_title_numbered': { text: 'Schicht {number} schließen', placeholders: ['number'] },
|
|
1260
|
+
'shift.closed_title': { text: 'Schicht {number} geschlossen', placeholders: ['number'] },
|
|
1261
|
+
'shift.running_since_drawer': { text: '{drawer} · läuft seit {time} ({duration})', placeholders: ['drawer', 'time', 'duration'] },
|
|
1262
|
+
'shift.step_count': { text: 'Zählen' },
|
|
1263
|
+
'shift.step_tips': { text: 'Trinkgeld' },
|
|
1264
|
+
'shift.step_take': { text: 'Entnehmen' },
|
|
1265
|
+
'shift.step_done': { text: 'Fertig' },
|
|
1266
|
+
'shift.expected': { text: 'In der Lade sollten sein' },
|
|
1267
|
+
'shift.of_which_cash_tips': { text: 'davon Trinkgeld bar' },
|
|
1268
|
+
'shift.breakdown': { text: 'So setzt sich das zusammen' },
|
|
1269
|
+
'shift.part_opening': { text: 'Anfang' },
|
|
1270
|
+
'shift.part_cash_sales': { text: 'Barverkäufe' },
|
|
1271
|
+
'shift.part_cash_tips': { text: 'Trinkgeld bar' },
|
|
1272
|
+
'shift.part_cancellations': { text: 'Storno bar' },
|
|
1273
|
+
'shift.part_cash_in': { text: 'Einzahlungen' },
|
|
1274
|
+
'shift.part_cash_out': { text: 'Ausgaben aus der Lade' },
|
|
1275
|
+
'shift.part_interim': { text: 'Zwischenzählung' },
|
|
1276
|
+
'tip.who_takes_now': { text: 'Wer nimmt sein Trinkgeld jetzt bar mit?' },
|
|
1277
|
+
'tip.later_hint': { text: 'Was du nicht auszahlst, bleibt offen und wird in einer späteren Schicht ausgezahlt.' },
|
|
1278
|
+
'tip.later': { text: 'Später' },
|
|
1279
|
+
'tip.pay_out': { text: 'Auszahlen' },
|
|
1280
|
+
'tip.pay_out_amount': { text: '{amount} auszahlen', placeholders: ['amount'] },
|
|
1281
|
+
'shift.now_in_drawer': { text: 'Jetzt in der Lade' },
|
|
1282
|
+
'shift.interim_title': { text: 'Schicht {number} zählen', placeholders: ['number'] },
|
|
1283
|
+
'shift.interim_save': { text: 'Zählung festhalten' },
|
|
1284
|
+
'shift.opening_not_counted': { text: 'Anfang nicht gezählt' },
|
|
1285
|
+
// Titel der Hinweiskarte, wenn eine Schicht ohne Zaehlen uebernommen wurde (Unterzeile: `shift.taken_over_unchecked_by`).
|
|
1286
|
+
'shift.taken_over_unchecked_by': { text: '{name}, {time}', placeholders: ['name', 'time'] },
|
|
1287
|
+
'shift.taken_over_unchecked': { text: 'Schicht {number} wurde ohne Zählen übernommen', placeholders: ['number'] },
|
|
1288
|
+
// Trinkgeld-Arten beim Kassieren (Reiter) und ihre Hilfstexte.
|
|
1289
|
+
'tip.kind_percent': { text: 'Prozent' },
|
|
1290
|
+
'tip.kind_round_up': { text: 'Aufrunden' },
|
|
1291
|
+
'tip.kind_total': { text: 'Gesamt' },
|
|
1292
|
+
'tip.round_to': { text: 'auf {amount}', placeholders: ['amount'] },
|
|
1293
|
+
'tip.guest_pays_total': { text: 'Der Gast zahlt insgesamt' },
|
|
1294
|
+
'tip.remainder_is_tip': { text: 'Rest ist Trinkgeld' },
|
|
1295
|
+
'voucher.section': { text: 'Gutschein' },
|
|
1296
|
+
'voucher.code_placeholder': { text: 'Code eingeben oder scannen' },
|
|
1297
|
+
// Breite der rechten Spalte (Geraete-Einstellung `cartWidth`) und ihre Werte.
|
|
1298
|
+
'settings.cart_width': { text: 'Breite der rechten Spalte' },
|
|
1299
|
+
'settings.cart_width_narrow': { text: 'Schmal' },
|
|
1300
|
+
'settings.cart_width_medium': { text: 'Mittel' },
|
|
1301
|
+
'settings.cart_width_wide': { text: 'Breit' },
|
|
1302
|
+
// Z-Bon der Schicht: Zwischenzaehlung, Zaehlung vor der Auszahlung, Teile der Differenz.
|
|
1303
|
+
'shift_receipt.opening_not_counted': { text: 'Anfang übernommen, nicht gezählt' },
|
|
1304
|
+
'shift_receipt.interim_count': { text: 'Zwischenzählung' },
|
|
1305
|
+
'shift_receipt.counted_before_payout': { text: 'Gezählt' },
|
|
1306
|
+
'shift_receipt.difference_part_interim': { text: 'davon Zwischenzählung' },
|
|
1307
|
+
'shift_receipt.difference_part_closing': { text: 'davon Abschluss' },
|
|
1308
|
+
// Nachtrag Schicht-Ablauf (1.28.0): Band-Titel ohne Punkt wie `shift.state_closed`.
|
|
1309
|
+
'shift.state_closing': { text: 'Schicht wird geschlossen' },
|
|
1310
|
+
'shift.state_interim': { text: 'Zwischenzählung' },
|
|
1311
|
+
'shift.tips_paid_out': { text: 'Trinkgeld ausgezahlt' },
|
|
1312
|
+
'shift.difference_none': { text: 'stimmt' },
|
|
1313
|
+
'shift.start_new': { text: 'Neue Schicht beginnen' },
|
|
1314
|
+
'shift.drawer_from_to': { text: '{drawer} · {from} bis {to}', placeholders: ['drawer', 'from', 'to'] },
|
|
1315
|
+
'shift.running_since_by': { text: '{drawer} · läuft seit {time} ({name})', placeholders: ['drawer', 'time', 'name'] },
|
|
1316
|
+
'shift.z_receipt_printed': { text: 'Z-Bon gedruckt' },
|
|
1317
|
+
'shift.count_now': { text: 'Jetzt zählen' },
|
|
1318
|
+
'shift.interim_entry': { text: 'Zwischenzählung' },
|
|
1319
|
+
'drawer.open': { text: 'Lade öffnen' },
|
|
1320
|
+
'time.today_at': { text: 'heute {time}', placeholders: ['time'] },
|
|
1321
|
+
'tip.summary_percent': { text: 'Trinkgeld {tip} ({percent} %)', placeholders: ['tip', 'percent'] },
|
|
1322
|
+
'settings.tip_kinds': { text: 'Trinkgeld-Arten' },
|
|
1323
|
+
'settings.tip_start': { text: 'Zuerst offen' },
|
|
1216
1324
|
};
|
|
1217
1325
|
exports.LABELS = BESCHRIFTUNGEN_ROH;
|
|
1218
1326
|
/**
|
|
@@ -63,6 +63,11 @@ const ortText = (ort) => beschriftung(`shift_receipt.location_${ort}`, ort);
|
|
|
63
63
|
function zahlartText(methode) {
|
|
64
64
|
return methode === 'card' ? (0, texte_js_1.labelText)('payment_method.card') : methode;
|
|
65
65
|
}
|
|
66
|
+
/** Uhrzeit in Wien als `HH:mm`; unlesbar -> `null`. */
|
|
67
|
+
function uhr(iso) {
|
|
68
|
+
const t = zeit(iso);
|
|
69
|
+
return t === null ? null : t.slice(11);
|
|
70
|
+
}
|
|
66
71
|
/** Je Schein und Muenze eine eingerueckte Zeile, vom groessten Wert abwaerts; Anzahl 0 faellt weg. */
|
|
67
72
|
function stueckelungZeilen(karte) {
|
|
68
73
|
if (karte === null)
|
|
@@ -132,10 +137,17 @@ function shiftReceiptLayout(receipt, options = {}) {
|
|
|
132
137
|
else if (bon.openingFloatTakenOver)
|
|
133
138
|
zeilen.push(text(start));
|
|
134
139
|
zeilen.push(...stueckelungZeilen(bon.openingDenominations));
|
|
140
|
+
// Nur wenn der Server den Anfang ausdruecklich als nicht gezaehlt meldet; ohne das Feld bleibt der Bon wie bisher.
|
|
141
|
+
if (bon.openingCounted === false)
|
|
142
|
+
zeilen.push(text((0, texte_js_1.labelText)('shift_receipt.opening_not_counted')));
|
|
135
143
|
if (bon.cashSalesCents !== null)
|
|
136
144
|
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.cash_sales'), bon.cashSalesCents));
|
|
137
145
|
if (bon.cashCancellationsCents !== null)
|
|
138
146
|
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.cash_cancellations'), bon.cashCancellationsCents));
|
|
147
|
+
// Summe der Zwischenzaehlungs-Differenzen: damit Start + Bar + Bewegungen + diese = Soll aufgeht.
|
|
148
|
+
if (bon.interimDifferenceCents !== undefined && bon.interimDifferenceCents !== 0) {
|
|
149
|
+
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.interim_count'), bon.interimDifferenceCents));
|
|
150
|
+
}
|
|
139
151
|
if (bon.movements.length > 0) {
|
|
140
152
|
zeilen.push(text((0, texte_js_1.labelText)('shift_receipt.movements'), 'left', true));
|
|
141
153
|
for (const m of bon.movements) {
|
|
@@ -146,12 +158,29 @@ function shiftReceiptLayout(receipt, options = {}) {
|
|
|
146
158
|
}
|
|
147
159
|
if (bon.expectedCents !== null)
|
|
148
160
|
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.expected'), bon.expectedCents));
|
|
161
|
+
// Mit `countedBeforePayout` geschlossen: erst der Rohwert der Zaehlung („Gezaehlt“, mit Stueckelung), dann das Ist nach der Auszahlung.
|
|
162
|
+
if (bon.countedBeforePayoutCents !== undefined && bon.countedBeforePayoutCents !== null) {
|
|
163
|
+
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.counted_before_payout'), bon.countedBeforePayoutCents));
|
|
164
|
+
zeilen.push(...stueckelungZeilen(bon.countedBeforePayoutDenominations ?? null));
|
|
165
|
+
}
|
|
149
166
|
if (bon.countedCents !== null) {
|
|
150
167
|
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.counted'), bon.countedCents));
|
|
151
168
|
zeilen.push(...stueckelungZeilen(bon.countedDenominations));
|
|
152
169
|
}
|
|
153
170
|
if (bon.differenceCents !== null)
|
|
154
171
|
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.difference'), bon.differenceCents));
|
|
172
|
+
// Die Gesamtdifferenz in Teilen: je Zwischenzaehlung (mit Uhrzeit) und der Abschluss; eine Zwischenzaehlung ohne Differenz faellt weg.
|
|
173
|
+
for (const t of bon.differenceParts ?? []) {
|
|
174
|
+
if (t.type === 'interim' && t.cents === 0)
|
|
175
|
+
continue;
|
|
176
|
+
if (t.type === 'interim') {
|
|
177
|
+
const um = uhr(t.at);
|
|
178
|
+
zeilen.push(betrag(`${(0, texte_js_1.labelText)('shift_receipt.difference_part_interim')}${um === null ? '' : ` ${um}`}`, t.cents));
|
|
179
|
+
}
|
|
180
|
+
else if (t.type === 'closing') {
|
|
181
|
+
zeilen.push(betrag((0, texte_js_1.labelText)('shift_receipt.difference_part_closing'), t.cents));
|
|
182
|
+
}
|
|
183
|
+
}
|
|
155
184
|
if (bon.comment)
|
|
156
185
|
zeilen.push(text(`${(0, texte_js_1.labelText)('shift_receipt.comment')}: ${bon.comment}`));
|
|
157
186
|
zeilen.push(...nachZaehlungZeilen(bon));
|
|
@@ -59,6 +59,13 @@ const GERAET_OPTIONAL = Object.fromEntries(settings_js_1.POS_DEVICE_OPTIONAL_FIE
|
|
|
59
59
|
* gespeichert sind; sonst fehlen sie still.
|
|
60
60
|
*/
|
|
61
61
|
const BETRIEB_OPTIONAL = Object.fromEntries(settings_js_1.POS_BUSINESS_OPTIONAL_FIELDS.map((feld) => [feld, (v) => typeof v === 'boolean']));
|
|
62
|
+
/**
|
|
63
|
+
* Optionale Wahlfelder (Zwilling von `BETRIEB_OPTIONAL.tgArten/tgStart` und `GERAET_OPTIONAL.korbBreite`):
|
|
64
|
+
* gespeichert in der inneren Form (`['prozent', 'aufrunden']`, `'schmal'`), nur gueltige Werte gehen
|
|
65
|
+
* hinaus, uebersetzt durch den Katalog. `tipKinds` ist eine nichtleere Teilmenge ohne Dubletten
|
|
66
|
+
* (`tgArtenListe`). Ob der Start unter den Arten liegt, rechnet der Leser ([posTipStart]).
|
|
67
|
+
*/
|
|
68
|
+
const WAHLFELDER = { business: settings_js_1.POS_BUSINESS_OPTIONAL_CHOICES, device: settings_js_1.POS_DEVICE_OPTIONAL_CHOICES };
|
|
62
69
|
/** Aufzaehlungen (aussen, englisch) je Teil. */
|
|
63
70
|
const AUFZAEHLUNGEN = {
|
|
64
71
|
business: settings_js_1.POS_BUSINESS_VALUES, device: settings_js_1.POS_DEVICE_VALUES,
|
|
@@ -75,7 +82,8 @@ function teilSchema(teil) {
|
|
|
75
82
|
return (0, draht_js_1.regel)(vokabular_js_1.SCHEMAS.getKasseSettings.data[teil]).unter;
|
|
76
83
|
}
|
|
77
84
|
function katalogFuer(teil, aussen) {
|
|
78
|
-
const
|
|
85
|
+
const werte = vokabular_js_1.SCHEMAS.getKasseSettings.werte;
|
|
86
|
+
const verweis = werte[`${teil}.${aussen}`] ?? werte[`${teil}.${aussen}[]`];
|
|
79
87
|
return verweis ? (0, draht_js_2.katalogVon)(verweis) ?? null : null;
|
|
80
88
|
}
|
|
81
89
|
/** Tasten: aeussere und innere Aktionsnamen, Vorgabe und Paare in innerer Form. */
|
|
@@ -142,6 +150,22 @@ function teilNachAussen(teil, gespeichert, weg) {
|
|
|
142
150
|
if (aussen === undefined || w === undefined)
|
|
143
151
|
continue;
|
|
144
152
|
const pfad = `${teil}.${aussen}`;
|
|
153
|
+
if ((0, draht_js_1.hat)(WAHLFELDER, teil) && WAHLFELDER[teil].includes(aussen)) {
|
|
154
|
+
const katalog = katalogFuer(teil, aussen);
|
|
155
|
+
const einzeln = (e) => (typeof e === 'string' && katalog !== null && (0, draht_js_1.hat)(katalog, e) ? katalog[e] : undefined);
|
|
156
|
+
if (aussen === 'tipKinds') {
|
|
157
|
+
const arten = Array.isArray(w) && w.length > 0 && w.length <= (katalog ? Object.keys(katalog).length : 0) && new Set(w).size === w.length
|
|
158
|
+
? w.map(einzeln) : null;
|
|
159
|
+
if (arten !== null && arten.every((a) => a !== undefined))
|
|
160
|
+
raus[aussen] = arten;
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
const wert = einzeln(w);
|
|
164
|
+
if (wert !== undefined)
|
|
165
|
+
raus[aussen] = wert;
|
|
166
|
+
}
|
|
167
|
+
continue;
|
|
168
|
+
}
|
|
145
169
|
if (teil === 'device' && (0, draht_js_1.hat)(GERAET_OPTIONAL, aussen)) {
|
|
146
170
|
if (GERAET_OPTIONAL[aussen](w))
|
|
147
171
|
raus[aussen] = w;
|
|
@@ -218,7 +242,10 @@ function _storedPosSettingsToWire(stored) {
|
|
|
218
242
|
}
|
|
219
243
|
/** Nur fuer den Test: die Feldliste der Pruefer (muss mit der Vorgabe deckungsgleich sein). */
|
|
220
244
|
exports._PRUEFER_FELDER = Object.freeze({
|
|
221
|
-
business: [...Object.keys(PRUEFER.business), ...Object.keys(settings_js_1.POS_BUSINESS_VALUES), ...Object.keys(BETRIEB_OPTIONAL), ...Object.keys(KARTEN)],
|
|
222
|
-
device: [...Object.keys(PRUEFER.device), ...Object.keys(settings_js_1.POS_DEVICE_VALUES), ...Object.keys(GERAET_OPTIONAL), 'shortcuts'],
|
|
223
|
-
standard: {
|
|
245
|
+
business: [...new Set([...Object.keys(PRUEFER.business), ...Object.keys(settings_js_1.POS_BUSINESS_VALUES), ...Object.keys(BETRIEB_OPTIONAL), ...Object.keys(KARTEN)])],
|
|
246
|
+
device: [...new Set([...Object.keys(PRUEFER.device), ...Object.keys(settings_js_1.POS_DEVICE_VALUES), ...Object.keys(GERAET_OPTIONAL), 'shortcuts'])],
|
|
247
|
+
standard: {
|
|
248
|
+
business: [...Object.keys(settings_js_1.POS_BUSINESS_DEFAULTS), ...settings_js_1.POS_BUSINESS_OPTIONAL_FIELDS, ...settings_js_1.POS_BUSINESS_OPTIONAL_CHOICES],
|
|
249
|
+
device: [...Object.keys(settings_js_1.POS_DEVICE_DEFAULTS), ...settings_js_1.POS_DEVICE_OPTIONAL_FIELDS, ...settings_js_1.POS_DEVICE_OPTIONAL_CHOICES],
|
|
250
|
+
},
|
|
224
251
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Fingerabdruck des Vertrags-Exports, aus dem diese Datei stammt (`_quelle.sha256`). */
|
|
2
|
-
export declare const VOKABULAR_QUELLE = "
|
|
2
|
+
export declare const VOKABULAR_QUELLE = "c137b0f64dd1a06c8cddd9d9164bd2360ecbc3133cc04ca2b82d0e37f9d4fe5d";
|
|
3
3
|
/** Schema-Notation des Vertrags: Blatt 'aussen': 'innen', Objekt { __: 'innen', ... }, Liste [ { __: 'innen', ... } ]. */
|
|
4
4
|
export type SchemaEintrag = string | SchemaObjekt | readonly [SchemaObjekt];
|
|
5
5
|
export interface SchemaObjekt {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.KATALOGE = exports.ARTIKEL_FELDER = exports.SCHEMAS = exports.VOKABULAR_QUELLE = void 0;
|
|
6
6
|
/** Fingerabdruck des Vertrags-Exports, aus dem diese Datei stammt (`_quelle.sha256`). */
|
|
7
|
-
exports.VOKABULAR_QUELLE = "
|
|
7
|
+
exports.VOKABULAR_QUELLE = "c137b0f64dd1a06c8cddd9d9164bd2360ecbc3133cc04ca2b82d0e37f9d4fe5d";
|
|
8
8
|
/** Schema je Endpunkt (aussen -> innen) und Wertverweise auf die Kataloge. */
|
|
9
9
|
exports.SCHEMAS = {
|
|
10
10
|
"getReceipt": {
|
|
@@ -153,6 +153,8 @@ exports.SCHEMAS = {
|
|
|
153
153
|
"tipChips": "tgChips",
|
|
154
154
|
"exactCash": "schnellbar",
|
|
155
155
|
"tipKeptByDefault": "tgDirekt",
|
|
156
|
+
"tipKinds": "tgArten",
|
|
157
|
+
"tipStart": "tgStart",
|
|
156
158
|
"checkoutMode": "kassierenModus",
|
|
157
159
|
"receiptOutput": "belegAusgabe",
|
|
158
160
|
"doneScreenSeconds": "fertigSekunden",
|
|
@@ -217,7 +219,8 @@ exports.SCHEMAS = {
|
|
|
217
219
|
"terminalTid": "terminalTid",
|
|
218
220
|
"terminalVia": "terminalVia",
|
|
219
221
|
"terminalType": "terminalArt",
|
|
220
|
-
"shortcutHints": "tastenMarken"
|
|
222
|
+
"shortcutHints": "tastenMarken",
|
|
223
|
+
"cartWidth": "korbBreite"
|
|
221
224
|
},
|
|
222
225
|
"vouchers": {
|
|
223
226
|
"__": "gutscheine",
|
|
@@ -322,6 +325,12 @@ exports.SCHEMAS = {
|
|
|
322
325
|
"business.tipMode": {
|
|
323
326
|
"$catalog": "KASSE_BETRIEB_WERTE.tipMode"
|
|
324
327
|
},
|
|
328
|
+
"business.tipKinds[]": {
|
|
329
|
+
"$catalog": "KASSE_BETRIEB_WERTE.tipKinds[]"
|
|
330
|
+
},
|
|
331
|
+
"business.tipStart": {
|
|
332
|
+
"$catalog": "KASSE_BETRIEB_WERTE.tipStart"
|
|
333
|
+
},
|
|
325
334
|
"business.checkoutMode": {
|
|
326
335
|
"$catalog": "KASSE_BETRIEB_WERTE.checkoutMode"
|
|
327
336
|
},
|
|
@@ -349,6 +358,9 @@ exports.SCHEMAS = {
|
|
|
349
358
|
"device.terminalType": {
|
|
350
359
|
"$catalog": "KASSE_GERAET_WERTE.terminalType"
|
|
351
360
|
},
|
|
361
|
+
"device.cartWidth": {
|
|
362
|
+
"$catalog": "KASSE_GERAET_WERTE.cartWidth"
|
|
363
|
+
},
|
|
352
364
|
"vouchers.valueVoucherType": {
|
|
353
365
|
"mehrzweck": "multi_purpose",
|
|
354
366
|
"einzweck": "single_purpose"
|
|
@@ -657,11 +669,21 @@ exports.KATALOGE = {
|
|
|
657
669
|
"streifen": "stripe",
|
|
658
670
|
"voll": "full"
|
|
659
671
|
},
|
|
672
|
+
"KASSE_BETRIEB_WERTE.tipKinds[]": {
|
|
673
|
+
"prozent": "percent",
|
|
674
|
+
"aufrunden": "round_up",
|
|
675
|
+
"gesamt": "total"
|
|
676
|
+
},
|
|
660
677
|
"KASSE_BETRIEB_WERTE.tipMode": {
|
|
661
678
|
"betrag": "amount",
|
|
662
679
|
"gesamt": "total",
|
|
663
680
|
"beides": "both"
|
|
664
681
|
},
|
|
682
|
+
"KASSE_BETRIEB_WERTE.tipStart": {
|
|
683
|
+
"prozent": "percent",
|
|
684
|
+
"aufrunden": "round_up",
|
|
685
|
+
"gesamt": "total"
|
|
686
|
+
},
|
|
665
687
|
"KASSE_BETRIEB_WERTE.watermark": {
|
|
666
688
|
"aus": "off",
|
|
667
689
|
"anmeldung": "login",
|
|
@@ -672,6 +694,11 @@ exports.KATALOGE = {
|
|
|
672
694
|
"mitte": "center",
|
|
673
695
|
"rechts": "right"
|
|
674
696
|
},
|
|
697
|
+
"KASSE_GERAET_WERTE.cartWidth": {
|
|
698
|
+
"schmal": "narrow",
|
|
699
|
+
"mittel": "medium",
|
|
700
|
+
"breit": "wide"
|
|
701
|
+
},
|
|
675
702
|
"KASSE_GERAET_WERTE.categoryPosition": {
|
|
676
703
|
"oben": "top",
|
|
677
704
|
"links": "left"
|
package/dist/cjs/version.d.ts
CHANGED