@lambda-development/erp-core 1.4.11 → 1.4.13
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 +8 -0
- package/dist/components/document/stock-suggest-input.d.ts +13 -0
- package/dist/hooks/use-report.d.ts +14 -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 +3608 -3334
- package/dist/index.js.map +1 -1
- package/dist/lib/doctypes.d.ts +2 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -361,6 +361,14 @@ export declare const api: {
|
|
|
361
361
|
batchMovements: (params: Record<string, string>) => Promise<{
|
|
362
362
|
rows: any[];
|
|
363
363
|
}>;
|
|
364
|
+
batchRecipients: (params: Record<string, string>) => Promise<{
|
|
365
|
+
rows: any[];
|
|
366
|
+
in_stock: any[];
|
|
367
|
+
suppliers?: any[];
|
|
368
|
+
}>;
|
|
369
|
+
batchChanges: (params: Record<string, string>) => Promise<{
|
|
370
|
+
rows: any[];
|
|
371
|
+
}>;
|
|
364
372
|
availability: (params: {
|
|
365
373
|
item_code: string;
|
|
366
374
|
from: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A text input for a line's batch or storage location that proposes what
|
|
2
|
+
* exists: the batches of the line's item in its warehouse, earliest expiry
|
|
3
|
+
* first with the quantity there, or the warehouse's storage locations with
|
|
4
|
+
* how much of the item lies in each. Typing something else stays possible,
|
|
5
|
+
* because a receipt names a batch that is new. */
|
|
6
|
+
export declare function StockSuggestInput({ kind, value, onChange, itemCode, warehouse, batchNo, }: {
|
|
7
|
+
kind: "batch" | "location";
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
itemCode?: string;
|
|
11
|
+
warehouse?: string;
|
|
12
|
+
batchNo?: string;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -113,6 +113,20 @@ export declare function useBatchMovements(params: Record<string, string> | null)
|
|
|
113
113
|
isLoading: boolean;
|
|
114
114
|
error: Error | null;
|
|
115
115
|
};
|
|
116
|
+
export declare function useBatchRecipients(params: Record<string, string> | null): {
|
|
117
|
+
data: {
|
|
118
|
+
rows: any[];
|
|
119
|
+
in_stock: any[];
|
|
120
|
+
suppliers?: any[];
|
|
121
|
+
} | undefined;
|
|
122
|
+
isLoading: boolean;
|
|
123
|
+
};
|
|
124
|
+
export declare function useBatchChanges(params: Record<string, string> | null): {
|
|
125
|
+
data: {
|
|
126
|
+
rows: any[];
|
|
127
|
+
} | undefined;
|
|
128
|
+
isLoading: boolean;
|
|
129
|
+
};
|
|
116
130
|
export declare function useProfitAndLoss(params?: Record<string, string>): {
|
|
117
131
|
data: any;
|
|
118
132
|
isLoading: boolean;
|
|
@@ -369,12 +369,14 @@ declare const _default: {
|
|
|
369
369
|
"Batch": "Charge",
|
|
370
370
|
"Batch Stock": "Chargenbestand",
|
|
371
371
|
"Storage Location": "Lagerplatz",
|
|
372
|
+
"Serial Number": "Seriennummer",
|
|
372
373
|
"Stock by Location & Batch": "Bestand nach Lagerplatz & Charge",
|
|
373
374
|
"Stock Reservation": "Bestandsreservierung",
|
|
374
375
|
"Stock Availability": "Verfügbarkeit",
|
|
375
376
|
"Sales Backlog": "Auftragsrückstand",
|
|
376
377
|
"Purchase Backlog": "Bestellrückstand",
|
|
377
|
-
"Consignment Withdrawal": "Konsignationsentnahme"
|
|
378
|
+
"Consignment Withdrawal": "Konsignationsentnahme",
|
|
379
|
+
"Stock Count": "Inventur"
|
|
378
380
|
}
|
|
379
381
|
},
|
|
380
382
|
"login": {
|
|
@@ -539,7 +541,9 @@ declare const _default: {
|
|
|
539
541
|
"onlyDeliverable": "Nur jetzt Lieferbares",
|
|
540
542
|
"onlyOverdue": "Nur Überfälliges",
|
|
541
543
|
"noBacklog": "Nichts offen",
|
|
542
|
-
"unconfirmedNote": "* vom Lieferanten nicht bestätigt: Wunschtermin der Bestellung"
|
|
544
|
+
"unconfirmedNote": "* vom Lieferanten nicht bestätigt: Wunschtermin der Bestellung",
|
|
545
|
+
"batchRecipients": "Empfänger der Charge {{batch}}",
|
|
546
|
+
"batchChanges": "Änderungen an Charge {{batch}}"
|
|
543
547
|
},
|
|
544
548
|
"masterForm": {
|
|
545
549
|
"required": "Erforderlich: {{fields}}",
|
|
@@ -698,6 +702,9 @@ declare const _default: {
|
|
|
698
702
|
"Expiring before": "Ablauf vor",
|
|
699
703
|
"Document": "Beleg",
|
|
700
704
|
"Storage Location": "Lagerplatz",
|
|
705
|
+
"Serial Number": "Seriennummer",
|
|
706
|
+
"Serial Numbers": "Seriennummern",
|
|
707
|
+
"Serial-tracked": "Seriennummernpflichtig",
|
|
701
708
|
"Storage Locations": "Lagerplätze",
|
|
702
709
|
"Source Location": "Von Lagerplatz",
|
|
703
710
|
"Target Location": "Nach Lagerplatz",
|
|
@@ -734,7 +741,16 @@ declare const _default: {
|
|
|
734
741
|
"Replenish": "Nachbeschicken",
|
|
735
742
|
"Replenish From": "Nachbeschickung aus",
|
|
736
743
|
"Replacement Transfer": "Ersatzbeschickung",
|
|
737
|
-
"Replenishment": "Nachbeschickung"
|
|
744
|
+
"Replenishment": "Nachbeschickung",
|
|
745
|
+
"Reason": "Grund",
|
|
746
|
+
"Counted Lines": "Gezählte Positionen",
|
|
747
|
+
"Lines With Difference": "Positionen mit Differenz",
|
|
748
|
+
"System Qty": "Menge laut System",
|
|
749
|
+
"Counted Qty": "Gezählte Menge",
|
|
750
|
+
"Difference": "Differenz",
|
|
751
|
+
"Returned": "Retourniert",
|
|
752
|
+
"Still With Them": "Noch beim Kunden",
|
|
753
|
+
"Last Delivery": "Letzte Lieferung"
|
|
738
754
|
},
|
|
739
755
|
"tables": {
|
|
740
756
|
"items": "Positionen",
|
|
@@ -369,12 +369,14 @@ declare const _default: {
|
|
|
369
369
|
"Batch": "Batch",
|
|
370
370
|
"Batch Stock": "Batch Stock",
|
|
371
371
|
"Storage Location": "Storage Location",
|
|
372
|
+
"Serial Number": "Serial Number",
|
|
372
373
|
"Stock by Location & Batch": "Stock by Location & Batch",
|
|
373
374
|
"Stock Reservation": "Stock Reservation",
|
|
374
375
|
"Stock Availability": "Stock Availability",
|
|
375
376
|
"Sales Backlog": "Sales Backlog",
|
|
376
377
|
"Purchase Backlog": "Purchase Backlog",
|
|
377
|
-
"Consignment Withdrawal": "Consignment Withdrawal"
|
|
378
|
+
"Consignment Withdrawal": "Consignment Withdrawal",
|
|
379
|
+
"Stock Count": "Stock Count"
|
|
378
380
|
}
|
|
379
381
|
},
|
|
380
382
|
"login": {
|
|
@@ -539,7 +541,9 @@ declare const _default: {
|
|
|
539
541
|
"onlyDeliverable": "Only what can be delivered now",
|
|
540
542
|
"onlyOverdue": "Only overdue",
|
|
541
543
|
"noBacklog": "Nothing open",
|
|
542
|
-
"unconfirmedNote": "* not confirmed by the supplier: the order's schedule date"
|
|
544
|
+
"unconfirmedNote": "* not confirmed by the supplier: the order's schedule date",
|
|
545
|
+
"batchRecipients": "Who received batch {{batch}}",
|
|
546
|
+
"batchChanges": "Changes to batch {{batch}}"
|
|
543
547
|
},
|
|
544
548
|
"masterForm": {
|
|
545
549
|
"required": "Required: {{fields}}",
|
|
@@ -740,6 +744,9 @@ declare const _default: {
|
|
|
740
744
|
"Expiring before": "Expiring before",
|
|
741
745
|
"Document": "Document",
|
|
742
746
|
"Storage Location": "Storage Location",
|
|
747
|
+
"Serial Number": "Serial Number",
|
|
748
|
+
"Serial Numbers": "Serial Numbers",
|
|
749
|
+
"Serial-tracked": "Serial-tracked",
|
|
743
750
|
"Storage Locations": "Storage Locations",
|
|
744
751
|
"Source Location": "Source Location",
|
|
745
752
|
"Target Location": "Target Location",
|
|
@@ -776,7 +783,16 @@ declare const _default: {
|
|
|
776
783
|
"Replenish": "Replenish",
|
|
777
784
|
"Replenish From": "Replenish From",
|
|
778
785
|
"Replacement Transfer": "Replacement Transfer",
|
|
779
|
-
"Replenishment": "Replenishment"
|
|
786
|
+
"Replenishment": "Replenishment",
|
|
787
|
+
"Reason": "Reason",
|
|
788
|
+
"Counted Lines": "Counted Lines",
|
|
789
|
+
"Lines With Difference": "Lines With Difference",
|
|
790
|
+
"System Qty": "System Qty",
|
|
791
|
+
"Counted Qty": "Counted Qty",
|
|
792
|
+
"Difference": "Difference",
|
|
793
|
+
"Returned": "Returned",
|
|
794
|
+
"Still With Them": "Still With Them",
|
|
795
|
+
"Last Delivery": "Last Delivery"
|
|
780
796
|
},
|
|
781
797
|
"tables": {
|
|
782
798
|
"accounts": "accounts",
|
|
@@ -369,12 +369,14 @@ declare const _default: {
|
|
|
369
369
|
"Batch": "Lot",
|
|
370
370
|
"Batch Stock": "Stock par lot",
|
|
371
371
|
"Storage Location": "Emplacement",
|
|
372
|
+
"Serial Number": "Numéro de série",
|
|
372
373
|
"Stock by Location & Batch": "Stock par emplacement et lot",
|
|
373
374
|
"Stock Reservation": "Réservation de stock",
|
|
374
375
|
"Stock Availability": "Disponibilité du stock",
|
|
375
376
|
"Sales Backlog": "Commandes en attente",
|
|
376
377
|
"Purchase Backlog": "Achats en attente",
|
|
377
|
-
"Consignment Withdrawal": "Prélèvement en consignation"
|
|
378
|
+
"Consignment Withdrawal": "Prélèvement en consignation",
|
|
379
|
+
"Stock Count": "Inventaire"
|
|
378
380
|
}
|
|
379
381
|
},
|
|
380
382
|
"login": {
|
|
@@ -539,7 +541,9 @@ declare const _default: {
|
|
|
539
541
|
"onlyDeliverable": "Seulement ce qui est livrable",
|
|
540
542
|
"onlyOverdue": "Seulement en retard",
|
|
541
543
|
"noBacklog": "Rien en attente",
|
|
542
|
-
"unconfirmedNote": "* non confirmé par le fournisseur : date prévue de la commande"
|
|
544
|
+
"unconfirmedNote": "* non confirmé par le fournisseur : date prévue de la commande",
|
|
545
|
+
"batchRecipients": "Destinataires du lot {{batch}}",
|
|
546
|
+
"batchChanges": "Modifications du lot {{batch}}"
|
|
543
547
|
},
|
|
544
548
|
"masterForm": {
|
|
545
549
|
"required": "Requis : {{fields}}",
|
|
@@ -698,6 +702,9 @@ declare const _default: {
|
|
|
698
702
|
"Expiring before": "Péremption avant",
|
|
699
703
|
"Document": "Document",
|
|
700
704
|
"Storage Location": "Emplacement",
|
|
705
|
+
"Serial Number": "Numéro de série",
|
|
706
|
+
"Serial Numbers": "Numéros de série",
|
|
707
|
+
"Serial-tracked": "Suivi par numéro de série",
|
|
701
708
|
"Storage Locations": "Emplacements",
|
|
702
709
|
"Source Location": "Emplacement d'origine",
|
|
703
710
|
"Target Location": "Emplacement de destination",
|
|
@@ -734,7 +741,16 @@ declare const _default: {
|
|
|
734
741
|
"Replenish": "Réapprovisionner",
|
|
735
742
|
"Replenish From": "Réapprovisionner depuis",
|
|
736
743
|
"Replacement Transfer": "Transfert de remplacement",
|
|
737
|
-
"Replenishment": "Réapprovisionnement"
|
|
744
|
+
"Replenishment": "Réapprovisionnement",
|
|
745
|
+
"Reason": "Motif",
|
|
746
|
+
"Counted Lines": "Lignes comptées",
|
|
747
|
+
"Lines With Difference": "Lignes avec écart",
|
|
748
|
+
"System Qty": "Quantité système",
|
|
749
|
+
"Counted Qty": "Quantité comptée",
|
|
750
|
+
"Difference": "Écart",
|
|
751
|
+
"Returned": "Retourné",
|
|
752
|
+
"Still With Them": "Encore chez le client",
|
|
753
|
+
"Last Delivery": "Dernière livraison"
|
|
738
754
|
},
|
|
739
755
|
"tables": {
|
|
740
756
|
"items": "Lignes",
|