@lambda-development/erp-core 1.4.11 → 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 +15 -3
- package/dist/i18n/locales/en.json.d.ts +15 -3
- package/dist/i18n/locales/fr.json.d.ts +15 -3
- package/dist/index.js +3451 -3247
- 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;
|
|
@@ -374,7 +374,8 @@ declare const _default: {
|
|
|
374
374
|
"Stock Availability": "Verfügbarkeit",
|
|
375
375
|
"Sales Backlog": "Auftragsrückstand",
|
|
376
376
|
"Purchase Backlog": "Bestellrückstand",
|
|
377
|
-
"Consignment Withdrawal": "Konsignationsentnahme"
|
|
377
|
+
"Consignment Withdrawal": "Konsignationsentnahme",
|
|
378
|
+
"Stock Count": "Inventur"
|
|
378
379
|
}
|
|
379
380
|
},
|
|
380
381
|
"login": {
|
|
@@ -539,7 +540,9 @@ declare const _default: {
|
|
|
539
540
|
"onlyDeliverable": "Nur jetzt Lieferbares",
|
|
540
541
|
"onlyOverdue": "Nur Überfälliges",
|
|
541
542
|
"noBacklog": "Nichts offen",
|
|
542
|
-
"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}}"
|
|
543
546
|
},
|
|
544
547
|
"masterForm": {
|
|
545
548
|
"required": "Erforderlich: {{fields}}",
|
|
@@ -734,7 +737,16 @@ declare const _default: {
|
|
|
734
737
|
"Replenish": "Nachbeschicken",
|
|
735
738
|
"Replenish From": "Nachbeschickung aus",
|
|
736
739
|
"Replacement Transfer": "Ersatzbeschickung",
|
|
737
|
-
"Replenishment": "Nachbeschickung"
|
|
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"
|
|
738
750
|
},
|
|
739
751
|
"tables": {
|
|
740
752
|
"items": "Positionen",
|
|
@@ -374,7 +374,8 @@ declare const _default: {
|
|
|
374
374
|
"Stock Availability": "Stock Availability",
|
|
375
375
|
"Sales Backlog": "Sales Backlog",
|
|
376
376
|
"Purchase Backlog": "Purchase Backlog",
|
|
377
|
-
"Consignment Withdrawal": "Consignment Withdrawal"
|
|
377
|
+
"Consignment Withdrawal": "Consignment Withdrawal",
|
|
378
|
+
"Stock Count": "Stock Count"
|
|
378
379
|
}
|
|
379
380
|
},
|
|
380
381
|
"login": {
|
|
@@ -539,7 +540,9 @@ declare const _default: {
|
|
|
539
540
|
"onlyDeliverable": "Only what can be delivered now",
|
|
540
541
|
"onlyOverdue": "Only overdue",
|
|
541
542
|
"noBacklog": "Nothing open",
|
|
542
|
-
"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}}"
|
|
543
546
|
},
|
|
544
547
|
"masterForm": {
|
|
545
548
|
"required": "Required: {{fields}}",
|
|
@@ -776,7 +779,16 @@ declare const _default: {
|
|
|
776
779
|
"Replenish": "Replenish",
|
|
777
780
|
"Replenish From": "Replenish From",
|
|
778
781
|
"Replacement Transfer": "Replacement Transfer",
|
|
779
|
-
"Replenishment": "Replenishment"
|
|
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"
|
|
780
792
|
},
|
|
781
793
|
"tables": {
|
|
782
794
|
"accounts": "accounts",
|
|
@@ -374,7 +374,8 @@ declare const _default: {
|
|
|
374
374
|
"Stock Availability": "Disponibilité du stock",
|
|
375
375
|
"Sales Backlog": "Commandes en attente",
|
|
376
376
|
"Purchase Backlog": "Achats en attente",
|
|
377
|
-
"Consignment Withdrawal": "Prélèvement en consignation"
|
|
377
|
+
"Consignment Withdrawal": "Prélèvement en consignation",
|
|
378
|
+
"Stock Count": "Inventaire"
|
|
378
379
|
}
|
|
379
380
|
},
|
|
380
381
|
"login": {
|
|
@@ -539,7 +540,9 @@ declare const _default: {
|
|
|
539
540
|
"onlyDeliverable": "Seulement ce qui est livrable",
|
|
540
541
|
"onlyOverdue": "Seulement en retard",
|
|
541
542
|
"noBacklog": "Rien en attente",
|
|
542
|
-
"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}}"
|
|
543
546
|
},
|
|
544
547
|
"masterForm": {
|
|
545
548
|
"required": "Requis : {{fields}}",
|
|
@@ -734,7 +737,16 @@ declare const _default: {
|
|
|
734
737
|
"Replenish": "Réapprovisionner",
|
|
735
738
|
"Replenish From": "Réapprovisionner depuis",
|
|
736
739
|
"Replacement Transfer": "Transfert de remplacement",
|
|
737
|
-
"Replenishment": "Réapprovisionnement"
|
|
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"
|
|
738
750
|
},
|
|
739
751
|
"tables": {
|
|
740
752
|
"items": "Lignes",
|