@lambda-development/erp-core 0.8.33 → 1.0.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.
@@ -230,6 +230,19 @@ export declare const api: {
230
230
  last_message_at?: string | null;
231
231
  detail?: string;
232
232
  }>;
233
+ documentFields: (doctype: string) => Promise<{
234
+ pdf: {
235
+ supported: boolean;
236
+ reason?: string;
237
+ kind?: string;
238
+ required_fields?: string[];
239
+ };
240
+ }>;
241
+ generateDocumentPdf: (doctype: string, name: string) => Promise<{
242
+ artifact_id: string;
243
+ filename: string;
244
+ sha256: string;
245
+ }>;
233
246
  listDocuments: (doctype: string, params?: Record<string, string | number | undefined>) => Promise<{
234
247
  rows: any[];
235
248
  total: number;
@@ -0,0 +1,6 @@
1
+ /** Backend capabilities govern both visibility and execution. Never open a
2
+ * fabricated PDF route and leave an API error in a blank browser tab. */
3
+ export declare function PdfButton({ doctype, name }: {
4
+ doctype: string;
5
+ name: string;
6
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "proposal": {
3
+ "incomplete": "Entwurf gespeichert. Für das PDF werden Kunde, Unternehmen und mindestens ein Angebot benötigt."
4
+ },
2
5
  "common": {
3
6
  "save": "Speichern",
4
7
  "saving": "Speichern...",
@@ -639,6 +642,7 @@ declare const _default: {
639
642
  "Meter Unit": "Zählereinheit",
640
643
  "Yard": "Depot",
641
644
  "Asset (specific unit)": "Gerät (bestimmte Einheit)",
645
+ "Allocation": "Zuweisung",
642
646
  "From": "Von",
643
647
  "To": "Bis",
644
648
  "Purpose": "Zweck",
@@ -893,9 +897,13 @@ declare const _default: {
893
897
  "machine": "Maschine",
894
898
  "loadError": "Flottenkalender konnte nicht geladen werden.",
895
899
  "noAssets": "Keine Geräte vorhanden. Maschinen unter Vermietung → Flotte hinzufügen.",
896
- "pooledNote": "{{count}} Pool-Reservation(en) ohne Einheiten-Zeile"
900
+ "pooledNote": "{{count}} Pool-Reservation(en) noch ohne Maschinenzuordnung",
901
+ "unassigned": "Pool — noch nicht zugeordnet",
902
+ "poolWarning": "Die Pool-Kapazität ist reserviert. Eine konkrete Maschine ist noch nicht zugeordnet; vor der Ausgabe eine Maschine auswählen."
897
903
  },
898
904
  "fieldOptions": {
905
+ "Unit": "Bestimmte Maschine",
906
+ "Pool": "Pool – Maschine später zuweisen",
899
907
  "Available": "Verfügbar",
900
908
  "On Hire": "Vermietet",
901
909
  "Out": "Ausgeliefert",
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "proposal": {
3
+ "incomplete": "Draft saved; PDF output requires Customer, Company and at least one Quotation."
4
+ },
2
5
  "common": {
3
6
  "save": "Save",
4
7
  "saving": "Saving...",
@@ -681,6 +684,7 @@ declare const _default: {
681
684
  "Meter Unit": "Meter Unit",
682
685
  "Yard": "Yard",
683
686
  "Asset (specific unit)": "Asset (specific unit)",
687
+ "Allocation": "Allocation",
684
688
  "From": "From",
685
689
  "To": "To",
686
690
  "Purpose": "Purpose",
@@ -893,9 +897,13 @@ declare const _default: {
893
897
  "machine": "Machine",
894
898
  "loadError": "Could not load the fleet calendar.",
895
899
  "noAssets": "No assets to show. Add machines under Rentals → Fleet.",
896
- "pooledNote": "{{count}} pooled booking(s) not shown on a unit lane"
900
+ "pooledNote": "{{count}} pool booking(s) awaiting assignment",
901
+ "unassigned": "Pool — unassigned",
902
+ "poolWarning": "Pool capacity is reserved. No specific machine has been assigned yet; assign a machine before dispatch."
897
903
  },
898
904
  "fieldOptions": {
905
+ "Unit": "Specific machine",
906
+ "Pool": "Pool – assign machine later",
899
907
  "Available": "Available",
900
908
  "On Hire": "On Hire",
901
909
  "Out": "Out",
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ "proposal": {
3
+ "incomplete": "Brouillon enregistré. Le PDF nécessite un client, une entreprise et au moins une offre."
4
+ },
2
5
  "common": {
3
6
  "save": "Enregistrer",
4
7
  "saving": "Enregistrement...",
@@ -639,6 +642,7 @@ declare const _default: {
639
642
  "Meter Unit": "Unité compteur",
640
643
  "Yard": "Dépôt",
641
644
  "Asset (specific unit)": "Équipement (unité spécifique)",
645
+ "Allocation": "Affectation",
642
646
  "From": "Du",
643
647
  "To": "Au",
644
648
  "Purpose": "Objet",
@@ -893,9 +897,13 @@ declare const _default: {
893
897
  "machine": "Machine",
894
898
  "loadError": "Impossible de charger le calendrier de flotte.",
895
899
  "noAssets": "Aucun équipement à afficher. Ajoutez des machines sous Locations → Flotte.",
896
- "pooledNote": "{{count}} réservation(s) de pool non affichée(s) sur une ligne d'unité"
900
+ "pooledNote": "{{count}} réservation(s) en attente d’attribution",
901
+ "unassigned": "Pool — non attribué",
902
+ "poolWarning": "La capacité est réservée. Aucune machine précise n’est encore attribuée ; attribuez une machine avant la sortie."
897
903
  },
898
904
  "fieldOptions": {
905
+ "Unit": "Machine spécifique",
906
+ "Pool": "Pool – machine à affecter",
899
907
  "Available": "Disponible",
900
908
  "On Hire": "En location",
901
909
  "Out": "Sorti",