@lambda-development/erp-core 1.4.4 → 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.
- package/dist/api/client.d.ts +6 -0
- package/dist/hooks/use-report.d.ts +17 -0
- package/dist/i18n/locales/de.json.d.ts +20 -4
- package/dist/i18n/locales/en.json.d.ts +20 -4
- package/dist/i18n/locales/fr.json.d.ts +20 -4
- package/dist/index.js +2766 -2531
- package/dist/index.js.map +1 -1
- package/dist/pages/reports/batch-stock.d.ts +3 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -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}}",
|
|
@@ -665,7 +673,15 @@ declare const _default: {
|
|
|
665
673
|
"Printed notes / terms": "Gedruckte Notizen / Konditionen",
|
|
666
674
|
"PDF Layout": "PDF-Layout",
|
|
667
675
|
"Intro text": "Einleitungstext",
|
|
668
|
-
"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"
|
|
669
685
|
},
|
|
670
686
|
"tables": {
|
|
671
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}}",
|
|
@@ -707,7 +715,15 @@ declare const _default: {
|
|
|
707
715
|
"Printed notes / terms": "Printed notes / terms",
|
|
708
716
|
"PDF Layout": "PDF Layout",
|
|
709
717
|
"Intro text": "Intro text",
|
|
710
|
-
"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"
|
|
711
727
|
},
|
|
712
728
|
"tables": {
|
|
713
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}}",
|
|
@@ -665,7 +673,15 @@ declare const _default: {
|
|
|
665
673
|
"Printed notes / terms": "Notes / conditions imprimées",
|
|
666
674
|
"PDF Layout": "Mise en page PDF",
|
|
667
675
|
"Intro text": "Texte d'introduction",
|
|
668
|
-
"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"
|
|
669
685
|
},
|
|
670
686
|
"tables": {
|
|
671
687
|
"items": "Lignes",
|