@lambda-development/erp-core 1.4.10 → 1.4.12
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 +25 -3
- package/dist/i18n/locales/en.json.d.ts +25 -3
- package/dist/i18n/locales/fr.json.d.ts +25 -3
- package/dist/index.js +3533 -3235
- 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;
|
|
@@ -373,7 +373,9 @@ declare const _default: {
|
|
|
373
373
|
"Stock Reservation": "Bestandsreservierung",
|
|
374
374
|
"Stock Availability": "Verfügbarkeit",
|
|
375
375
|
"Sales Backlog": "Auftragsrückstand",
|
|
376
|
-
"Purchase Backlog": "Bestellrückstand"
|
|
376
|
+
"Purchase Backlog": "Bestellrückstand",
|
|
377
|
+
"Consignment Withdrawal": "Konsignationsentnahme",
|
|
378
|
+
"Stock Count": "Inventur"
|
|
377
379
|
}
|
|
378
380
|
},
|
|
379
381
|
"login": {
|
|
@@ -538,7 +540,9 @@ declare const _default: {
|
|
|
538
540
|
"onlyDeliverable": "Nur jetzt Lieferbares",
|
|
539
541
|
"onlyOverdue": "Nur Überfälliges",
|
|
540
542
|
"noBacklog": "Nichts offen",
|
|
541
|
-
"unconfirmedNote": "* vom Lieferanten nicht bestätigt: Wunschtermin der Bestellung"
|
|
543
|
+
"unconfirmedNote": "* vom Lieferanten nicht bestätigt: Wunschtermin der Bestellung",
|
|
544
|
+
"batchRecipients": "Empfänger der Charge {{batch}}",
|
|
545
|
+
"batchChanges": "Änderungen an Charge {{batch}}"
|
|
542
546
|
},
|
|
543
547
|
"masterForm": {
|
|
544
548
|
"required": "Erforderlich: {{fields}}",
|
|
@@ -724,7 +728,25 @@ declare const _default: {
|
|
|
724
728
|
"Deliverable Now": "Jetzt lieferbar",
|
|
725
729
|
"Expected": "Erwartet",
|
|
726
730
|
"Received": "Erhalten",
|
|
727
|
-
"Days Overdue": "Tage überfällig"
|
|
731
|
+
"Days Overdue": "Tage überfällig",
|
|
732
|
+
"Consignment Customer": "Konsignationskunde",
|
|
733
|
+
"Replenished From": "Beschickung aus",
|
|
734
|
+
"Consignment Warehouse": "Konsignationslager",
|
|
735
|
+
"Report Source": "Quelle der Meldung",
|
|
736
|
+
"Report Number": "Meldungsnummer",
|
|
737
|
+
"Replenish": "Nachbeschicken",
|
|
738
|
+
"Replenish From": "Nachbeschickung aus",
|
|
739
|
+
"Replacement Transfer": "Ersatzbeschickung",
|
|
740
|
+
"Replenishment": "Nachbeschickung",
|
|
741
|
+
"Reason": "Grund",
|
|
742
|
+
"Counted Lines": "Gezählte Positionen",
|
|
743
|
+
"Lines With Difference": "Positionen mit Differenz",
|
|
744
|
+
"System Qty": "Menge laut System",
|
|
745
|
+
"Counted Qty": "Gezählte Menge",
|
|
746
|
+
"Difference": "Differenz",
|
|
747
|
+
"Returned": "Retourniert",
|
|
748
|
+
"Still With Them": "Noch beim Kunden",
|
|
749
|
+
"Last Delivery": "Letzte Lieferung"
|
|
728
750
|
},
|
|
729
751
|
"tables": {
|
|
730
752
|
"items": "Positionen",
|
|
@@ -373,7 +373,9 @@ declare const _default: {
|
|
|
373
373
|
"Stock Reservation": "Stock Reservation",
|
|
374
374
|
"Stock Availability": "Stock Availability",
|
|
375
375
|
"Sales Backlog": "Sales Backlog",
|
|
376
|
-
"Purchase Backlog": "Purchase Backlog"
|
|
376
|
+
"Purchase Backlog": "Purchase Backlog",
|
|
377
|
+
"Consignment Withdrawal": "Consignment Withdrawal",
|
|
378
|
+
"Stock Count": "Stock Count"
|
|
377
379
|
}
|
|
378
380
|
},
|
|
379
381
|
"login": {
|
|
@@ -538,7 +540,9 @@ declare const _default: {
|
|
|
538
540
|
"onlyDeliverable": "Only what can be delivered now",
|
|
539
541
|
"onlyOverdue": "Only overdue",
|
|
540
542
|
"noBacklog": "Nothing open",
|
|
541
|
-
"unconfirmedNote": "* not confirmed by the supplier: the order's schedule date"
|
|
543
|
+
"unconfirmedNote": "* not confirmed by the supplier: the order's schedule date",
|
|
544
|
+
"batchRecipients": "Who received batch {{batch}}",
|
|
545
|
+
"batchChanges": "Changes to batch {{batch}}"
|
|
542
546
|
},
|
|
543
547
|
"masterForm": {
|
|
544
548
|
"required": "Required: {{fields}}",
|
|
@@ -766,7 +770,25 @@ declare const _default: {
|
|
|
766
770
|
"Deliverable Now": "Deliverable Now",
|
|
767
771
|
"Expected": "Expected",
|
|
768
772
|
"Received": "Received",
|
|
769
|
-
"Days Overdue": "Days Overdue"
|
|
773
|
+
"Days Overdue": "Days Overdue",
|
|
774
|
+
"Consignment Customer": "Consignment Customer",
|
|
775
|
+
"Replenished From": "Replenished From",
|
|
776
|
+
"Consignment Warehouse": "Consignment Warehouse",
|
|
777
|
+
"Report Source": "Report Source",
|
|
778
|
+
"Report Number": "Report Number",
|
|
779
|
+
"Replenish": "Replenish",
|
|
780
|
+
"Replenish From": "Replenish From",
|
|
781
|
+
"Replacement Transfer": "Replacement Transfer",
|
|
782
|
+
"Replenishment": "Replenishment",
|
|
783
|
+
"Reason": "Reason",
|
|
784
|
+
"Counted Lines": "Counted Lines",
|
|
785
|
+
"Lines With Difference": "Lines With Difference",
|
|
786
|
+
"System Qty": "System Qty",
|
|
787
|
+
"Counted Qty": "Counted Qty",
|
|
788
|
+
"Difference": "Difference",
|
|
789
|
+
"Returned": "Returned",
|
|
790
|
+
"Still With Them": "Still With Them",
|
|
791
|
+
"Last Delivery": "Last Delivery"
|
|
770
792
|
},
|
|
771
793
|
"tables": {
|
|
772
794
|
"accounts": "accounts",
|
|
@@ -373,7 +373,9 @@ declare const _default: {
|
|
|
373
373
|
"Stock Reservation": "Réservation de stock",
|
|
374
374
|
"Stock Availability": "Disponibilité du stock",
|
|
375
375
|
"Sales Backlog": "Commandes en attente",
|
|
376
|
-
"Purchase Backlog": "Achats en attente"
|
|
376
|
+
"Purchase Backlog": "Achats en attente",
|
|
377
|
+
"Consignment Withdrawal": "Prélèvement en consignation",
|
|
378
|
+
"Stock Count": "Inventaire"
|
|
377
379
|
}
|
|
378
380
|
},
|
|
379
381
|
"login": {
|
|
@@ -538,7 +540,9 @@ declare const _default: {
|
|
|
538
540
|
"onlyDeliverable": "Seulement ce qui est livrable",
|
|
539
541
|
"onlyOverdue": "Seulement en retard",
|
|
540
542
|
"noBacklog": "Rien en attente",
|
|
541
|
-
"unconfirmedNote": "* non confirmé par le fournisseur : date prévue de la commande"
|
|
543
|
+
"unconfirmedNote": "* non confirmé par le fournisseur : date prévue de la commande",
|
|
544
|
+
"batchRecipients": "Destinataires du lot {{batch}}",
|
|
545
|
+
"batchChanges": "Modifications du lot {{batch}}"
|
|
542
546
|
},
|
|
543
547
|
"masterForm": {
|
|
544
548
|
"required": "Requis : {{fields}}",
|
|
@@ -724,7 +728,25 @@ declare const _default: {
|
|
|
724
728
|
"Deliverable Now": "Livrable maintenant",
|
|
725
729
|
"Expected": "Attendu",
|
|
726
730
|
"Received": "Reçu",
|
|
727
|
-
"Days Overdue": "Jours de retard"
|
|
731
|
+
"Days Overdue": "Jours de retard",
|
|
732
|
+
"Consignment Customer": "Client en consignation",
|
|
733
|
+
"Replenished From": "Approvisionné depuis",
|
|
734
|
+
"Consignment Warehouse": "Dépôt en consignation",
|
|
735
|
+
"Report Source": "Source de la déclaration",
|
|
736
|
+
"Report Number": "Numéro de déclaration",
|
|
737
|
+
"Replenish": "Réapprovisionner",
|
|
738
|
+
"Replenish From": "Réapprovisionner depuis",
|
|
739
|
+
"Replacement Transfer": "Transfert de remplacement",
|
|
740
|
+
"Replenishment": "Réapprovisionnement",
|
|
741
|
+
"Reason": "Motif",
|
|
742
|
+
"Counted Lines": "Lignes comptées",
|
|
743
|
+
"Lines With Difference": "Lignes avec écart",
|
|
744
|
+
"System Qty": "Quantité système",
|
|
745
|
+
"Counted Qty": "Quantité comptée",
|
|
746
|
+
"Difference": "Écart",
|
|
747
|
+
"Returned": "Retourné",
|
|
748
|
+
"Still With Them": "Encore chez le client",
|
|
749
|
+
"Last Delivery": "Dernière livraison"
|
|
728
750
|
},
|
|
729
751
|
"tables": {
|
|
730
752
|
"items": "Lignes",
|