@lambda-development/erp-core 1.4.3 → 1.4.5

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.
@@ -331,6 +331,12 @@ export declare const api: {
331
331
  stockBalance: (params?: Record<string, string>) => Promise<{
332
332
  rows: any[];
333
333
  }>;
334
+ batchStock: (params?: Record<string, string>) => Promise<{
335
+ rows: any[];
336
+ }>;
337
+ batchMovements: (params: Record<string, string>) => Promise<{
338
+ rows: any[];
339
+ }>;
334
340
  availability: (params: {
335
341
  item_code: string;
336
342
  from: string;
@@ -56,6 +56,23 @@ export declare function useStockBalance(params?: Record<string, string>): {
56
56
  rows: any[];
57
57
  }, Error>>;
58
58
  };
59
+ export declare function useBatchStock(params?: Record<string, string>): {
60
+ data: {
61
+ rows: any[];
62
+ } | undefined;
63
+ isLoading: boolean;
64
+ error: Error | null;
65
+ refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<{
66
+ rows: any[];
67
+ }, Error>>;
68
+ };
69
+ export declare function useBatchMovements(params: Record<string, string> | null): {
70
+ data: {
71
+ rows: any[];
72
+ } | undefined;
73
+ isLoading: boolean;
74
+ error: Error | null;
75
+ };
59
76
  export declare function useProfitAndLoss(params?: Record<string, string>): {
60
77
  data: any;
61
78
  isLoading: boolean;
@@ -201,7 +201,8 @@ declare const _default: {
201
201
  "ar-aging": "Offene Posten Debitoren",
202
202
  "ap-aging": "Offene Posten Kreditoren",
203
203
  "analytics": "Analysen",
204
- "chart-of-accounts": "Kontenplan"
204
+ "chart-of-accounts": "Kontenplan",
205
+ "batch-stock": "Chargenbestand"
205
206
  },
206
207
  "doctypes": {
207
208
  "quotation": {
@@ -360,7 +361,9 @@ declare const _default: {
360
361
  "Fleet (Assets)": "Flotte (Geräte)",
361
362
  "Reservations": "Reservationen",
362
363
  "Menu": "Menü",
363
- "PDF Templates": "PDF-Vorlagen"
364
+ "PDF Templates": "PDF-Vorlagen",
365
+ "Batch": "Charge",
366
+ "Batch Stock": "Chargenbestand"
364
367
  }
365
368
  },
366
369
  "login": {
@@ -516,7 +519,12 @@ declare const _default: {
516
519
  "noStockData": "Keine Lagerdaten gefunden",
517
520
  "noReceivables": "Keine offenen Forderungen",
518
521
  "noPayables": "Keine offenen Verbindlichkeiten",
519
- "noDocuments": "Keine Dokumente gefunden"
522
+ "noDocuments": "Keine Dokumente gefunden",
523
+ "noBatchStock": "Kein Chargenbestand gefunden",
524
+ "batchMovements": "Bewegungen der Charge {{batch}} ({{item}})",
525
+ "withoutBatch": "ohne Charge",
526
+ "showMovements": "Bewegungen",
527
+ "expired": "abgelaufen"
520
528
  },
521
529
  "masterForm": {
522
530
  "required": "Erforderlich: {{fields}}",
@@ -568,6 +576,7 @@ declare const _default: {
568
576
  "% Delivered": "% geliefert",
569
577
  "% Billed": "% abgerechnet",
570
578
  "Update Stock": "Lager aktualisieren",
579
+ "Amount only": "Nur Betrag",
571
580
  "Payment Type": "Zahlungsart",
572
581
  "Paid From": "Bezahlt von",
573
582
  "Paid To": "Bezahlt an",
@@ -664,7 +673,15 @@ declare const _default: {
664
673
  "Printed notes / terms": "Gedruckte Notizen / Konditionen",
665
674
  "PDF Layout": "PDF-Layout",
666
675
  "Intro text": "Einleitungstext",
667
- "Closing text / terms": "Schlusstext / Konditionen"
676
+ "Closing text / terms": "Schlusstext / Konditionen",
677
+ "Batch": "Charge",
678
+ "Expiry Date": "Ablaufdatum",
679
+ "Manufacturing Date": "Herstelldatum",
680
+ "Batch-tracked": "Chargenpflichtig",
681
+ "Has Expiry Date": "Mit Ablaufdatum",
682
+ "Item starts with": "Artikel beginnt mit",
683
+ "Expiring before": "Ablauf vor",
684
+ "Document": "Beleg"
668
685
  },
669
686
  "tables": {
670
687
  "items": "Positionen",
@@ -201,7 +201,8 @@ declare const _default: {
201
201
  "ar-aging": "Accounts Receivable Aging",
202
202
  "ap-aging": "Accounts Payable Aging",
203
203
  "analytics": "Analytics",
204
- "chart-of-accounts": "Chart of Accounts"
204
+ "chart-of-accounts": "Chart of Accounts",
205
+ "batch-stock": "Batch Stock"
205
206
  },
206
207
  "doctypes": {
207
208
  "quotation": {
@@ -360,7 +361,9 @@ declare const _default: {
360
361
  "Fleet (Assets)": "Fleet (Assets)",
361
362
  "Reservations": "Reservations",
362
363
  "Menu": "Menu",
363
- "PDF Templates": "PDF Templates"
364
+ "PDF Templates": "PDF Templates",
365
+ "Batch": "Batch",
366
+ "Batch Stock": "Batch Stock"
364
367
  }
365
368
  },
366
369
  "login": {
@@ -516,7 +519,12 @@ declare const _default: {
516
519
  "noStockData": "No stock data found",
517
520
  "noReceivables": "No outstanding receivables",
518
521
  "noPayables": "No outstanding payables",
519
- "noDocuments": "No documents found"
522
+ "noDocuments": "No documents found",
523
+ "noBatchStock": "No batch stock found",
524
+ "batchMovements": "Movements of batch {{batch}} ({{item}})",
525
+ "withoutBatch": "without batch",
526
+ "showMovements": "Movements",
527
+ "expired": "expired"
520
528
  },
521
529
  "masterForm": {
522
530
  "required": "Required: {{fields}}",
@@ -679,6 +687,7 @@ declare const _default: {
679
687
  "Type": "Type",
680
688
  "Unallocated": "Unallocated",
681
689
  "Update Stock": "Update Stock",
690
+ "Amount only": "Amount only",
682
691
  "Valid From": "Valid From",
683
692
  "Valid Till": "Valid Till",
684
693
  "Valid Upto": "Valid Upto",
@@ -706,7 +715,15 @@ declare const _default: {
706
715
  "Printed notes / terms": "Printed notes / terms",
707
716
  "PDF Layout": "PDF Layout",
708
717
  "Intro text": "Intro text",
709
- "Closing text / terms": "Closing text / terms"
718
+ "Closing text / terms": "Closing text / terms",
719
+ "Batch": "Batch",
720
+ "Expiry Date": "Expiry Date",
721
+ "Manufacturing Date": "Manufacturing Date",
722
+ "Batch-tracked": "Batch-tracked",
723
+ "Has Expiry Date": "Has Expiry Date",
724
+ "Item starts with": "Item starts with",
725
+ "Expiring before": "Expiring before",
726
+ "Document": "Document"
710
727
  },
711
728
  "tables": {
712
729
  "accounts": "accounts",
@@ -201,7 +201,8 @@ declare const _default: {
201
201
  "ar-aging": "Balance âgée clients",
202
202
  "ap-aging": "Balance âgée fournisseurs",
203
203
  "analytics": "Analyses",
204
- "chart-of-accounts": "Plan comptable"
204
+ "chart-of-accounts": "Plan comptable",
205
+ "batch-stock": "Stock par lot"
205
206
  },
206
207
  "doctypes": {
207
208
  "quotation": {
@@ -360,7 +361,9 @@ declare const _default: {
360
361
  "Fleet (Assets)": "Flotte (matériel)",
361
362
  "Reservations": "Réservations",
362
363
  "Menu": "Menu",
363
- "PDF Templates": "Modèles PDF"
364
+ "PDF Templates": "Modèles PDF",
365
+ "Batch": "Lot",
366
+ "Batch Stock": "Stock par lot"
364
367
  }
365
368
  },
366
369
  "login": {
@@ -516,7 +519,12 @@ declare const _default: {
516
519
  "noStockData": "Aucune donnée de stock trouvée",
517
520
  "noReceivables": "Aucune créance en cours",
518
521
  "noPayables": "Aucune dette en cours",
519
- "noDocuments": "Aucun document trouvé"
522
+ "noDocuments": "Aucun document trouvé",
523
+ "noBatchStock": "Aucun stock par lot trouvé",
524
+ "batchMovements": "Mouvements du lot {{batch}} ({{item}})",
525
+ "withoutBatch": "sans lot",
526
+ "showMovements": "Mouvements",
527
+ "expired": "périmé"
520
528
  },
521
529
  "masterForm": {
522
530
  "required": "Requis : {{fields}}",
@@ -568,6 +576,7 @@ declare const _default: {
568
576
  "% Delivered": "% livré",
569
577
  "% Billed": "% facturé",
570
578
  "Update Stock": "Mettre à jour le stock",
579
+ "Amount only": "Montant seul",
571
580
  "Payment Type": "Type de paiement",
572
581
  "Paid From": "Payé depuis",
573
582
  "Paid To": "Payé à",
@@ -664,7 +673,15 @@ declare const _default: {
664
673
  "Printed notes / terms": "Notes / conditions imprimées",
665
674
  "PDF Layout": "Mise en page PDF",
666
675
  "Intro text": "Texte d'introduction",
667
- "Closing text / terms": "Texte final / conditions"
676
+ "Closing text / terms": "Texte final / conditions",
677
+ "Batch": "Lot",
678
+ "Expiry Date": "Date de péremption",
679
+ "Manufacturing Date": "Date de fabrication",
680
+ "Batch-tracked": "Géré par lot",
681
+ "Has Expiry Date": "Avec date de péremption",
682
+ "Item starts with": "Article commençant par",
683
+ "Expiring before": "Péremption avant",
684
+ "Document": "Document"
668
685
  },
669
686
  "tables": {
670
687
  "items": "Lignes",