@lambda-development/erp-core 1.4.7 → 1.4.8
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 +3 -0
- package/dist/hooks/use-report.d.ts +10 -0
- package/dist/i18n/locales/de.json.d.ts +19 -3
- package/dist/i18n/locales/en.json.d.ts +19 -3
- package/dist/i18n/locales/fr.json.d.ts +19 -3
- package/dist/index.js +2392 -2235
- package/dist/index.js.map +1 -1
- package/dist/pages/reports/stock-availability.d.ts +3 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -346,6 +346,9 @@ export declare const api: {
|
|
|
346
346
|
batchStock: (params?: Record<string, string>) => Promise<{
|
|
347
347
|
rows: any[];
|
|
348
348
|
}>;
|
|
349
|
+
stockAvailability: (params?: Record<string, string>) => Promise<{
|
|
350
|
+
rows: any[];
|
|
351
|
+
}>;
|
|
349
352
|
stockDetail: (params?: Record<string, string>) => Promise<{
|
|
350
353
|
rows: any[];
|
|
351
354
|
}>;
|
|
@@ -66,6 +66,16 @@ export declare function useBatchStock(params?: Record<string, string>): {
|
|
|
66
66
|
rows: any[];
|
|
67
67
|
}, Error>>;
|
|
68
68
|
};
|
|
69
|
+
export declare function useStockAvailability(params?: Record<string, string>): {
|
|
70
|
+
data: {
|
|
71
|
+
rows: any[];
|
|
72
|
+
} | undefined;
|
|
73
|
+
isLoading: boolean;
|
|
74
|
+
error: Error | null;
|
|
75
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<{
|
|
76
|
+
rows: any[];
|
|
77
|
+
}, Error>>;
|
|
78
|
+
};
|
|
69
79
|
export declare function useStockDetail(params?: Record<string, string>): {
|
|
70
80
|
data: {
|
|
71
81
|
rows: any[];
|
|
@@ -203,7 +203,8 @@ declare const _default: {
|
|
|
203
203
|
"analytics": "Analysen",
|
|
204
204
|
"chart-of-accounts": "Kontenplan",
|
|
205
205
|
"batch-stock": "Chargenbestand",
|
|
206
|
-
"stock-detail": "Bestand nach Lagerplatz & Charge"
|
|
206
|
+
"stock-detail": "Bestand nach Lagerplatz & Charge",
|
|
207
|
+
"stock-availability": "Verfügbarkeit"
|
|
207
208
|
},
|
|
208
209
|
"doctypes": {
|
|
209
210
|
"quotation": {
|
|
@@ -366,7 +367,9 @@ declare const _default: {
|
|
|
366
367
|
"Batch": "Charge",
|
|
367
368
|
"Batch Stock": "Chargenbestand",
|
|
368
369
|
"Storage Location": "Lagerplatz",
|
|
369
|
-
"Stock by Location & Batch": "Bestand nach Lagerplatz & Charge"
|
|
370
|
+
"Stock by Location & Batch": "Bestand nach Lagerplatz & Charge",
|
|
371
|
+
"Stock Reservation": "Bestandsreservierung",
|
|
372
|
+
"Stock Availability": "Verfügbarkeit"
|
|
370
373
|
}
|
|
371
374
|
},
|
|
372
375
|
"login": {
|
|
@@ -688,7 +691,20 @@ declare const _default: {
|
|
|
688
691
|
"Storage Location": "Lagerplatz",
|
|
689
692
|
"Storage Locations": "Lagerplätze",
|
|
690
693
|
"Source Location": "Von Lagerplatz",
|
|
691
|
-
"Target Location": "Nach Lagerplatz"
|
|
694
|
+
"Target Location": "Nach Lagerplatz",
|
|
695
|
+
"Reserve Stock": "Bestand reservieren",
|
|
696
|
+
"Shelf Life Exception": "Ausnahme Restlaufzeit",
|
|
697
|
+
"Reserved Qty": "Reservierte Menge",
|
|
698
|
+
"Sales Order Line": "Auftragsposition",
|
|
699
|
+
"Reserved By": "Reserviert von",
|
|
700
|
+
"Min. Shelf Life (days)": "Mindestrestlaufzeit (Tage)",
|
|
701
|
+
"Blocked": "Gesperrt",
|
|
702
|
+
"Blocked Reason": "Sperrgrund",
|
|
703
|
+
"In Stock": "Am Lager",
|
|
704
|
+
"Reserved": "Reserviert",
|
|
705
|
+
"Available": "Verfügbar",
|
|
706
|
+
"Open Sales Orders": "Offene Aufträge",
|
|
707
|
+
"On Purchase Order": "In Bestellung"
|
|
692
708
|
},
|
|
693
709
|
"tables": {
|
|
694
710
|
"items": "Positionen",
|
|
@@ -203,7 +203,8 @@ declare const _default: {
|
|
|
203
203
|
"analytics": "Analytics",
|
|
204
204
|
"chart-of-accounts": "Chart of Accounts",
|
|
205
205
|
"batch-stock": "Batch Stock",
|
|
206
|
-
"stock-detail": "Stock by Location & Batch"
|
|
206
|
+
"stock-detail": "Stock by Location & Batch",
|
|
207
|
+
"stock-availability": "Stock Availability"
|
|
207
208
|
},
|
|
208
209
|
"doctypes": {
|
|
209
210
|
"quotation": {
|
|
@@ -366,7 +367,9 @@ declare const _default: {
|
|
|
366
367
|
"Batch": "Batch",
|
|
367
368
|
"Batch Stock": "Batch Stock",
|
|
368
369
|
"Storage Location": "Storage Location",
|
|
369
|
-
"Stock by Location & Batch": "Stock by Location & Batch"
|
|
370
|
+
"Stock by Location & Batch": "Stock by Location & Batch",
|
|
371
|
+
"Stock Reservation": "Stock Reservation",
|
|
372
|
+
"Stock Availability": "Stock Availability"
|
|
370
373
|
}
|
|
371
374
|
},
|
|
372
375
|
"login": {
|
|
@@ -730,7 +733,20 @@ declare const _default: {
|
|
|
730
733
|
"Storage Location": "Storage Location",
|
|
731
734
|
"Storage Locations": "Storage Locations",
|
|
732
735
|
"Source Location": "Source Location",
|
|
733
|
-
"Target Location": "Target Location"
|
|
736
|
+
"Target Location": "Target Location",
|
|
737
|
+
"Reserve Stock": "Reserve Stock",
|
|
738
|
+
"Shelf Life Exception": "Shelf Life Exception",
|
|
739
|
+
"Reserved Qty": "Reserved Qty",
|
|
740
|
+
"Sales Order Line": "Sales Order Line",
|
|
741
|
+
"Reserved By": "Reserved By",
|
|
742
|
+
"Min. Shelf Life (days)": "Min. Shelf Life (days)",
|
|
743
|
+
"Blocked": "Blocked",
|
|
744
|
+
"Blocked Reason": "Blocked Reason",
|
|
745
|
+
"In Stock": "In Stock",
|
|
746
|
+
"Reserved": "Reserved",
|
|
747
|
+
"Available": "Available",
|
|
748
|
+
"Open Sales Orders": "Open Sales Orders",
|
|
749
|
+
"On Purchase Order": "On Purchase Order"
|
|
734
750
|
},
|
|
735
751
|
"tables": {
|
|
736
752
|
"accounts": "accounts",
|
|
@@ -203,7 +203,8 @@ declare const _default: {
|
|
|
203
203
|
"analytics": "Analyses",
|
|
204
204
|
"chart-of-accounts": "Plan comptable",
|
|
205
205
|
"batch-stock": "Stock par lot",
|
|
206
|
-
"stock-detail": "Stock par emplacement et lot"
|
|
206
|
+
"stock-detail": "Stock par emplacement et lot",
|
|
207
|
+
"stock-availability": "Disponibilité du stock"
|
|
207
208
|
},
|
|
208
209
|
"doctypes": {
|
|
209
210
|
"quotation": {
|
|
@@ -366,7 +367,9 @@ declare const _default: {
|
|
|
366
367
|
"Batch": "Lot",
|
|
367
368
|
"Batch Stock": "Stock par lot",
|
|
368
369
|
"Storage Location": "Emplacement",
|
|
369
|
-
"Stock by Location & Batch": "Stock par emplacement et lot"
|
|
370
|
+
"Stock by Location & Batch": "Stock par emplacement et lot",
|
|
371
|
+
"Stock Reservation": "Réservation de stock",
|
|
372
|
+
"Stock Availability": "Disponibilité du stock"
|
|
370
373
|
}
|
|
371
374
|
},
|
|
372
375
|
"login": {
|
|
@@ -688,7 +691,20 @@ declare const _default: {
|
|
|
688
691
|
"Storage Location": "Emplacement",
|
|
689
692
|
"Storage Locations": "Emplacements",
|
|
690
693
|
"Source Location": "Emplacement d'origine",
|
|
691
|
-
"Target Location": "Emplacement de destination"
|
|
694
|
+
"Target Location": "Emplacement de destination",
|
|
695
|
+
"Reserve Stock": "Réserver le stock",
|
|
696
|
+
"Shelf Life Exception": "Exception de durée de vie",
|
|
697
|
+
"Reserved Qty": "Quantité réservée",
|
|
698
|
+
"Sales Order Line": "Ligne de commande",
|
|
699
|
+
"Reserved By": "Réservé par",
|
|
700
|
+
"Min. Shelf Life (days)": "Durée de vie min. (jours)",
|
|
701
|
+
"Blocked": "Bloqué",
|
|
702
|
+
"Blocked Reason": "Motif du blocage",
|
|
703
|
+
"In Stock": "En stock",
|
|
704
|
+
"Reserved": "Réservé",
|
|
705
|
+
"Available": "Disponible",
|
|
706
|
+
"Open Sales Orders": "Commandes ouvertes",
|
|
707
|
+
"On Purchase Order": "En commande"
|
|
692
708
|
},
|
|
693
709
|
"tables": {
|
|
694
710
|
"items": "Lignes",
|