@feedmepos/mf-inventory-portal 1.1.1-dev.2 → 1.1.2-dev.1

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.
Files changed (51) hide show
  1. package/dist/{App-DX_iuNrE.js → App-BMqeotH6.js} +1 -1
  2. package/dist/{ApprovalView-DxRg9Noq.js → ApprovalView-BT7kIV_A.js} +14 -11
  3. package/dist/{BindingsDialog-DFV98sfn.js → BindingsDialog-D51Q5MF6.js} +4 -4
  4. package/dist/{BindingsPicker-BeDUW5dG.js → BindingsPicker-CohecktA.js} +1 -1
  5. package/dist/{BindingsTable-C9hSJ7bP.js → BindingsTable-CCMPhjwe.js} +4 -4
  6. package/dist/{ClosingDraftView-BQk_Rh4m.js → ClosingDraftView-CkdD2cd0.js} +2 -2
  7. package/dist/{ClosingTemplateView-C4IXuyqV.js → ClosingTemplateView-Btsnd8gB.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-Z7FDGrKr.js → DeliveryOrderPrintPreview-DePkWJOm.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DaQ9I0UY.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BHe6mzeX.js} +3 -3
  10. package/dist/{FmMultiselectDialog-DIHHxJUH.js → FmMultiselectDialog-B2IB-7_X.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Ccw6sTX1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-aTjBWSes.js} +1 -1
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DfJydi1w.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-HQbIbui8.js} +1 -1
  13. package/dist/{IngredientGroupView-BGLweEt9.js → IngredientGroupView-DKcrpkvr.js} +2 -2
  14. package/dist/{IngredientsView-C4JavOjL.js → IngredientsView-BgX3guha.js} +4 -4
  15. package/dist/{IntegrationView-DaGPjxYD.js → IntegrationView-C5El8VLw.js} +1170 -1141
  16. package/dist/{InventoryBindingForm-BIOpuYJP.js → InventoryBindingForm-BdOwwb0P.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-vHjL5y6w.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-JjFL1iOr.js} +3 -3
  18. package/dist/{InventoryBindingSummary-D_Jism_a.js → InventoryBindingSummary-B0V_pijk.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdDii8ea.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CYaubxCg.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DQMx2Qdl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BrfGdfiV.js} +1 -1
  21. package/dist/{PublishView-DwCqAyGs.js → PublishView-CsR3VsEU.js} +18 -18
  22. package/dist/{PurchaseOrderPrintPreview-DnY8IHy-.js → PurchaseOrderPrintPreview-CvKdnDGs.js} +1 -1
  23. package/dist/{ReceiveRequestView-CSadSZfJ.js → ReceiveRequestView-CdTcc_KK.js} +172 -169
  24. package/dist/{RecipeView-DgIoL7CQ.js → RecipeView-yZ1lHuhB.js} +3 -3
  25. package/dist/{StockView-CRXK5MiG.js → StockView-BnSAddLa.js} +7 -7
  26. package/dist/{SupplierView-DYLrcirs.js → SupplierView-DPZQEzlB.js} +3 -3
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DMLHPIeF.js +2275 -0
  28. package/dist/{TransferTemplateView-DZwfZW9n.js → TransferTemplateView-DqncASn2.js} +6 -6
  29. package/dist/{UnitView-D5vr1zH9.js → UnitView-BjZ9uslx.js} +3 -3
  30. package/dist/{WarehouseView-BTou8vjt.js → WarehouseView-CRzmlUEo.js} +1 -1
  31. package/dist/api/netsuite.d.ts +1 -0
  32. package/dist/{app-pBEMFPRE.js → app-D2JWXias.js} +7722 -7672
  33. package/dist/app.d.ts +9 -0
  34. package/dist/app.js +3 -3
  35. package/dist/components/FmMultiselectDialogProps.d.ts +7 -0
  36. package/dist/{decimal-DeKzdWKN.js → decimal-Bym-hUyX.js} +1 -1
  37. package/dist/{format-unit-display-BdJz2z4A.js → format-unit-display-DjeIMeDv.js} +2 -2
  38. package/dist/{index-YWzfz0hk.js → index-69XpTRSm.js} +1 -1
  39. package/dist/{index-Dzplm_Zw.js → index-6SJDAQ49.js} +1 -1
  40. package/dist/{stock-LP1Iw8YP.js → stock-CGw_wo2L.js} +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/{supplier-A1e1UP-n.js → supplier-k-KIWnC0.js} +1 -1
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/{use-ingredient-select-dialog-D8IgIJUq.js → use-ingredient-select-dialog-DkPWvSTc.js} +1 -1
  45. package/dist/{use-inventory-binding-dialog-D-V6TckA.js → use-inventory-binding-dialog-ByWG9YFs.js} +1 -1
  46. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +8 -0
  47. package/dist/views/receive-request/composables/fn.d.ts +8 -0
  48. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +626 -0
  49. package/dist/{vue-i18n-DXZIkefQ.js → vue-i18n-DutvGlXI.js} +221 -221
  50. package/package.json +2 -1
  51. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BQl7WKt6.js +0 -2213
@@ -1,5 +1,5 @@
1
1
  import { defineStore as y } from "pinia";
2
- import { a as S, a2 as b } from "./app-pBEMFPRE.js";
2
+ import { a as S, a2 as b } from "./app-D2JWXias.js";
3
3
  import { useDialog as A } from "@feedmepos/ui-library";
4
4
  import { useI18n as I } from "@feedmepos/mf-common";
5
5
  const h = y(
@@ -1,4 +1,4 @@
1
- import { a as P, a2 as g } from "./app-pBEMFPRE.js";
1
+ import { a as P, a2 as g } from "./app-D2JWXias.js";
2
2
  import { useDialog as E } from "@feedmepos/ui-library";
3
3
  function B() {
4
4
  const u = P(), _ = E();
@@ -1,5 +1,12 @@
1
1
  import type { RevisionIdMeta } from '@feedmepos/inventory-core';
2
2
  import type { PO_SCOPE } from '../../composables/use-receive-request-form';
3
+ import type { FdoDecimal } from '@feedmepos/core/entity';
4
+ export interface ReceivedDto {
5
+ key: string;
6
+ received: FdoDecimal;
7
+ total: FdoDecimal;
8
+ remaining: FdoDecimal;
9
+ }
3
10
  export interface TransferDetailsProps {
4
11
  poRequest?: FdoPurchaseOrderRequest;
5
12
  purchaseOrder?: FdoPurchaseOrder & RevisionIdMeta;
@@ -9,6 +16,7 @@ export interface TransferDetailsProps {
9
16
  canResubmit?: boolean;
10
17
  canApprove?: boolean;
11
18
  scope: PO_SCOPE;
19
+ receivedMap: Record<string, ReceivedDto>;
12
20
  }
13
21
  export interface TransferDetailsEvents {
14
22
  (event: 'update:show', show: boolean): void;
@@ -0,0 +1,8 @@
1
+ import type { ReceivedDto } from '../components/transfer-details/TransferDetailsProps';
2
+ export declare function generatedPOReceivedMap(po: FdoPurchaseOrder): Record<string, ReceivedDto>;
3
+ export declare function validateReceivedStatus(dto: ReceivedDto): {
4
+ isPartialReceive?: boolean;
5
+ isFullReceive?: boolean;
6
+ isNoReceive?: boolean;
7
+ isOverReceive?: boolean;
8
+ };