@mj-biz-apps/orders-ng 0.0.1 → 5.2.0
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/LICENSE +183 -0
- package/README.md +34 -2
- package/dist/checkout-element/main.js +38080 -0
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts +25 -0
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-draft-line.js +46 -0
- package/dist/lib/checkout-widget/checkout-draft-line.js.map +1 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts +80 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.js +360 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.js.map +1 -0
- package/dist/lib/checkout-widget/checkout-widget.component.d.ts +143 -0
- package/dist/lib/checkout-widget/checkout-widget.component.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-widget.component.js +873 -0
- package/dist/lib/checkout-widget/checkout-widget.component.js.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts +22 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.js +46 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.js.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts +58 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.js +137 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +127 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.js +1429 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts +18 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.js +20 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +72 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +621 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts +135 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts.map +1 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js +2169 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js.map +1 -0
- package/dist/lib/custom/PriceList/price-list-form.component.d.ts +46 -0
- package/dist/lib/custom/PriceList/price-list-form.component.d.ts.map +1 -0
- package/dist/lib/custom/PriceList/price-list-form.component.js +363 -0
- package/dist/lib/custom/PriceList/price-list-form.component.js.map +1 -0
- package/dist/lib/custom/Product/product-form.component.d.ts +81 -0
- package/dist/lib/custom/Product/product-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/product-form.component.js +665 -0
- package/dist/lib/custom/Product/product-form.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts +16 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js +55 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts +16 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js +65 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +103 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +950 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts +21 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js +67 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts +18 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js +55 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js.map +1 -0
- package/dist/lib/custom/Promotion/promotion-form.component.d.ts +33 -0
- package/dist/lib/custom/Promotion/promotion-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Promotion/promotion-form.component.js +350 -0
- package/dist/lib/custom/Promotion/promotion-form.component.js.map +1 -0
- package/dist/lib/custom/Subscription/subscription-form.component.d.ts +96 -0
- package/dist/lib/custom/Subscription/subscription-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Subscription/subscription-form.component.js +885 -0
- package/dist/lib/custom/Subscription/subscription-form.component.js.map +1 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts +60 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts.map +1 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js +567 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js.map +1 -0
- package/dist/lib/custom/custom-forms.module.d.ts +29 -0
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -0
- package/dist/lib/custom/custom-forms.module.js +127 -0
- package/dist/lib/custom/custom-forms.module.js.map +1 -0
- package/dist/lib/custom/form-navigation-helper.d.ts +10 -0
- package/dist/lib/custom/form-navigation-helper.d.ts.map +1 -0
- package/dist/lib/custom/form-navigation-helper.js +51 -0
- package/dist/lib/custom/form-navigation-helper.js.map +1 -0
- package/dist/lib/data/entity-names.d.ts +84 -0
- package/dist/lib/data/entity-names.d.ts.map +1 -0
- package/dist/lib/data/entity-names.js +85 -0
- package/dist/lib/data/entity-names.js.map +1 -0
- package/dist/lib/data/orders-queries.d.ts +394 -0
- package/dist/lib/data/orders-queries.d.ts.map +1 -0
- package/dist/lib/data/orders-queries.js +897 -0
- package/dist/lib/data/orders-queries.js.map +1 -0
- package/dist/lib/form-panels/catalog-overviews.panels.d.ts +36 -0
- package/dist/lib/form-panels/catalog-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/catalog-overviews.panels.js +443 -0
- package/dist/lib/form-panels/catalog-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/commercial-overviews.panels.d.ts +30 -0
- package/dist/lib/form-panels/commercial-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/commercial-overviews.panels.js +315 -0
- package/dist/lib/form-panels/commercial-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/document-form.helpers.d.ts +38 -0
- package/dist/lib/form-panels/document-form.helpers.d.ts.map +1 -0
- package/dist/lib/form-panels/document-form.helpers.js +183 -0
- package/dist/lib/form-panels/document-form.helpers.js.map +1 -0
- package/dist/lib/form-panels/document-forms.module.d.ts +34 -0
- package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -0
- package/dist/lib/form-panels/document-forms.module.js +183 -0
- package/dist/lib/form-panels/document-forms.module.js.map +1 -0
- package/dist/lib/form-panels/document-hero.component.d.ts +28 -0
- package/dist/lib/form-panels/document-hero.component.d.ts.map +1 -0
- package/dist/lib/form-panels/document-hero.component.js +167 -0
- package/dist/lib/form-panels/document-hero.component.js.map +1 -0
- package/dist/lib/form-panels/document-overviews.panels.d.ts +42 -0
- package/dist/lib/form-panels/document-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/document-overviews.panels.js +457 -0
- package/dist/lib/form-panels/document-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/lookup-headers.panels.d.ts +68 -0
- package/dist/lib/form-panels/lookup-headers.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/lookup-headers.panels.js +399 -0
- package/dist/lib/form-panels/lookup-headers.panels.js.map +1 -0
- package/dist/lib/form-panels/organization-header.panel.d.ts +15 -0
- package/dist/lib/form-panels/organization-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-header.panel.js +77 -0
- package/dist/lib/form-panels/organization-header.panel.js.map +1 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.d.ts +13 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.js +77 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.js.map +1 -0
- package/dist/lib/form-panels/organization-orders.panel.d.ts +16 -0
- package/dist/lib/form-panels/organization-orders.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-orders.panel.js +88 -0
- package/dist/lib/form-panels/organization-orders.panel.js.map +1 -0
- package/dist/lib/form-panels/overview-cards.component.d.ts +30 -0
- package/dist/lib/form-panels/overview-cards.component.d.ts.map +1 -0
- package/dist/lib/form-panels/overview-cards.component.js +250 -0
- package/dist/lib/form-panels/overview-cards.component.js.map +1 -0
- package/dist/lib/form-panels/overview-load.d.ts +7 -0
- package/dist/lib/form-panels/overview-load.d.ts.map +1 -0
- package/dist/lib/form-panels/overview-load.js +31 -0
- package/dist/lib/form-panels/overview-load.js.map +1 -0
- package/dist/lib/form-panels/party-headers.module.d.ts +18 -0
- package/dist/lib/form-panels/party-headers.module.d.ts.map +1 -0
- package/dist/lib/form-panels/party-headers.module.js +63 -0
- package/dist/lib/form-panels/party-headers.module.js.map +1 -0
- package/dist/lib/form-panels/party-order-stats.d.ts +26 -0
- package/dist/lib/form-panels/party-order-stats.d.ts.map +1 -0
- package/dist/lib/form-panels/party-order-stats.js +149 -0
- package/dist/lib/form-panels/party-order-stats.js.map +1 -0
- package/dist/lib/form-panels/payment-header.panel.d.ts +21 -0
- package/dist/lib/form-panels/payment-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/payment-header.panel.js +111 -0
- package/dist/lib/form-panels/payment-header.panel.js.map +1 -0
- package/dist/lib/form-panels/payment-journals.panel.d.ts +32 -0
- package/dist/lib/form-panels/payment-journals.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/payment-journals.panel.js +332 -0
- package/dist/lib/form-panels/payment-journals.panel.js.map +1 -0
- package/dist/lib/form-panels/person-header.panel.d.ts +15 -0
- package/dist/lib/form-panels/person-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-header.panel.js +77 -0
- package/dist/lib/form-panels/person-header.panel.js.map +1 -0
- package/dist/lib/form-panels/person-orders-overview.panel.d.ts +13 -0
- package/dist/lib/form-panels/person-orders-overview.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-orders-overview.panel.js +77 -0
- package/dist/lib/form-panels/person-orders-overview.panel.js.map +1 -0
- package/dist/lib/form-panels/person-orders.panel.d.ts +17 -0
- package/dist/lib/form-panels/person-orders.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-orders.panel.js +89 -0
- package/dist/lib/form-panels/person-orders.panel.js.map +1 -0
- package/dist/lib/form-panels/price-list-header.panel.d.ts +11 -0
- package/dist/lib/form-panels/price-list-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/price-list-header.panel.js +76 -0
- package/dist/lib/form-panels/price-list-header.panel.js.map +1 -0
- package/dist/lib/form-panels/price-list-simulator.panel.d.ts +19 -0
- package/dist/lib/form-panels/price-list-simulator.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/price-list-simulator.panel.js +125 -0
- package/dist/lib/form-panels/price-list-simulator.panel.js.map +1 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts +23 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.js +118 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.js.map +1 -0
- package/dist/lib/form-panels/product-header.panel.d.ts +14 -0
- package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/product-header.panel.js +105 -0
- package/dist/lib/form-panels/product-header.panel.js.map +1 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts +24 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/product-widget.panels.js +253 -0
- package/dist/lib/form-panels/product-widget.panels.js.map +1 -0
- package/dist/lib/form-panels/promotion-header.panel.d.ts +14 -0
- package/dist/lib/form-panels/promotion-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/promotion-header.panel.js +112 -0
- package/dist/lib/form-panels/promotion-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-header.panel.d.ts +17 -0
- package/dist/lib/form-panels/subscription-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-header.panel.js +127 -0
- package/dist/lib/form-panels/subscription-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-revrec.panel.d.ts +32 -0
- package/dist/lib/form-panels/subscription-revrec.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-revrec.panel.js +184 -0
- package/dist/lib/form-panels/subscription-revrec.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-term-header.panel.d.ts +13 -0
- package/dist/lib/form-panels/subscription-term-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-term-header.panel.js +113 -0
- package/dist/lib/form-panels/subscription-term-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts +23 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.js +144 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-terms.panel.d.ts +25 -0
- package/dist/lib/form-panels/subscription-terms.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-terms.panel.js +173 -0
- package/dist/lib/form-panels/subscription-terms.panel.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js +102 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js +103 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js +136 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js +106 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js +98 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js +103 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js +107 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +139 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +129 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js +122 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js +67 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js +132 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js +67 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js +85 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +342 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +378 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js +71 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js +180 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +206 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js +128 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js +158 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js +110 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js +108 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js +144 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js +134 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js +71 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +294 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js +83 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +168 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js +114 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js +162 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js +136 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js +182 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js +108 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js +75 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js +90 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js +138 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js +98 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js +134 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +234 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js +122 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js +188 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js.map +1 -0
- package/dist/lib/generated/class-registrations-manifest.d.ts +7 -0
- package/dist/lib/generated/class-registrations-manifest.d.ts.map +1 -0
- package/dist/lib/generated/class-registrations-manifest.js +7 -0
- package/dist/lib/generated/class-registrations-manifest.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +79 -0
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -0
- package/dist/lib/generated/generated-forms.module.js +276 -0
- package/dist/lib/generated/generated-forms.module.js.map +1 -0
- package/dist/lib/pages/catalog/pricing.page.d.ts +81 -0
- package/dist/lib/pages/catalog/pricing.page.d.ts.map +1 -0
- package/dist/lib/pages/catalog/pricing.page.js +555 -0
- package/dist/lib/pages/catalog/pricing.page.js.map +1 -0
- package/dist/lib/pages/catalog/products.page.d.ts +98 -0
- package/dist/lib/pages/catalog/products.page.d.ts.map +1 -0
- package/dist/lib/pages/catalog/products.page.js +877 -0
- package/dist/lib/pages/catalog/products.page.js.map +1 -0
- package/dist/lib/pages/orders/fulfillment.page.d.ts +54 -0
- package/dist/lib/pages/orders/fulfillment.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/fulfillment.page.js +279 -0
- package/dist/lib/pages/orders/fulfillment.page.js.map +1 -0
- package/dist/lib/pages/orders/order-document.page.d.ts +71 -0
- package/dist/lib/pages/orders/order-document.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/order-document.page.js +573 -0
- package/dist/lib/pages/orders/order-document.page.js.map +1 -0
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts +79 -0
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/orders-dashboard.page.js +819 -0
- package/dist/lib/pages/orders/orders-dashboard.page.js.map +1 -0
- package/dist/lib/pages/orders/orders-list.page.d.ts +21 -0
- package/dist/lib/pages/orders/orders-list.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/orders-list.page.js +74 -0
- package/dist/lib/pages/orders/orders-list.page.js.map +1 -0
- package/dist/lib/pages/orders/return.page.d.ts +96 -0
- package/dist/lib/pages/orders/return.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/return.page.js +549 -0
- package/dist/lib/pages/orders/return.page.js.map +1 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts +96 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/account-credit.page.js +463 -0
- package/dist/lib/pages/payments/account-credit.page.js.map +1 -0
- package/dist/lib/pages/payments/payments-dashboard.page.d.ts +61 -0
- package/dist/lib/pages/payments/payments-dashboard.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/payments-dashboard.page.js +359 -0
- package/dist/lib/pages/payments/payments-dashboard.page.js.map +1 -0
- package/dist/lib/pages/payments/payments-list.page.d.ts +18 -0
- package/dist/lib/pages/payments/payments-list.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/payments-list.page.js +71 -0
- package/dist/lib/pages/payments/payments-list.page.js.map +1 -0
- package/dist/lib/pages/payments/refund.page.d.ts +74 -0
- package/dist/lib/pages/payments/refund.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/refund.page.js +477 -0
- package/dist/lib/pages/payments/refund.page.js.map +1 -0
- package/dist/lib/pages/receivables/customer-ar.page.d.ts +102 -0
- package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/customer-ar.page.js +782 -0
- package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -0
- package/dist/lib/pages/receivables/overdue.page.d.ts +71 -0
- package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/overdue.page.js +338 -0
- package/dist/lib/pages/receivables/overdue.page.js.map +1 -0
- package/dist/lib/pages/receivables/subscriptions.page.d.ts +115 -0
- package/dist/lib/pages/receivables/subscriptions.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/subscriptions.page.js +632 -0
- package/dist/lib/pages/receivables/subscriptions.page.js.map +1 -0
- package/dist/lib/panels/aging-bar.component.d.ts +59 -0
- package/dist/lib/panels/aging-bar.component.d.ts.map +1 -0
- package/dist/lib/panels/aging-bar.component.js +180 -0
- package/dist/lib/panels/aging-bar.component.js.map +1 -0
- package/dist/lib/panels/allocation-grid.component.d.ts +90 -0
- package/dist/lib/panels/allocation-grid.component.d.ts.map +1 -0
- package/dist/lib/panels/allocation-grid.component.js +425 -0
- package/dist/lib/panels/allocation-grid.component.js.map +1 -0
- package/dist/lib/panels/allocation-math.d.ts +59 -0
- package/dist/lib/panels/allocation-math.d.ts.map +1 -0
- package/dist/lib/panels/allocation-math.js +99 -0
- package/dist/lib/panels/allocation-math.js.map +1 -0
- package/dist/lib/panels/chips.component.d.ts +104 -0
- package/dist/lib/panels/chips.component.d.ts.map +1 -0
- package/dist/lib/panels/chips.component.js +274 -0
- package/dist/lib/panels/chips.component.js.map +1 -0
- package/dist/lib/panels/day-bars.component.d.ts +64 -0
- package/dist/lib/panels/day-bars.component.d.ts.map +1 -0
- package/dist/lib/panels/day-bars.component.js +143 -0
- package/dist/lib/panels/day-bars.component.js.map +1 -0
- package/dist/lib/panels/decomposition-ladder.component.d.ts +68 -0
- package/dist/lib/panels/decomposition-ladder.component.d.ts.map +1 -0
- package/dist/lib/panels/decomposition-ladder.component.js +217 -0
- package/dist/lib/panels/decomposition-ladder.component.js.map +1 -0
- package/dist/lib/panels/index.d.ts +46 -0
- package/dist/lib/panels/index.d.ts.map +1 -0
- package/dist/lib/panels/index.js +58 -0
- package/dist/lib/panels/index.js.map +1 -0
- package/dist/lib/panels/journal-entry-preview.component.d.ts +71 -0
- package/dist/lib/panels/journal-entry-preview.component.d.ts.map +1 -0
- package/dist/lib/panels/journal-entry-preview.component.js +281 -0
- package/dist/lib/panels/journal-entry-preview.component.js.map +1 -0
- package/dist/lib/panels/money-format.d.ts +182 -0
- package/dist/lib/panels/money-format.d.ts.map +1 -0
- package/dist/lib/panels/money-format.js +297 -0
- package/dist/lib/panels/money-format.js.map +1 -0
- package/dist/lib/panels/money-strip.component.d.ts +69 -0
- package/dist/lib/panels/money-strip.component.d.ts.map +1 -0
- package/dist/lib/panels/money-strip.component.js +233 -0
- package/dist/lib/panels/money-strip.component.js.map +1 -0
- package/dist/lib/panels/order-stages.d.ts +75 -0
- package/dist/lib/panels/order-stages.d.ts.map +1 -0
- package/dist/lib/panels/order-stages.js +100 -0
- package/dist/lib/panels/order-stages.js.map +1 -0
- package/dist/lib/panels/party-orders-overview.component.d.ts +79 -0
- package/dist/lib/panels/party-orders-overview.component.d.ts.map +1 -0
- package/dist/lib/panels/party-orders-overview.component.js +906 -0
- package/dist/lib/panels/party-orders-overview.component.js.map +1 -0
- package/dist/lib/panels/stat-tile.component.d.ts +75 -0
- package/dist/lib/panels/stat-tile.component.d.ts.map +1 -0
- package/dist/lib/panels/stat-tile.component.js +214 -0
- package/dist/lib/panels/stat-tile.component.js.map +1 -0
- package/dist/lib/panels/status-stepper.component.d.ts +60 -0
- package/dist/lib/panels/status-stepper.component.d.ts.map +1 -0
- package/dist/lib/panels/status-stepper.component.js +160 -0
- package/dist/lib/panels/status-stepper.component.js.map +1 -0
- package/dist/lib/panels/summary-strip.component.d.ts +48 -0
- package/dist/lib/panels/summary-strip.component.d.ts.map +1 -0
- package/dist/lib/panels/summary-strip.component.js +100 -0
- package/dist/lib/panels/summary-strip.component.js.map +1 -0
- package/dist/lib/panels/worklist-table.component.d.ts +127 -0
- package/dist/lib/panels/worklist-table.component.d.ts.map +1 -0
- package/dist/lib/panels/worklist-table.component.js +444 -0
- package/dist/lib/panels/worklist-table.component.js.map +1 -0
- package/dist/lib/sections/orders-sections.component.d.ts +282 -0
- package/dist/lib/sections/orders-sections.component.d.ts.map +1 -0
- package/dist/lib/sections/orders-sections.component.js +1117 -0
- package/dist/lib/sections/orders-sections.component.js.map +1 -0
- package/dist/lib/sections/section-nav.model.d.ts +74 -0
- package/dist/lib/sections/section-nav.model.d.ts.map +1 -0
- package/dist/lib/sections/section-nav.model.js +114 -0
- package/dist/lib/sections/section-nav.model.js.map +1 -0
- package/dist/lib/sections/section-shell.component.d.ts +70 -0
- package/dist/lib/sections/section-shell.component.d.ts.map +1 -0
- package/dist/lib/sections/section-shell.component.js +193 -0
- package/dist/lib/sections/section-shell.component.js.map +1 -0
- package/dist/lib/services/pricing-scheduler.service.d.ts +181 -0
- package/dist/lib/services/pricing-scheduler.service.d.ts.map +1 -0
- package/dist/lib/services/pricing-scheduler.service.js +292 -0
- package/dist/lib/services/pricing-scheduler.service.js.map +1 -0
- package/dist/lib/services/save-error.d.ts +24 -0
- package/dist/lib/services/save-error.d.ts.map +1 -0
- package/dist/lib/services/save-error.js +47 -0
- package/dist/lib/services/save-error.js.map +1 -0
- package/dist/lib/styles/orders-kit.css +841 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts +55 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js +243 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts +47 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js +112 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts +36 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js +179 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts +36 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js +9 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts +35 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js +124 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js.map +1 -0
- package/dist/public-api.d.ts +80 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +98 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +78 -5
|
@@ -0,0 +1,1429 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, inject } from '@angular/core';
|
|
8
|
+
import { CompositeKey, Metadata, RunView } from '@memberjunction/core';
|
|
9
|
+
import { UserInfoEngine } from '@memberjunction/core-entities';
|
|
10
|
+
import { RegisterClass, UUIDsEqual } from '@memberjunction/global';
|
|
11
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
12
|
+
import { NavigationService } from '@memberjunction/ng-shared';
|
|
13
|
+
import { MJO_COMMON_ENTITIES, MJO_ENTITIES } from '../../data/entity-names.js';
|
|
14
|
+
import { GetOrderJournalRollup, GetPaymentTypes, GetSellingCompanies, JournalEntryViewParams, SubscriptionViewParams, } from '../../data/orders-queries.js';
|
|
15
|
+
import { FormatDate, FormatMoney, HasCents } from '../../panels/money-format.js';
|
|
16
|
+
import { mjBizAppsOrdersOrderHeaderFormComponent } from '../../generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js';
|
|
17
|
+
import { DispatchFormNavigation } from '../form-navigation-helper.js';
|
|
18
|
+
import { ExpandedPartyFromPref, FormatPartyAddress, NextExpandedParty, OrderHeaderExpandedFromPref, } from './order-header-prefs.js';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
import * as i1 from "@angular/forms";
|
|
21
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
22
|
+
import * as i3 from "@memberjunction/ng-ui-components";
|
|
23
|
+
import * as i4 from "./order-lines-editor.component.js";
|
|
24
|
+
import * as i5 from "@mj-biz-apps/accounting-ng";
|
|
25
|
+
const _forTrack0 = ($index, $item) => $item.CompanyID;
|
|
26
|
+
const _forTrack1 = ($index, $item) => $item.Key;
|
|
27
|
+
const _forTrack2 = ($index, $item) => $item.Name + $item.Value;
|
|
28
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "span");
|
|
30
|
+
i0.ɵɵtext(1);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
} if (rf & 2) {
|
|
33
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
34
|
+
i0.ɵɵclassMap(ctx_r1.StatusChipClass);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵtextInterpolate(ctx_r1.record.Status);
|
|
37
|
+
} }
|
|
38
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "span", 35);
|
|
40
|
+
i0.ɵɵtext(1);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵtextInterpolate(ctx_r1.ShipToName);
|
|
46
|
+
} }
|
|
47
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
49
|
+
i0.ɵɵelementStart(0, "button", 44);
|
|
50
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_16_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OpenShipTo($event)); });
|
|
51
|
+
i0.ɵɵtext(1);
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵtextInterpolate(ctx_r1.ShipToName);
|
|
57
|
+
} }
|
|
58
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
60
|
+
i0.ɵɵelementStart(0, "button", 52);
|
|
61
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.ClearShipToAddress($event)); });
|
|
62
|
+
i0.ɵɵtext(1, "Clear");
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
66
|
+
i0.ɵɵproperty("disabled", !ctx_r1.EditMode);
|
|
67
|
+
} }
|
|
68
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
70
|
+
i0.ɵɵelementStart(0, "button", 52);
|
|
71
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.EnsureShipToAddress($event)); });
|
|
72
|
+
i0.ɵɵtext(1, "Add address");
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
} if (rf & 2) {
|
|
75
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
76
|
+
i0.ɵɵproperty("disabled", !ctx_r1.EditMode);
|
|
77
|
+
} }
|
|
78
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
80
|
+
i0.ɵɵelementStart(0, "mj-form-field", 53);
|
|
81
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementStart(1, "mj-form-field", 54);
|
|
84
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
i0.ɵɵelementStart(2, "div", 55)(3, "mj-form-field", 56);
|
|
87
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
88
|
+
i0.ɵɵelementEnd();
|
|
89
|
+
i0.ɵɵelementStart(4, "mj-form-field", 57);
|
|
90
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_4_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
91
|
+
i0.ɵɵelementEnd();
|
|
92
|
+
i0.ɵɵelementStart(5, "mj-form-field", 58);
|
|
93
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_5_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
94
|
+
i0.ɵɵelementEnd()();
|
|
95
|
+
i0.ɵɵelementStart(6, "mj-form-field", 59);
|
|
96
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template_mj_form_field_Navigate_6_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
97
|
+
i0.ɵɵelementEnd();
|
|
98
|
+
} if (rf & 2) {
|
|
99
|
+
const shipAddr_r9 = ctx;
|
|
100
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
101
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
102
|
+
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
104
|
+
i0.ɵɵadvance(2);
|
|
105
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
106
|
+
i0.ɵɵadvance();
|
|
107
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
108
|
+
i0.ɵɵadvance();
|
|
109
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
110
|
+
i0.ɵɵadvance();
|
|
111
|
+
i0.ɵɵproperty("Record", shipAddr_r9)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
112
|
+
} }
|
|
113
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
115
|
+
i0.ɵɵelementStart(0, "div", 39)(1, "mj-form-field", 45);
|
|
116
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template_mj_form_field_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
117
|
+
i0.ɵɵelementEnd();
|
|
118
|
+
i0.ɵɵelementStart(2, "mj-form-field", 46);
|
|
119
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template_mj_form_field_Navigate_2_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("ValueChange", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template_mj_form_field_ValueChange_2_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPartyPersonChange("ShipTo")); });
|
|
120
|
+
i0.ɵɵelementEnd();
|
|
121
|
+
i0.ɵɵelementStart(3, "mj-form-field", 47);
|
|
122
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
123
|
+
i0.ɵɵelementEnd();
|
|
124
|
+
i0.ɵɵelementStart(4, "div", 48)(5, "div", 49)(6, "span", 50);
|
|
125
|
+
i0.ɵɵtext(7, "Address");
|
|
126
|
+
i0.ɵɵelementEnd();
|
|
127
|
+
i0.ɵɵconditionalCreate(8, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_8_Template, 2, 1, "button", 51)(9, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_9_Template, 2, 1, "button", 51);
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
i0.ɵɵconditionalCreate(10, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Conditional_10_Template, 7, 24);
|
|
130
|
+
i0.ɵɵelementEnd()();
|
|
131
|
+
} if (rf & 2) {
|
|
132
|
+
let tmp_16_0;
|
|
133
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
134
|
+
i0.ɵɵadvance();
|
|
135
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
136
|
+
i0.ɵɵadvance();
|
|
137
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
138
|
+
i0.ɵɵadvance();
|
|
139
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
140
|
+
i0.ɵɵadvance(5);
|
|
141
|
+
i0.ɵɵconditional(ctx_r1.record.ShipToAddressID_Object ? 8 : 9);
|
|
142
|
+
i0.ɵɵadvance(2);
|
|
143
|
+
i0.ɵɵconditional((tmp_16_0 = ctx_r1.record.ShipToAddressID_Object) ? 10 : -1, tmp_16_0);
|
|
144
|
+
} }
|
|
145
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
146
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
147
|
+
i0.ɵɵelementStart(0, "button", 44);
|
|
148
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_28_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OpenBillTo($event)); });
|
|
149
|
+
i0.ɵɵtext(1);
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
} if (rf & 2) {
|
|
152
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
153
|
+
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx_r1.BillToName);
|
|
155
|
+
} }
|
|
156
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
157
|
+
i0.ɵɵelementStart(0, "span", 35);
|
|
158
|
+
i0.ɵɵtext(1);
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
} if (rf & 2) {
|
|
161
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
162
|
+
i0.ɵɵadvance();
|
|
163
|
+
i0.ɵɵtextInterpolate(ctx_r1.BillToName);
|
|
164
|
+
} }
|
|
165
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
166
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
167
|
+
i0.ɵɵelementStart(0, "button", 52);
|
|
168
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.ClearBillToAddress($event)); });
|
|
169
|
+
i0.ɵɵtext(1, "Clear");
|
|
170
|
+
i0.ɵɵelementEnd();
|
|
171
|
+
} if (rf & 2) {
|
|
172
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
173
|
+
i0.ɵɵproperty("disabled", !ctx_r1.EditMode);
|
|
174
|
+
} }
|
|
175
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
176
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
177
|
+
i0.ɵɵelementStart(0, "button", 52);
|
|
178
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.EnsureBillToAddress($event)); });
|
|
179
|
+
i0.ɵɵtext(1, "Add address");
|
|
180
|
+
i0.ɵɵelementEnd();
|
|
181
|
+
} if (rf & 2) {
|
|
182
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
183
|
+
i0.ɵɵproperty("disabled", !ctx_r1.EditMode);
|
|
184
|
+
} }
|
|
185
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
187
|
+
i0.ɵɵelementStart(0, "mj-form-field", 53);
|
|
188
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
189
|
+
i0.ɵɵelementEnd();
|
|
190
|
+
i0.ɵɵelementStart(1, "mj-form-field", 54);
|
|
191
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
192
|
+
i0.ɵɵelementEnd();
|
|
193
|
+
i0.ɵɵelementStart(2, "div", 55)(3, "mj-form-field", 56);
|
|
194
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
195
|
+
i0.ɵɵelementEnd();
|
|
196
|
+
i0.ɵɵelementStart(4, "mj-form-field", 57);
|
|
197
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
198
|
+
i0.ɵɵelementEnd();
|
|
199
|
+
i0.ɵɵelementStart(5, "mj-form-field", 58);
|
|
200
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_5_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
201
|
+
i0.ɵɵelementEnd()();
|
|
202
|
+
i0.ɵɵelementStart(6, "mj-form-field", 59);
|
|
203
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template_mj_form_field_Navigate_6_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
204
|
+
i0.ɵɵelementEnd();
|
|
205
|
+
} if (rf & 2) {
|
|
206
|
+
const billAddr_r15 = ctx;
|
|
207
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
208
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
209
|
+
i0.ɵɵadvance();
|
|
210
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
211
|
+
i0.ɵɵadvance(2);
|
|
212
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
213
|
+
i0.ɵɵadvance();
|
|
214
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
215
|
+
i0.ɵɵadvance();
|
|
216
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
217
|
+
i0.ɵɵadvance();
|
|
218
|
+
i0.ɵɵproperty("Record", billAddr_r15)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
219
|
+
} }
|
|
220
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
221
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
222
|
+
i0.ɵɵelementStart(0, "div", 39)(1, "mj-form-field", 60);
|
|
223
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template_mj_form_field_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
224
|
+
i0.ɵɵelementEnd();
|
|
225
|
+
i0.ɵɵelementStart(2, "mj-form-field", 61);
|
|
226
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template_mj_form_field_Navigate_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("ValueChange", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template_mj_form_field_ValueChange_2_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPartyPersonChange("BillTo")); });
|
|
227
|
+
i0.ɵɵelementEnd();
|
|
228
|
+
i0.ɵɵelementStart(3, "mj-form-field", 62);
|
|
229
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
230
|
+
i0.ɵɵelementEnd();
|
|
231
|
+
i0.ɵɵelementStart(4, "div", 48)(5, "div", 49)(6, "span", 50);
|
|
232
|
+
i0.ɵɵtext(7, "Address");
|
|
233
|
+
i0.ɵɵelementEnd();
|
|
234
|
+
i0.ɵɵconditionalCreate(8, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_8_Template, 2, 1, "button", 51)(9, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_9_Template, 2, 1, "button", 51);
|
|
235
|
+
i0.ɵɵelementEnd();
|
|
236
|
+
i0.ɵɵconditionalCreate(10, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Conditional_10_Template, 7, 24);
|
|
237
|
+
i0.ɵɵelementEnd()();
|
|
238
|
+
} if (rf & 2) {
|
|
239
|
+
let tmp_16_0;
|
|
240
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
241
|
+
i0.ɵɵadvance();
|
|
242
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
243
|
+
i0.ɵɵadvance();
|
|
244
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
245
|
+
i0.ɵɵadvance();
|
|
246
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
247
|
+
i0.ɵɵadvance(5);
|
|
248
|
+
i0.ɵɵconditional(ctx_r1.record.BillToAddressID_Object ? 8 : 9);
|
|
249
|
+
i0.ɵɵadvance(2);
|
|
250
|
+
i0.ɵɵconditional((tmp_16_0 = ctx_r1.record.BillToAddressID_Object) ? 10 : -1, tmp_16_0);
|
|
251
|
+
} }
|
|
252
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
253
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
254
|
+
i0.ɵɵelementStart(0, "button", 66);
|
|
255
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.JumpToBill()); });
|
|
256
|
+
i0.ɵɵtext(1, "Need a bill-to party");
|
|
257
|
+
i0.ɵɵelementEnd();
|
|
258
|
+
} }
|
|
259
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
260
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
261
|
+
i0.ɵɵelementStart(0, "button", 66);
|
|
262
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.JumpToPayment()); });
|
|
263
|
+
i0.ɵɵtext(1, "Need a check / ACH reference");
|
|
264
|
+
i0.ɵɵelementEnd();
|
|
265
|
+
} }
|
|
266
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
267
|
+
i0.ɵɵelementStart(0, "span", 65);
|
|
268
|
+
i0.ɵɵtext(1);
|
|
269
|
+
i0.ɵɵelementEnd();
|
|
270
|
+
} if (rf & 2) {
|
|
271
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
272
|
+
i0.ɵɵadvance();
|
|
273
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfirmBlockedReason);
|
|
274
|
+
} }
|
|
275
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
276
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
277
|
+
i0.ɵɵelement(1, "i", 63);
|
|
278
|
+
i0.ɵɵelementStart(2, "span");
|
|
279
|
+
i0.ɵɵtext(3, "Before this can be confirmed");
|
|
280
|
+
i0.ɵɵelementEnd();
|
|
281
|
+
i0.ɵɵconditionalCreate(4, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_4_Template, 2, 0, "button", 64)(5, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_5_Template, 2, 0, "button", 64)(6, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Conditional_6_Template, 2, 1, "span", 65);
|
|
282
|
+
i0.ɵɵelementEnd();
|
|
283
|
+
} if (rf & 2) {
|
|
284
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
285
|
+
i0.ɵɵadvance(4);
|
|
286
|
+
i0.ɵɵconditional(ctx_r1.NeedsBillTo ? 4 : ctx_r1.NeedsPaymentReference ? 5 : 6);
|
|
287
|
+
} }
|
|
288
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
289
|
+
i0.ɵɵelementStart(0, "div", 41);
|
|
290
|
+
i0.ɵɵelement(1, "i", 67);
|
|
291
|
+
i0.ɵɵelementStart(2, "span");
|
|
292
|
+
i0.ɵɵtext(3);
|
|
293
|
+
i0.ɵɵelementEnd()();
|
|
294
|
+
} if (rf & 2) {
|
|
295
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
296
|
+
i0.ɵɵadvance(3);
|
|
297
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfirmError);
|
|
298
|
+
} }
|
|
299
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
300
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
301
|
+
i0.ɵɵelementStart(0, "label", 71)(1, "span", 74);
|
|
302
|
+
i0.ɵɵtext(2, "Check / ACH reference");
|
|
303
|
+
i0.ɵɵelementEnd();
|
|
304
|
+
i0.ɵɵelementStart(3, "input", 75);
|
|
305
|
+
i0.ɵɵlistener("ngModelChange", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_4_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.SetPaymentReference($event)); });
|
|
306
|
+
i0.ɵɵelementEnd()();
|
|
307
|
+
} if (rf & 2) {
|
|
308
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
309
|
+
i0.ɵɵadvance(3);
|
|
310
|
+
i0.ɵɵproperty("ngModel", ctx_r1.PaymentReference)("disabled", !ctx_r1.ComposeMode);
|
|
311
|
+
} }
|
|
312
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
313
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
314
|
+
i0.ɵɵelementStart(0, "mj-explorer-entity-data-grid", 76);
|
|
315
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_5_Template_mj_explorer_entity_data_grid_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
316
|
+
i0.ɵɵelementEnd();
|
|
317
|
+
} if (rf & 2) {
|
|
318
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
319
|
+
i0.ɵɵproperty("Params", ctx_r1.PaymentParams)("AllowLoad", true)("ShowToolbar", true)("ShowNewButton", false)("ShowDeleteButton", false)("Height", "fit-content")("MaxHeight", ctx_r1.RelatedGridHeight);
|
|
320
|
+
} }
|
|
321
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
322
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
323
|
+
i0.ɵɵtext(1, "Intent only \u2014 the payment is created when the order is confirmed.");
|
|
324
|
+
i0.ɵɵelementEnd();
|
|
325
|
+
} }
|
|
326
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
327
|
+
const _r18 = i0.ɵɵgetCurrentView();
|
|
328
|
+
i0.ɵɵelementStart(0, "div", 43)(1, "div", 68)(2, "mj-form-field", 69);
|
|
329
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Template_mj_form_field_Navigate_2_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
330
|
+
i0.ɵɵelementEnd();
|
|
331
|
+
i0.ɵɵelementStart(3, "mj-form-field", 70);
|
|
332
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
333
|
+
i0.ɵɵelementEnd();
|
|
334
|
+
i0.ɵɵconditionalCreate(4, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_4_Template, 4, 2, "label", 71);
|
|
335
|
+
i0.ɵɵelementEnd();
|
|
336
|
+
i0.ɵɵconditionalCreate(5, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_5_Template, 1, 7, "mj-explorer-entity-data-grid", 72)(6, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Conditional_6_Template, 2, 0, "div", 73);
|
|
337
|
+
i0.ɵɵelementEnd();
|
|
338
|
+
} if (rf & 2) {
|
|
339
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
340
|
+
i0.ɵɵadvance(2);
|
|
341
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.ComposeMode)("FormContext", ctx_r1.formContext);
|
|
342
|
+
i0.ɵɵadvance();
|
|
343
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.ComposeMode)("FormContext", ctx_r1.formContext);
|
|
344
|
+
i0.ɵɵadvance();
|
|
345
|
+
i0.ɵɵconditional(ctx_r1.PaymentRequiresReference ? 4 : -1);
|
|
346
|
+
i0.ɵɵadvance();
|
|
347
|
+
i0.ɵɵconditional(ctx_r1.record.IsSaved && ctx_r1.PaymentParams ? 5 : 6);
|
|
348
|
+
} }
|
|
349
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template(rf, ctx) { if (rf & 1) {
|
|
350
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
351
|
+
i0.ɵɵelementStart(0, "div", 43)(1, "div", 68)(2, "mj-form-field", 77);
|
|
352
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_2_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
353
|
+
i0.ɵɵelementEnd();
|
|
354
|
+
i0.ɵɵelementStart(3, "mj-form-field", 78);
|
|
355
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_3_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
356
|
+
i0.ɵɵelementEnd();
|
|
357
|
+
i0.ɵɵelementStart(4, "mj-form-field", 79);
|
|
358
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_4_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
359
|
+
i0.ɵɵelementEnd();
|
|
360
|
+
i0.ɵɵelementStart(5, "mj-form-field", 80);
|
|
361
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_5_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
362
|
+
i0.ɵɵelementEnd();
|
|
363
|
+
i0.ɵɵelementStart(6, "mj-form-field", 81);
|
|
364
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_6_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
365
|
+
i0.ɵɵelementEnd();
|
|
366
|
+
i0.ɵɵelementStart(7, "mj-form-field", 82);
|
|
367
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_7_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
368
|
+
i0.ɵɵelementEnd();
|
|
369
|
+
i0.ɵɵelementStart(8, "mj-form-field", 83);
|
|
370
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template_mj_form_field_Navigate_8_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
371
|
+
i0.ɵɵelementEnd()()();
|
|
372
|
+
} if (rf & 2) {
|
|
373
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
374
|
+
i0.ɵɵadvance(2);
|
|
375
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
376
|
+
i0.ɵɵadvance();
|
|
377
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
378
|
+
i0.ɵɵadvance();
|
|
379
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", false)("FormContext", ctx_r1.formContext);
|
|
380
|
+
i0.ɵɵadvance();
|
|
381
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", false)("FormContext", ctx_r1.formContext);
|
|
382
|
+
i0.ɵɵadvance();
|
|
383
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
384
|
+
i0.ɵɵadvance();
|
|
385
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
386
|
+
i0.ɵɵadvance();
|
|
387
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
388
|
+
} }
|
|
389
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
390
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
391
|
+
i0.ɵɵtext(1, "Charges were booked with the order and cannot be edited.");
|
|
392
|
+
i0.ɵɵelementEnd();
|
|
393
|
+
} }
|
|
394
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
395
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
396
|
+
i0.ɵɵelementStart(0, "mj-explorer-entity-data-grid", 76);
|
|
397
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Conditional_1_Template_mj_explorer_entity_data_grid_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r22); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
398
|
+
i0.ɵɵelementEnd();
|
|
399
|
+
i0.ɵɵconditionalCreate(1, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Conditional_1_Conditional_1_Template, 2, 0, "div", 73);
|
|
400
|
+
} if (rf & 2) {
|
|
401
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
402
|
+
i0.ɵɵproperty("Params", ctx_r1.ChargeParams)("AllowLoad", true)("ShowToolbar", true)("ShowNewButton", false)("ShowDeleteButton", false)("Height", "fit-content")("MaxHeight", ctx_r1.RelatedGridHeight);
|
|
403
|
+
i0.ɵɵadvance();
|
|
404
|
+
i0.ɵɵconditional(ctx_r1.record.MoneyLocked ? 1 : -1);
|
|
405
|
+
} }
|
|
406
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
407
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
408
|
+
i0.ɵɵconditionalCreate(1, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Conditional_1_Template, 2, 8);
|
|
409
|
+
i0.ɵɵelementEnd();
|
|
410
|
+
} if (rf & 2) {
|
|
411
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
412
|
+
i0.ɵɵadvance();
|
|
413
|
+
i0.ɵɵconditional(ctx_r1.ChargeParams ? 1 : -1);
|
|
414
|
+
} }
|
|
415
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
416
|
+
i0.ɵɵtext(0, " What this order booked, as one entry per company \u2014 not a stored row ");
|
|
417
|
+
} }
|
|
418
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
419
|
+
i0.ɵɵtext(0, " One stored journal per order line \u2014 open a row to drill in ");
|
|
420
|
+
} }
|
|
421
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
422
|
+
i0.ɵɵelementStart(0, "span", 86);
|
|
423
|
+
i0.ɵɵtext(1);
|
|
424
|
+
i0.ɵɵelementEnd();
|
|
425
|
+
} if (rf & 2) {
|
|
426
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
427
|
+
i0.ɵɵadvance();
|
|
428
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupJournalCount);
|
|
429
|
+
} }
|
|
430
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
431
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
432
|
+
i0.ɵɵelementStart(0, "div", 88)(1, "mj-deferred-revenue-waterfall", 90);
|
|
433
|
+
i0.ɵɵlistener("JournalEntrySelected", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_17_Template_mj_deferred_revenue_waterfall_JournalEntrySelected_1_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnJournalEntrySelected($event)); });
|
|
434
|
+
i0.ɵɵelementEnd()();
|
|
435
|
+
} if (rf & 2) {
|
|
436
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
437
|
+
i0.ɵɵadvance();
|
|
438
|
+
i0.ɵɵproperty("JournalEntries", ctx_r1.RevRecJournalEntries)("Title", "Order Rev-Rec & Deferred Revenue Schedule");
|
|
439
|
+
} }
|
|
440
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
441
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
442
|
+
i0.ɵɵtext(1, "Rolling up journals\u2026");
|
|
443
|
+
i0.ɵɵelementEnd();
|
|
444
|
+
} }
|
|
445
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
446
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
447
|
+
i0.ɵɵtext(1);
|
|
448
|
+
i0.ɵɵelementEnd();
|
|
449
|
+
} if (rf & 2) {
|
|
450
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
451
|
+
i0.ɵɵadvance();
|
|
452
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupError);
|
|
453
|
+
} }
|
|
454
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
455
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
456
|
+
i0.ɵɵtext(1, "No journals yet \u2014 they appear when the order is confirmed.");
|
|
457
|
+
i0.ɵɵelementEnd();
|
|
458
|
+
} }
|
|
459
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
460
|
+
i0.ɵɵelementStart(0, "span", 99);
|
|
461
|
+
i0.ɵɵtext(1);
|
|
462
|
+
i0.ɵɵelementEnd();
|
|
463
|
+
} if (rf & 2) {
|
|
464
|
+
const row_r25 = i0.ɵɵnextContext().$implicit;
|
|
465
|
+
i0.ɵɵadvance();
|
|
466
|
+
i0.ɵɵtextInterpolate(row_r25.AccountCode);
|
|
467
|
+
} }
|
|
468
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
469
|
+
i0.ɵɵelementStart(0, "span", 102);
|
|
470
|
+
i0.ɵɵtext(1);
|
|
471
|
+
i0.ɵɵelementEnd();
|
|
472
|
+
} if (rf & 2) {
|
|
473
|
+
const dim_r26 = ctx.$implicit;
|
|
474
|
+
i0.ɵɵadvance();
|
|
475
|
+
i0.ɵɵtextInterpolate2("", dim_r26.Name, " \u00B7 ", dim_r26.Value);
|
|
476
|
+
} }
|
|
477
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_Template(rf, ctx) { if (rf & 1) {
|
|
478
|
+
i0.ɵɵelementStart(0, "tr")(1, "td")(2, "div", 98);
|
|
479
|
+
i0.ɵɵconditionalCreate(3, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_Conditional_3_Template, 2, 1, "span", 99);
|
|
480
|
+
i0.ɵɵelementStart(4, "span", 100);
|
|
481
|
+
i0.ɵɵtext(5);
|
|
482
|
+
i0.ɵɵelementEnd()();
|
|
483
|
+
i0.ɵɵelementStart(6, "div", 101);
|
|
484
|
+
i0.ɵɵrepeaterCreate(7, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_For_8_Template, 2, 2, "span", 102, _forTrack2);
|
|
485
|
+
i0.ɵɵelementStart(9, "span", 103);
|
|
486
|
+
i0.ɵɵtext(10);
|
|
487
|
+
i0.ɵɵelementEnd()()();
|
|
488
|
+
i0.ɵɵelementStart(11, "td", 97);
|
|
489
|
+
i0.ɵɵtext(12);
|
|
490
|
+
i0.ɵɵelementEnd();
|
|
491
|
+
i0.ɵɵelementStart(13, "td", 97);
|
|
492
|
+
i0.ɵɵtext(14);
|
|
493
|
+
i0.ɵɵelementEnd()();
|
|
494
|
+
} if (rf & 2) {
|
|
495
|
+
const row_r25 = ctx.$implicit;
|
|
496
|
+
const ctx_r1 = i0.ɵɵnextContext(7);
|
|
497
|
+
i0.ɵɵadvance(3);
|
|
498
|
+
i0.ɵɵconditional(row_r25.AccountCode ? 3 : -1);
|
|
499
|
+
i0.ɵɵadvance(2);
|
|
500
|
+
i0.ɵɵtextInterpolate(row_r25.AccountName);
|
|
501
|
+
i0.ɵɵadvance(2);
|
|
502
|
+
i0.ɵɵrepeater(row_r25.Dimensions);
|
|
503
|
+
i0.ɵɵadvance(3);
|
|
504
|
+
i0.ɵɵtextInterpolate(ctx_r1.SourceLineLabel(row_r25.SourceLineCount));
|
|
505
|
+
i0.ɵɵadvance();
|
|
506
|
+
i0.ɵɵclassProp("is-quiet", !row_r25.Debit);
|
|
507
|
+
i0.ɵɵadvance();
|
|
508
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupAmount(row_r25.Debit));
|
|
509
|
+
i0.ɵɵadvance();
|
|
510
|
+
i0.ɵɵclassProp("is-quiet", !row_r25.Credit);
|
|
511
|
+
i0.ɵɵadvance();
|
|
512
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupAmount(row_r25.Credit));
|
|
513
|
+
} }
|
|
514
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
515
|
+
i0.ɵɵelementStart(0, "article", 91)(1, "header", 92)(2, "div")(3, "span", 93);
|
|
516
|
+
i0.ɵɵtext(4);
|
|
517
|
+
i0.ɵɵelementEnd();
|
|
518
|
+
i0.ɵɵelementStart(5, "span", 94);
|
|
519
|
+
i0.ɵɵtext(6);
|
|
520
|
+
i0.ɵɵelementEnd()();
|
|
521
|
+
i0.ɵɵelementStart(7, "span", 95);
|
|
522
|
+
i0.ɵɵtext(8);
|
|
523
|
+
i0.ɵɵelementEnd()();
|
|
524
|
+
i0.ɵɵelementStart(9, "table", 96)(10, "thead")(11, "tr")(12, "th");
|
|
525
|
+
i0.ɵɵtext(13, "Account");
|
|
526
|
+
i0.ɵɵelementEnd();
|
|
527
|
+
i0.ɵɵelementStart(14, "th", 97);
|
|
528
|
+
i0.ɵɵtext(15, "Debit");
|
|
529
|
+
i0.ɵɵelementEnd();
|
|
530
|
+
i0.ɵɵelementStart(16, "th", 97);
|
|
531
|
+
i0.ɵɵtext(17, "Credit");
|
|
532
|
+
i0.ɵɵelementEnd()()();
|
|
533
|
+
i0.ɵɵelementStart(18, "tbody");
|
|
534
|
+
i0.ɵɵrepeaterCreate(19, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_For_20_Template, 15, 9, "tr", null, _forTrack1);
|
|
535
|
+
i0.ɵɵelementEnd();
|
|
536
|
+
i0.ɵɵelementStart(21, "tfoot")(22, "tr")(23, "th");
|
|
537
|
+
i0.ɵɵtext(24, "Total");
|
|
538
|
+
i0.ɵɵelementEnd();
|
|
539
|
+
i0.ɵɵelementStart(25, "td", 97);
|
|
540
|
+
i0.ɵɵtext(26);
|
|
541
|
+
i0.ɵɵelementEnd();
|
|
542
|
+
i0.ɵɵelementStart(27, "td", 97);
|
|
543
|
+
i0.ɵɵtext(28);
|
|
544
|
+
i0.ɵɵelementEnd()()()()();
|
|
545
|
+
} if (rf & 2) {
|
|
546
|
+
const card_r27 = ctx.$implicit;
|
|
547
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
|
548
|
+
i0.ɵɵadvance(4);
|
|
549
|
+
i0.ɵɵtextInterpolate(card_r27.Company);
|
|
550
|
+
i0.ɵɵadvance(2);
|
|
551
|
+
i0.ɵɵtextInterpolate2("", card_r27.Rows.length, " ", card_r27.Rows.length === 1 ? "line" : "lines");
|
|
552
|
+
i0.ɵɵadvance();
|
|
553
|
+
i0.ɵɵclassProp("mjo-oh-chip--ok", ctx_r1.CardIsBalanced(card_r27));
|
|
554
|
+
i0.ɵɵadvance();
|
|
555
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.CardIsBalanced(card_r27) ? "Balanced" : "Out of balance", " ");
|
|
556
|
+
i0.ɵɵadvance(11);
|
|
557
|
+
i0.ɵɵrepeater(card_r27.Rows);
|
|
558
|
+
i0.ɵɵadvance(7);
|
|
559
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupAmount(card_r27.TotalDebit));
|
|
560
|
+
i0.ɵɵadvance(2);
|
|
561
|
+
i0.ɵɵtextInterpolate(ctx_r1.RollupAmount(card_r27.TotalCredit));
|
|
562
|
+
} }
|
|
563
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
564
|
+
i0.ɵɵrepeaterCreate(0, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_For_1_Template, 29, 8, "article", 91, _forTrack0);
|
|
565
|
+
} if (rf & 2) {
|
|
566
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
567
|
+
i0.ɵɵrepeater(ctx_r1.RollupCards);
|
|
568
|
+
} }
|
|
569
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
570
|
+
i0.ɵɵconditionalCreate(0, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_0_Template, 2, 0, "div", 73)(1, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_1_Template, 2, 1, "div", 73)(2, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_2_Template, 2, 0, "div", 73)(3, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Conditional_3_Template, 2, 0);
|
|
571
|
+
} if (rf & 2) {
|
|
572
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
573
|
+
i0.ɵɵconditional(ctx_r1.RollupLoading ? 0 : ctx_r1.RollupError ? 1 : ctx_r1.RollupCards.length === 0 ? 2 : 3);
|
|
574
|
+
} }
|
|
575
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
576
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
577
|
+
i0.ɵɵelementStart(0, "mj-explorer-entity-data-grid", 104);
|
|
578
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_19_Template_mj_explorer_entity_data_grid_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
579
|
+
i0.ɵɵelementEnd();
|
|
580
|
+
} if (rf & 2) {
|
|
581
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
582
|
+
i0.ɵɵproperty("Params", ctx_r1.JournalParams)("AllowLoad", true)("ShowToolbar", true)("ShowNewButton", false)("Height", "fit-content")("MaxHeight", ctx_r1.RelatedGridHeight);
|
|
583
|
+
} }
|
|
584
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
585
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
586
|
+
i0.ɵɵtext(1, "No line journals until this order has saved lines.");
|
|
587
|
+
i0.ɵɵelementEnd();
|
|
588
|
+
} }
|
|
589
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Template(rf, ctx) { if (rf & 1) {
|
|
590
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
591
|
+
i0.ɵɵelementStart(0, "div", 43)(1, "div", 84)(2, "div")(3, "h2");
|
|
592
|
+
i0.ɵɵtext(4);
|
|
593
|
+
i0.ɵɵelementEnd();
|
|
594
|
+
i0.ɵɵelementStart(5, "p");
|
|
595
|
+
i0.ɵɵconditionalCreate(6, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_6_Template, 1, 0)(7, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_7_Template, 1, 0);
|
|
596
|
+
i0.ɵɵelementEnd()();
|
|
597
|
+
i0.ɵɵelementStart(8, "div", 85)(9, "button", 66);
|
|
598
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.SetAccountingView("summary")); });
|
|
599
|
+
i0.ɵɵtext(10, "Rolled up");
|
|
600
|
+
i0.ɵɵelementEnd();
|
|
601
|
+
i0.ɵɵelementStart(11, "button", 66);
|
|
602
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.SetAccountingView("detail")); });
|
|
603
|
+
i0.ɵɵtext(12, " By line ");
|
|
604
|
+
i0.ɵɵconditionalCreate(13, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_13_Template, 2, 1, "span", 86);
|
|
605
|
+
i0.ɵɵelementEnd();
|
|
606
|
+
i0.ɵɵelementStart(14, "button", 66);
|
|
607
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.SetAccountingView("waterfall")); });
|
|
608
|
+
i0.ɵɵelement(15, "i", 87);
|
|
609
|
+
i0.ɵɵtext(16, " Rev-Rec Waterfall ");
|
|
610
|
+
i0.ɵɵelementEnd()()();
|
|
611
|
+
i0.ɵɵconditionalCreate(17, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_17_Template, 2, 2, "div", 88)(18, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_18_Template, 4, 1)(19, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_19_Template, 1, 6, "mj-explorer-entity-data-grid", 89)(20, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Conditional_20_Template, 2, 0, "div", 73);
|
|
612
|
+
i0.ɵɵelementEnd();
|
|
613
|
+
} if (rf & 2) {
|
|
614
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
615
|
+
i0.ɵɵadvance(4);
|
|
616
|
+
i0.ɵɵtextInterpolate(ctx_r1.AccountingView === "summary" ? "Order journal" : "Line journals");
|
|
617
|
+
i0.ɵɵadvance(2);
|
|
618
|
+
i0.ɵɵconditional(ctx_r1.AccountingView === "summary" ? 6 : 7);
|
|
619
|
+
i0.ɵɵadvance(3);
|
|
620
|
+
i0.ɵɵclassProp("is-on", ctx_r1.AccountingView === "summary");
|
|
621
|
+
i0.ɵɵadvance(2);
|
|
622
|
+
i0.ɵɵclassProp("is-on", ctx_r1.AccountingView === "detail");
|
|
623
|
+
i0.ɵɵadvance(2);
|
|
624
|
+
i0.ɵɵconditional(ctx_r1.RollupJournalCount ? 13 : -1);
|
|
625
|
+
i0.ɵɵadvance();
|
|
626
|
+
i0.ɵɵclassProp("is-on", ctx_r1.AccountingView === "waterfall");
|
|
627
|
+
i0.ɵɵadvance(3);
|
|
628
|
+
i0.ɵɵconditional(ctx_r1.AccountingView === "waterfall" ? 17 : ctx_r1.AccountingView === "summary" ? 18 : ctx_r1.JournalParams ? 19 : 20);
|
|
629
|
+
} }
|
|
630
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_41_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
631
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
632
|
+
i0.ɵɵelementStart(0, "mj-explorer-entity-data-grid", 104);
|
|
633
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_41_Conditional_1_Template_mj_explorer_entity_data_grid_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
634
|
+
i0.ɵɵelementEnd();
|
|
635
|
+
} if (rf & 2) {
|
|
636
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
637
|
+
i0.ɵɵproperty("Params", ctx_r1.SubscriptionParams)("AllowLoad", true)("ShowToolbar", true)("ShowNewButton", false)("Height", "fit-content")("MaxHeight", ctx_r1.RelatedGridHeight);
|
|
638
|
+
} }
|
|
639
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
640
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
641
|
+
i0.ɵɵconditionalCreate(1, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_41_Conditional_1_Template, 1, 6, "mj-explorer-entity-data-grid", 89);
|
|
642
|
+
i0.ɵɵelementEnd();
|
|
643
|
+
} if (rf & 2) {
|
|
644
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
645
|
+
i0.ɵɵadvance();
|
|
646
|
+
i0.ɵɵconditional(ctx_r1.SubscriptionParams ? 1 : -1);
|
|
647
|
+
} }
|
|
648
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
649
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
650
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "div", 24)(2, "mj-form-field", 25);
|
|
651
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_mj_form_field_Navigate_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
652
|
+
i0.ɵɵelementEnd()();
|
|
653
|
+
i0.ɵɵelementStart(3, "div", 24)(4, "mj-form-field", 26);
|
|
654
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_mj_form_field_Navigate_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
655
|
+
i0.ɵɵelementEnd()();
|
|
656
|
+
i0.ɵɵelementStart(5, "div", 24)(6, "mj-form-field", 27);
|
|
657
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_mj_form_field_Navigate_6_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
658
|
+
i0.ɵɵelementEnd()()();
|
|
659
|
+
i0.ɵɵelementStart(7, "div", 28)(8, "div", 29)(9, "div", 30);
|
|
660
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_click_9_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectParty("ship")); })("keydown.enter", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_keydown_enter_9_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectParty("ship")); })("keydown.space", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_keydown_space_9_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.SelectParty("ship"); return i0.ɵɵresetView($event.preventDefault()); });
|
|
661
|
+
i0.ɵɵelementStart(10, "span", 31);
|
|
662
|
+
i0.ɵɵelement(11, "i", 32);
|
|
663
|
+
i0.ɵɵelementEnd();
|
|
664
|
+
i0.ɵɵelementStart(12, "span", 33)(13, "span", 34);
|
|
665
|
+
i0.ɵɵtext(14, "Ship to");
|
|
666
|
+
i0.ɵɵelementEnd();
|
|
667
|
+
i0.ɵɵconditionalCreate(15, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_15_Template, 2, 1, "span", 35)(16, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_16_Template, 2, 1, "button", 36);
|
|
668
|
+
i0.ɵɵelementStart(17, "span", 37);
|
|
669
|
+
i0.ɵɵtext(18);
|
|
670
|
+
i0.ɵɵelementEnd()();
|
|
671
|
+
i0.ɵɵelement(19, "i", 38);
|
|
672
|
+
i0.ɵɵelementEnd();
|
|
673
|
+
i0.ɵɵconditionalCreate(20, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_20_Template, 11, 14, "div", 39);
|
|
674
|
+
i0.ɵɵelementEnd();
|
|
675
|
+
i0.ɵɵelementStart(21, "div", 29)(22, "div", 30);
|
|
676
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_click_22_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectParty("bill")); })("keydown.enter", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_keydown_enter_22_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectParty("bill")); })("keydown.space", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_div_keydown_space_22_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.SelectParty("bill"); return i0.ɵɵresetView($event.preventDefault()); });
|
|
677
|
+
i0.ɵɵelementStart(23, "span", 31);
|
|
678
|
+
i0.ɵɵelement(24, "i", 7);
|
|
679
|
+
i0.ɵɵelementEnd();
|
|
680
|
+
i0.ɵɵelementStart(25, "span", 33)(26, "span", 34);
|
|
681
|
+
i0.ɵɵtext(27, "Bill to");
|
|
682
|
+
i0.ɵɵelementEnd();
|
|
683
|
+
i0.ɵɵconditionalCreate(28, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_28_Template, 2, 1, "button", 36)(29, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_29_Template, 2, 1, "span", 35);
|
|
684
|
+
i0.ɵɵelementStart(30, "span", 37);
|
|
685
|
+
i0.ɵɵtext(31);
|
|
686
|
+
i0.ɵɵelementEnd()();
|
|
687
|
+
i0.ɵɵelement(32, "i", 38);
|
|
688
|
+
i0.ɵɵelementEnd();
|
|
689
|
+
i0.ɵɵconditionalCreate(33, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_33_Template, 11, 14, "div", 39);
|
|
690
|
+
i0.ɵɵelementEnd()();
|
|
691
|
+
i0.ɵɵconditionalCreate(34, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_34_Template, 7, 1, "div", 40);
|
|
692
|
+
i0.ɵɵconditionalCreate(35, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_35_Template, 4, 1, "div", 41);
|
|
693
|
+
i0.ɵɵelementStart(36, "mj-tab-nav", 42);
|
|
694
|
+
i0.ɵɵlistener("TabChange", function BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template_mj_tab_nav_TabChange_36_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.SelectTab($event)); });
|
|
695
|
+
i0.ɵɵelementEnd();
|
|
696
|
+
i0.ɵɵconditionalCreate(37, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_37_Template, 7, 10, "div", 43);
|
|
697
|
+
i0.ɵɵconditionalCreate(38, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_38_Template, 9, 28, "div", 43);
|
|
698
|
+
i0.ɵɵconditionalCreate(39, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_39_Template, 2, 1, "div", 43);
|
|
699
|
+
i0.ɵɵconditionalCreate(40, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_40_Template, 21, 10, "div", 43);
|
|
700
|
+
i0.ɵɵconditionalCreate(41, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Conditional_41_Template, 2, 1, "div", 43);
|
|
701
|
+
} if (rf & 2) {
|
|
702
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
703
|
+
i0.ɵɵadvance(2);
|
|
704
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.ComposeMode)("FormContext", ctx_r1.formContext);
|
|
705
|
+
i0.ɵɵadvance(2);
|
|
706
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.ComposeMode)("FormContext", ctx_r1.formContext);
|
|
707
|
+
i0.ɵɵadvance(2);
|
|
708
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
|
|
709
|
+
i0.ɵɵadvance();
|
|
710
|
+
i0.ɵɵclassProp("is-ship", ctx_r1.ExpandedParty === "ship")("is-bill", ctx_r1.ExpandedParty === "bill")("is-none", ctx_r1.ExpandedParty === null);
|
|
711
|
+
i0.ɵɵadvance();
|
|
712
|
+
i0.ɵɵclassProp("is-open", ctx_r1.ExpandedParty === "ship")("is-rail", ctx_r1.ExpandedParty === "bill");
|
|
713
|
+
i0.ɵɵadvance();
|
|
714
|
+
i0.ɵɵattribute("aria-expanded", ctx_r1.ExpandedParty === "ship");
|
|
715
|
+
i0.ɵɵadvance(6);
|
|
716
|
+
i0.ɵɵconditional(ctx_r1.ShipToIsSame ? 15 : 16);
|
|
717
|
+
i0.ɵɵadvance(3);
|
|
718
|
+
i0.ɵɵtextInterpolate(ctx_r1.ShipToDetail);
|
|
719
|
+
i0.ɵɵadvance();
|
|
720
|
+
i0.ɵɵclassProp("fa-chevron-up", ctx_r1.ExpandedParty === "ship")("fa-chevron-down", ctx_r1.ExpandedParty !== "ship");
|
|
721
|
+
i0.ɵɵadvance();
|
|
722
|
+
i0.ɵɵconditional(ctx_r1.ExpandedParty === "ship" ? 20 : -1);
|
|
723
|
+
i0.ɵɵadvance();
|
|
724
|
+
i0.ɵɵclassProp("is-open", ctx_r1.ExpandedParty === "bill")("is-rail", ctx_r1.ExpandedParty === "ship")("is-needed", ctx_r1.NeedsBillTo);
|
|
725
|
+
i0.ɵɵadvance();
|
|
726
|
+
i0.ɵɵattribute("aria-expanded", ctx_r1.ExpandedParty === "bill");
|
|
727
|
+
i0.ɵɵadvance(6);
|
|
728
|
+
i0.ɵɵconditional(ctx_r1.hasBillTo ? 28 : 29);
|
|
729
|
+
i0.ɵɵadvance(3);
|
|
730
|
+
i0.ɵɵtextInterpolate(ctx_r1.BillToDetail);
|
|
731
|
+
i0.ɵɵadvance();
|
|
732
|
+
i0.ɵɵclassProp("fa-chevron-up", ctx_r1.ExpandedParty === "bill")("fa-chevron-down", ctx_r1.ExpandedParty !== "bill");
|
|
733
|
+
i0.ɵɵadvance();
|
|
734
|
+
i0.ɵɵconditional(ctx_r1.ExpandedParty === "bill" ? 33 : -1);
|
|
735
|
+
i0.ɵɵadvance();
|
|
736
|
+
i0.ɵɵconditional(ctx_r1.ConfirmBlockedReason ? 34 : -1);
|
|
737
|
+
i0.ɵɵadvance();
|
|
738
|
+
i0.ɵɵconditional(ctx_r1.ConfirmError ? 35 : -1);
|
|
739
|
+
i0.ɵɵadvance();
|
|
740
|
+
i0.ɵɵproperty("Tabs", ctx_r1.ContextTabs)("ActiveKey", ctx_r1.ActiveTab ?? "");
|
|
741
|
+
i0.ɵɵadvance();
|
|
742
|
+
i0.ɵɵconditional(ctx_r1.ActiveTab === "payment" ? 37 : -1);
|
|
743
|
+
i0.ɵɵadvance();
|
|
744
|
+
i0.ɵɵconditional(ctx_r1.ActiveTab === "details" ? 38 : -1);
|
|
745
|
+
i0.ɵɵadvance();
|
|
746
|
+
i0.ɵɵconditional(ctx_r1.ActiveTab === "charges" && ctx_r1.record.IsSaved ? 39 : -1);
|
|
747
|
+
i0.ɵɵadvance();
|
|
748
|
+
i0.ɵɵconditional(ctx_r1.ActiveTab === "accounting" && ctx_r1.record.IsSaved ? 40 : -1);
|
|
749
|
+
i0.ɵɵadvance();
|
|
750
|
+
i0.ɵɵconditional(ctx_r1.ActiveTab === "subs" && ctx_r1.record.IsSaved ? 41 : -1);
|
|
751
|
+
} }
|
|
752
|
+
function BizAppsOrderHeaderFormComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
753
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
754
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 1);
|
|
755
|
+
i0.ɵɵlistener("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mj_record_form_container_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("DeleteRequested", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mj_record_form_container_DeleteRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteRequested()); })("FavoriteToggled", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mj_record_form_container_FavoriteToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFavoriteToggled()); })("HistoryRequested", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mj_record_form_container_HistoryRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnHistoryRequested()); })("ListManagementRequested", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mj_record_form_container_ListManagementRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementRequested()); });
|
|
756
|
+
i0.ɵɵelement(1, "mj-form-panel-slot", 2);
|
|
757
|
+
i0.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5)(5, "div", 6);
|
|
758
|
+
i0.ɵɵelement(6, "i", 7);
|
|
759
|
+
i0.ɵɵelementEnd();
|
|
760
|
+
i0.ɵɵelementStart(7, "div")(8, "div", 8)(9, "h1", 9);
|
|
761
|
+
i0.ɵɵtext(10);
|
|
762
|
+
i0.ɵɵelementEnd();
|
|
763
|
+
i0.ɵɵconditionalCreate(11, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_11_Template, 2, 3, "span", 10);
|
|
764
|
+
i0.ɵɵelementEnd();
|
|
765
|
+
i0.ɵɵelementStart(12, "div", 11);
|
|
766
|
+
i0.ɵɵtext(13);
|
|
767
|
+
i0.ɵɵelementEnd()()();
|
|
768
|
+
i0.ɵɵelementStart(14, "div", 12)(15, "div", 13)(16, "div")(17, "span", 14);
|
|
769
|
+
i0.ɵɵtext(18);
|
|
770
|
+
i0.ɵɵelementEnd();
|
|
771
|
+
i0.ɵɵelementStart(19, "span", 15);
|
|
772
|
+
i0.ɵɵtext(20);
|
|
773
|
+
i0.ɵɵelementEnd()();
|
|
774
|
+
i0.ɵɵelementStart(21, "div")(22, "span", 14);
|
|
775
|
+
i0.ɵɵtext(23, "Paid");
|
|
776
|
+
i0.ɵɵelementEnd();
|
|
777
|
+
i0.ɵɵelementStart(24, "span", 15);
|
|
778
|
+
i0.ɵɵtext(25);
|
|
779
|
+
i0.ɵɵelementEnd()();
|
|
780
|
+
i0.ɵɵelementStart(26, "div")(27, "span", 14);
|
|
781
|
+
i0.ɵɵtext(28, "Balance");
|
|
782
|
+
i0.ɵɵelementEnd();
|
|
783
|
+
i0.ɵɵelementStart(29, "span", 15);
|
|
784
|
+
i0.ɵɵtext(30);
|
|
785
|
+
i0.ɵɵelementEnd()()();
|
|
786
|
+
i0.ɵɵelementStart(31, "button", 16);
|
|
787
|
+
i0.ɵɵlistener("click", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_button_click_31_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleHeader()); });
|
|
788
|
+
i0.ɵɵelement(32, "i", 17);
|
|
789
|
+
i0.ɵɵelementEnd()()();
|
|
790
|
+
i0.ɵɵconditionalCreate(33, BizAppsOrderHeaderFormComponent_Conditional_0_Conditional_33_Template, 42, 53);
|
|
791
|
+
i0.ɵɵelementEnd();
|
|
792
|
+
i0.ɵɵelement(34, "mj-form-panel-slot", 18);
|
|
793
|
+
i0.ɵɵelementStart(35, "mj-collapsible-panel", 19)(36, "mjo-order-lines-editor", 20);
|
|
794
|
+
i0.ɵɵlistener("PricingChanged", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mjo_order_lines_editor_PricingChanged_36_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnPricingChanged($event)); })("Navigate", function BizAppsOrderHeaderFormComponent_Conditional_0_Template_mjo_order_lines_editor_Navigate_36_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
|
|
795
|
+
i0.ɵɵelementEnd()();
|
|
796
|
+
i0.ɵɵelement(37, "mj-form-panel-slot", 21)(38, "mj-form-panel-slot", 22);
|
|
797
|
+
i0.ɵɵelementEnd();
|
|
798
|
+
} if (rf & 2) {
|
|
799
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
800
|
+
i0.ɵɵproperty("Record", ctx_r1.record)("FormComponent", ctx_r1);
|
|
801
|
+
i0.ɵɵadvance();
|
|
802
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
|
|
803
|
+
i0.ɵɵadvance();
|
|
804
|
+
i0.ɵɵclassProp("is-collapsed", !ctx_r1.HeaderExpanded);
|
|
805
|
+
i0.ɵɵadvance(8);
|
|
806
|
+
i0.ɵɵtextInterpolate(ctx_r1.HeaderTitle);
|
|
807
|
+
i0.ɵɵadvance();
|
|
808
|
+
i0.ɵɵconditional(ctx_r1.ShowStatusChip ? 11 : -1);
|
|
809
|
+
i0.ɵɵadvance(2);
|
|
810
|
+
i0.ɵɵtextInterpolate(ctx_r1.HeaderExpanded ? ctx_r1.HeaderSubtitle : ctx_r1.HeaderCollapsedMeta);
|
|
811
|
+
i0.ɵɵadvance(5);
|
|
812
|
+
i0.ɵɵtextInterpolate(ctx_r1.TotalLabel);
|
|
813
|
+
i0.ɵɵadvance(2);
|
|
814
|
+
i0.ɵɵtextInterpolate(ctx_r1.Money("total"));
|
|
815
|
+
i0.ɵɵadvance(5);
|
|
816
|
+
i0.ɵɵtextInterpolate(ctx_r1.Money("paid"));
|
|
817
|
+
i0.ɵɵadvance(5);
|
|
818
|
+
i0.ɵɵtextInterpolate(ctx_r1.Money("balance"));
|
|
819
|
+
i0.ɵɵadvance();
|
|
820
|
+
i0.ɵɵproperty("title", ctx_r1.HeaderExpanded ? "Collapse header" : "Expand header");
|
|
821
|
+
i0.ɵɵattribute("aria-expanded", ctx_r1.HeaderExpanded)("aria-label", ctx_r1.HeaderExpanded ? "Collapse header" : "Expand header");
|
|
822
|
+
i0.ɵɵadvance();
|
|
823
|
+
i0.ɵɵclassProp("fa-chevron-up", ctx_r1.HeaderExpanded)("fa-chevron-down", !ctx_r1.HeaderExpanded);
|
|
824
|
+
i0.ɵɵadvance();
|
|
825
|
+
i0.ɵɵconditional(ctx_r1.HeaderExpanded ? 33 : -1);
|
|
826
|
+
i0.ɵɵadvance();
|
|
827
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
|
|
828
|
+
i0.ɵɵadvance();
|
|
829
|
+
i0.ɵɵproperty("Form", ctx_r1)("FormContext", ctx_r1.formContext)("BadgeCount", ctx_r1.LineBadge)("DefaultExpanded", true);
|
|
830
|
+
i0.ɵɵadvance();
|
|
831
|
+
i0.ɵɵproperty("Order", ctx_r1.record)("EditMode", ctx_r1.ComposeMode);
|
|
832
|
+
i0.ɵɵadvance();
|
|
833
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
|
|
834
|
+
i0.ɵɵadvance();
|
|
835
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
|
|
836
|
+
} }
|
|
837
|
+
const CONTEXT_TAB_SETTING = 'mj.orders.orderForm.contextTab';
|
|
838
|
+
const EXPANDED_PARTY_SETTING = 'mj.orders.orderForm.expandedParty';
|
|
839
|
+
const ACCOUNTING_VIEW_SETTING = 'mj.orders.orderForm.accountingView';
|
|
840
|
+
const HEADER_EXPANDED_SETTING = 'mj.orders.orderForm.headerExpanded';
|
|
841
|
+
export const ORDER_FORM_NEW_TABS = [
|
|
842
|
+
{ key: 'payment', label: 'Payment', icon: 'fa-solid fa-money-check-dollar' },
|
|
843
|
+
{ key: 'details', label: 'Details', icon: 'fa-solid fa-sliders' },
|
|
844
|
+
];
|
|
845
|
+
export const ORDER_FORM_SAVED_TABS = [
|
|
846
|
+
{ key: 'charges', label: 'Charges', icon: 'fa-solid fa-receipt' },
|
|
847
|
+
{ key: 'accounting', label: 'Accounting', icon: 'fa-solid fa-book' },
|
|
848
|
+
{ key: 'subs', label: 'Subscriptions', icon: 'fa-solid fa-rotate' },
|
|
849
|
+
];
|
|
850
|
+
/** Header tabs for a new vs saved order. Charges / journals / subs are confirm-side. */
|
|
851
|
+
export function OrderFormTabs(saved) {
|
|
852
|
+
return saved ? [...ORDER_FORM_NEW_TABS, ...ORDER_FORM_SAVED_TABS] : [...ORDER_FORM_NEW_TABS];
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Custom Order Header form — one surface for composing and editing an order.
|
|
856
|
+
*
|
|
857
|
+
* Lines are children of the header (`Lines.Create`) and save with it. There is
|
|
858
|
+
* no "save first" step. Bill-to / ship-to are header bubbles. Extra fields live
|
|
859
|
+
* on Details. Charges / accounting / subscriptions appear after save.
|
|
860
|
+
*/
|
|
861
|
+
let BizAppsOrderHeaderFormComponent = class BizAppsOrderHeaderFormComponent extends mjBizAppsOrdersOrderHeaderFormComponent {
|
|
862
|
+
record;
|
|
863
|
+
ActiveTab = null;
|
|
864
|
+
ExpandedParty = 'ship';
|
|
865
|
+
HeaderExpanded = true;
|
|
866
|
+
Pricing = { Result: null, Loading: false, Error: null };
|
|
867
|
+
/** Related lists in the header tabs cap at 300px and scroll internally when larger. */
|
|
868
|
+
RelatedGridHeight = 300;
|
|
869
|
+
AccountingView = 'summary';
|
|
870
|
+
/** Display-only rollup of every line journal. Never a stored JE. */
|
|
871
|
+
RollupLoading = false;
|
|
872
|
+
RollupError = null;
|
|
873
|
+
RollupCards = [];
|
|
874
|
+
RollupJournalCount = 0;
|
|
875
|
+
Confirming = false;
|
|
876
|
+
ConfirmError = null;
|
|
877
|
+
PaymentTypes = [];
|
|
878
|
+
get ContextTabs() {
|
|
879
|
+
return OrderFormTabs(!!this.record?.IsSaved);
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Money composition (lines, tender, selling company) is editable only while
|
|
883
|
+
* the order is still a draft/quote. After Confirm the ledger owns those
|
|
884
|
+
* figures; the form Edit toggle may still open notes and parties.
|
|
885
|
+
*/
|
|
886
|
+
get ComposeMode() {
|
|
887
|
+
return this.EditMode && !this.record?.MoneyLocked;
|
|
888
|
+
}
|
|
889
|
+
navigationService = inject(NavigationService, { optional: true });
|
|
890
|
+
OnFormNavigate(event) {
|
|
891
|
+
this.Navigate.emit(event);
|
|
892
|
+
DispatchFormNavigation(event, this.navigationService);
|
|
893
|
+
}
|
|
894
|
+
async ngOnInit() {
|
|
895
|
+
await super.ngOnInit();
|
|
896
|
+
// Full-page order is a compose surface. Related hang-ons (Event Order
|
|
897
|
+
// Lines, line-level FKs, etc.) stay off the form — dialogs already
|
|
898
|
+
// hide them via DIALOG_FORM_CONFIG.
|
|
899
|
+
this.Config = { ...(this.Config ?? {}), ShowRelatedEntities: false };
|
|
900
|
+
this.initSections([
|
|
901
|
+
{ sectionKey: 'mJBizAppsOrdersOrderLines', sectionName: 'Lines', isExpanded: true },
|
|
902
|
+
]);
|
|
903
|
+
this.restorePrefs();
|
|
904
|
+
this.clampPrefsToVisibleTabs();
|
|
905
|
+
if (!this.record?.IsSaved) {
|
|
906
|
+
// Compose the order, don't reopen last session's payment pane over the catalog.
|
|
907
|
+
this.ActiveTab = null;
|
|
908
|
+
this.ExpandedParty = 'ship';
|
|
909
|
+
this.HeaderExpanded = true;
|
|
910
|
+
}
|
|
911
|
+
if (this.record?.IsSaved && !this.record.Lines.IsLoaded) {
|
|
912
|
+
await this.record.Lines.Load();
|
|
913
|
+
}
|
|
914
|
+
this.updateLineBadge();
|
|
915
|
+
await this.defaultSellingCompany();
|
|
916
|
+
await this.loadPaymentTypes();
|
|
917
|
+
await this.refreshAccountingIfNeeded();
|
|
918
|
+
this.RegisterToolbarItem({
|
|
919
|
+
Key: 'confirm-order',
|
|
920
|
+
Text: 'Confirm order',
|
|
921
|
+
Icon: 'fa-solid fa-check-double',
|
|
922
|
+
Variant: 'primary',
|
|
923
|
+
Mode: 'both',
|
|
924
|
+
Order: 5,
|
|
925
|
+
Visible: (record) => {
|
|
926
|
+
const ord = record;
|
|
927
|
+
return !ord?.IsBookedOrder && ord?.Status !== 'Voided' && !!ord?.IsSaved;
|
|
928
|
+
},
|
|
929
|
+
Disabled: (record) => {
|
|
930
|
+
if (this.Confirming)
|
|
931
|
+
return 'Booking order…';
|
|
932
|
+
const ord = record;
|
|
933
|
+
if (this.NeedsPaymentReference)
|
|
934
|
+
return 'Need a check / ACH reference before confirming.';
|
|
935
|
+
const verdict = ord?.ConfirmEligibility?.();
|
|
936
|
+
if (verdict && !verdict.Allowed)
|
|
937
|
+
return verdict.Reason ?? 'Cannot confirm this order.';
|
|
938
|
+
return false;
|
|
939
|
+
},
|
|
940
|
+
IsLoading: () => this.Confirming,
|
|
941
|
+
OnClick: async () => this.RunConfirm(),
|
|
942
|
+
});
|
|
943
|
+
this.RegisterToolbarItem({
|
|
944
|
+
Key: 'void-order',
|
|
945
|
+
Text: 'Void',
|
|
946
|
+
Icon: 'fa-solid fa-ban',
|
|
947
|
+
Variant: 'secondary',
|
|
948
|
+
Mode: 'both',
|
|
949
|
+
Order: 6,
|
|
950
|
+
Visible: (record) => {
|
|
951
|
+
const ord = record;
|
|
952
|
+
return !ord?.IsBookedOrder && ord?.Status !== 'Voided' && !!ord?.IsSaved;
|
|
953
|
+
},
|
|
954
|
+
OnClick: async () => {
|
|
955
|
+
if (!this.record)
|
|
956
|
+
return;
|
|
957
|
+
this.record.Status = 'Voided';
|
|
958
|
+
await this.record.Save();
|
|
959
|
+
this.cdr.detectChanges();
|
|
960
|
+
},
|
|
961
|
+
});
|
|
962
|
+
this.RegisterToolbarItem({
|
|
963
|
+
Key: 'reopen-draft',
|
|
964
|
+
Text: 'Reopen as draft',
|
|
965
|
+
Icon: 'fa-solid fa-arrow-rotate-left',
|
|
966
|
+
Variant: 'primary',
|
|
967
|
+
Mode: 'both',
|
|
968
|
+
Order: 5,
|
|
969
|
+
Visible: (record) => {
|
|
970
|
+
const ord = record;
|
|
971
|
+
return ord?.Status === 'Voided' && !!ord?.IsSaved;
|
|
972
|
+
},
|
|
973
|
+
OnClick: async () => {
|
|
974
|
+
if (!this.record)
|
|
975
|
+
return;
|
|
976
|
+
this.record.Status = 'Draft';
|
|
977
|
+
await this.record.Save();
|
|
978
|
+
this.cdr.detectChanges();
|
|
979
|
+
},
|
|
980
|
+
});
|
|
981
|
+
this.cdr.detectChanges();
|
|
982
|
+
}
|
|
983
|
+
SelectTab(key) {
|
|
984
|
+
if (!this.isVisibleTab(key))
|
|
985
|
+
return;
|
|
986
|
+
this.ActiveTab = this.ActiveTab === key ? null : key;
|
|
987
|
+
UserInfoEngine.Instance.SetSettingDebounced(CONTEXT_TAB_SETTING, this.ActiveTab ?? '');
|
|
988
|
+
void this.refreshAccountingIfNeeded();
|
|
989
|
+
}
|
|
990
|
+
SelectParty(party) {
|
|
991
|
+
this.ExpandedParty = NextExpandedParty(this.ExpandedParty, party);
|
|
992
|
+
UserInfoEngine.Instance.SetSettingDebounced(EXPANDED_PARTY_SETTING, this.ExpandedParty ?? '');
|
|
993
|
+
}
|
|
994
|
+
ToggleHeader() {
|
|
995
|
+
this.HeaderExpanded = !this.HeaderExpanded;
|
|
996
|
+
if (this.record?.IsSaved) {
|
|
997
|
+
UserInfoEngine.Instance.SetSettingDebounced(HEADER_EXPANDED_SETTING, this.HeaderExpanded ? '1' : '0');
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
JumpToBill() {
|
|
1001
|
+
this.ExpandedParty = 'bill';
|
|
1002
|
+
}
|
|
1003
|
+
JumpToPayment() {
|
|
1004
|
+
this.ActiveTab = 'payment';
|
|
1005
|
+
UserInfoEngine.Instance.SetSettingDebounced(CONTEXT_TAB_SETTING, 'payment');
|
|
1006
|
+
}
|
|
1007
|
+
get PaymentRequiresReference() {
|
|
1008
|
+
const id = this.record?.InitialPaymentTypeID;
|
|
1009
|
+
if (!id)
|
|
1010
|
+
return false;
|
|
1011
|
+
return this.PaymentTypes.some((type) => UUIDsEqual(type.ID, id) && type.RequiresReference);
|
|
1012
|
+
}
|
|
1013
|
+
get PaymentReference() {
|
|
1014
|
+
return this.record?.InitialPaymentReference ?? '';
|
|
1015
|
+
}
|
|
1016
|
+
SetPaymentReference(value) {
|
|
1017
|
+
if (!this.record)
|
|
1018
|
+
return;
|
|
1019
|
+
this.record.InitialPaymentReference = value;
|
|
1020
|
+
this.ConfirmError = null;
|
|
1021
|
+
}
|
|
1022
|
+
get ShowConfirm() {
|
|
1023
|
+
return !!this.record && this.record.ConfirmEligibility().Allowed && !this.NeedsPaymentReference;
|
|
1024
|
+
}
|
|
1025
|
+
get NeedsPaymentReference() {
|
|
1026
|
+
return this.PaymentRequiresReference && !this.record?.InitialPaymentReference;
|
|
1027
|
+
}
|
|
1028
|
+
get ConfirmBlockedReason() {
|
|
1029
|
+
if (!this.record || this.record.IsBookedOrder)
|
|
1030
|
+
return null;
|
|
1031
|
+
if (this.NeedsPaymentReference)
|
|
1032
|
+
return 'Need a check / ACH reference.';
|
|
1033
|
+
const verdict = this.record.ConfirmEligibility();
|
|
1034
|
+
return verdict.Allowed ? null : (verdict.Reason ?? 'Cannot confirm this order.');
|
|
1035
|
+
}
|
|
1036
|
+
async RunConfirm() {
|
|
1037
|
+
if (!this.record || this.Confirming || !this.ShowConfirm)
|
|
1038
|
+
return;
|
|
1039
|
+
this.Confirming = true;
|
|
1040
|
+
this.ConfirmError = null;
|
|
1041
|
+
try {
|
|
1042
|
+
if (this.record.Dirty) {
|
|
1043
|
+
const saveResult = await this.record.Save();
|
|
1044
|
+
if (!saveResult) {
|
|
1045
|
+
throw new Error(this.record.LatestResult?.Message ?? 'Failed to save order changes before confirming.');
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
await this.record.Confirm();
|
|
1049
|
+
this.updateLineBadge();
|
|
1050
|
+
if (this.EditMode) {
|
|
1051
|
+
this.EditMode = false;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
catch (error) {
|
|
1055
|
+
this.ConfirmError = error instanceof Error ? error.message : String(error);
|
|
1056
|
+
}
|
|
1057
|
+
finally {
|
|
1058
|
+
this.Confirming = false;
|
|
1059
|
+
this.updateLineBadge();
|
|
1060
|
+
this.cdr.detectChanges();
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
SetAccountingView(view) {
|
|
1064
|
+
if (this.AccountingView === view)
|
|
1065
|
+
return;
|
|
1066
|
+
this.AccountingView = view;
|
|
1067
|
+
UserInfoEngine.Instance.SetSettingDebounced(ACCOUNTING_VIEW_SETTING, view);
|
|
1068
|
+
if (view === 'summary')
|
|
1069
|
+
void this.refreshAccountingIfNeeded();
|
|
1070
|
+
}
|
|
1071
|
+
CardIsBalanced(card) {
|
|
1072
|
+
return Math.abs(card.TotalDebit - card.TotalCredit) < 0.005;
|
|
1073
|
+
}
|
|
1074
|
+
SourceLineLabel(count) {
|
|
1075
|
+
return count === 1 ? '1 source line' : `${count} source lines`;
|
|
1076
|
+
}
|
|
1077
|
+
get HeaderTitle() {
|
|
1078
|
+
return this.record?.OrderNumber || 'New order';
|
|
1079
|
+
}
|
|
1080
|
+
get HeaderSubtitle() {
|
|
1081
|
+
const bits = [
|
|
1082
|
+
this.record?.BillToOrganization || this.record?.BillToPerson,
|
|
1083
|
+
this.record?.Company,
|
|
1084
|
+
].filter((value) => !!value);
|
|
1085
|
+
if (bits.length)
|
|
1086
|
+
return bits.join(' · ');
|
|
1087
|
+
return this.record?.IsSaved ? '' : 'Who is buying, and what';
|
|
1088
|
+
}
|
|
1089
|
+
get HeaderDateLabel() {
|
|
1090
|
+
const date = this.record?.OrderDate;
|
|
1091
|
+
if (!date)
|
|
1092
|
+
return '';
|
|
1093
|
+
const label = FormatDate(date);
|
|
1094
|
+
return label === '—' ? '' : label;
|
|
1095
|
+
}
|
|
1096
|
+
get HeaderCollapsedMeta() {
|
|
1097
|
+
return [this.HeaderSubtitle, this.HeaderDateLabel].filter((bit) => bit.length > 0).join(' · ');
|
|
1098
|
+
}
|
|
1099
|
+
get ShowStatusChip() {
|
|
1100
|
+
return !!this.record?.IsSaved;
|
|
1101
|
+
}
|
|
1102
|
+
get StatusChipClass() {
|
|
1103
|
+
switch (this.record?.Status) {
|
|
1104
|
+
case 'Confirmed':
|
|
1105
|
+
return 'mjo-oh-chip mjo-oh-chip--ok';
|
|
1106
|
+
case 'Voided':
|
|
1107
|
+
return 'mjo-oh-chip mjo-oh-chip--void';
|
|
1108
|
+
default:
|
|
1109
|
+
return 'mjo-oh-chip';
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
get BillToName() {
|
|
1113
|
+
return this.record?.BillToOrganization || this.record?.BillToPerson || 'Choose who pays';
|
|
1114
|
+
}
|
|
1115
|
+
get BillToDetail() {
|
|
1116
|
+
const address = this.FormatEmbeddedAddress(this.record?.BillToAddressID_Object) || this.record?.BillToAddress;
|
|
1117
|
+
const bits = [this.record?.BillToPerson, this.record?.PaymentTermsType, address]
|
|
1118
|
+
.filter((value) => !!value);
|
|
1119
|
+
return bits.length ? bits.join(' · ') : 'Person or organization';
|
|
1120
|
+
}
|
|
1121
|
+
get ShipToName() {
|
|
1122
|
+
if (!this.record)
|
|
1123
|
+
return 'Same as bill to';
|
|
1124
|
+
return this.record.ShipToOrganization || this.record.ShipToPerson || 'Same as bill to';
|
|
1125
|
+
}
|
|
1126
|
+
get ShipToDetail() {
|
|
1127
|
+
return this.FormatEmbeddedAddress(this.record?.ShipToAddressID_Object)
|
|
1128
|
+
|| this.record?.ShipToAddress
|
|
1129
|
+
|| 'Header default — override when it ships elsewhere';
|
|
1130
|
+
}
|
|
1131
|
+
EnsureBillToAddress(event) {
|
|
1132
|
+
event.stopPropagation();
|
|
1133
|
+
this.record?.BillToAddressID_EnsureObject();
|
|
1134
|
+
this.cdr.detectChanges();
|
|
1135
|
+
}
|
|
1136
|
+
ClearBillToAddress(event) {
|
|
1137
|
+
event.stopPropagation();
|
|
1138
|
+
this.record?.ClearBillToAddress();
|
|
1139
|
+
this.cdr.detectChanges();
|
|
1140
|
+
}
|
|
1141
|
+
EnsureShipToAddress(event) {
|
|
1142
|
+
event.stopPropagation();
|
|
1143
|
+
this.record?.ShipToAddressID_EnsureObject();
|
|
1144
|
+
this.cdr.detectChanges();
|
|
1145
|
+
}
|
|
1146
|
+
ClearShipToAddress(event) {
|
|
1147
|
+
event.stopPropagation();
|
|
1148
|
+
this.record?.ClearShipToAddress();
|
|
1149
|
+
this.cdr.detectChanges();
|
|
1150
|
+
}
|
|
1151
|
+
FormatEmbeddedAddress(address) {
|
|
1152
|
+
return address ? FormatPartyAddress(address) : '';
|
|
1153
|
+
}
|
|
1154
|
+
get ShipToIsSame() {
|
|
1155
|
+
if (!this.record)
|
|
1156
|
+
return true;
|
|
1157
|
+
return !this.record.ShipToOrganizationID && !this.record.ShipToPersonID && !this.record.ShipToAddressID;
|
|
1158
|
+
}
|
|
1159
|
+
async OnPartyPersonChange(side) {
|
|
1160
|
+
if (!this.record || !this.EditMode)
|
|
1161
|
+
return;
|
|
1162
|
+
await this.record.ApplyPersonPartyDefaults(side);
|
|
1163
|
+
this.cdr.detectChanges();
|
|
1164
|
+
}
|
|
1165
|
+
get hasBillTo() {
|
|
1166
|
+
return !!(this.record?.BillToOrganizationID || this.record?.BillToPersonID);
|
|
1167
|
+
}
|
|
1168
|
+
get NeedsBillTo() {
|
|
1169
|
+
return !this.hasBillTo;
|
|
1170
|
+
}
|
|
1171
|
+
get NeedsLine() {
|
|
1172
|
+
return (this.record?.Lines.Items.length ?? 0) === 0;
|
|
1173
|
+
}
|
|
1174
|
+
LineBadge = undefined;
|
|
1175
|
+
updateLineBadge() {
|
|
1176
|
+
const count = this.record?.Lines.Items.length ?? 0;
|
|
1177
|
+
this.LineBadge = count > 0 ? count : undefined;
|
|
1178
|
+
}
|
|
1179
|
+
get TotalLabel() {
|
|
1180
|
+
return this.record?.IsSaved ? 'Total' : 'Subtotal';
|
|
1181
|
+
}
|
|
1182
|
+
RollupAmount(value) {
|
|
1183
|
+
return value ? FormatMoney(value) : '';
|
|
1184
|
+
}
|
|
1185
|
+
Money(kind) {
|
|
1186
|
+
const opts = this.heroMoneyOptions();
|
|
1187
|
+
if (kind === 'paid') {
|
|
1188
|
+
if (!this.record?.IsSaved)
|
|
1189
|
+
return '—';
|
|
1190
|
+
return FormatMoney(this.record.AmountPaid, opts);
|
|
1191
|
+
}
|
|
1192
|
+
if (kind === 'balance') {
|
|
1193
|
+
if (!this.record?.IsSaved)
|
|
1194
|
+
return '—';
|
|
1195
|
+
return FormatMoney(this.record.Balance, opts);
|
|
1196
|
+
}
|
|
1197
|
+
const total = this.heroTotalAmount();
|
|
1198
|
+
if (total == null)
|
|
1199
|
+
return this.Pricing.Loading ? '…' : '—';
|
|
1200
|
+
return FormatMoney(total, opts);
|
|
1201
|
+
}
|
|
1202
|
+
/** Hide `.00` only when every visible hero amount is a whole dollar. */
|
|
1203
|
+
heroMoneyOptions() {
|
|
1204
|
+
return { Round: !this.heroMoneyAmounts().some(HasCents) };
|
|
1205
|
+
}
|
|
1206
|
+
heroMoneyAmounts() {
|
|
1207
|
+
const amounts = [this.heroTotalAmount()];
|
|
1208
|
+
if (this.record?.IsSaved) {
|
|
1209
|
+
amounts.push(this.record.AmountPaid, this.record.Balance);
|
|
1210
|
+
}
|
|
1211
|
+
return amounts;
|
|
1212
|
+
}
|
|
1213
|
+
heroTotalAmount() {
|
|
1214
|
+
const preview = this.Pricing.Result?.Totals;
|
|
1215
|
+
if (preview)
|
|
1216
|
+
return this.record?.IsSaved ? preview.GrossTotal : preview.NetTotal;
|
|
1217
|
+
if (!this.record?.IsSaved)
|
|
1218
|
+
return null;
|
|
1219
|
+
return this.record.TotalGross;
|
|
1220
|
+
}
|
|
1221
|
+
OnPricingChanged(state) {
|
|
1222
|
+
this.Pricing = state;
|
|
1223
|
+
this.updateLineBadge();
|
|
1224
|
+
this.cdr.detectChanges();
|
|
1225
|
+
}
|
|
1226
|
+
OpenBillTo(event) {
|
|
1227
|
+
event.preventDefault();
|
|
1228
|
+
event.stopPropagation();
|
|
1229
|
+
if (this.record?.BillToOrganizationID) {
|
|
1230
|
+
this.openRecord(MJO_COMMON_ENTITIES.Organization, this.record.BillToOrganizationID);
|
|
1231
|
+
return;
|
|
1232
|
+
}
|
|
1233
|
+
if (this.record?.BillToPersonID) {
|
|
1234
|
+
this.openRecord(MJO_COMMON_ENTITIES.Person, this.record.BillToPersonID);
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
OpenShipTo(event) {
|
|
1238
|
+
event.preventDefault();
|
|
1239
|
+
event.stopPropagation();
|
|
1240
|
+
if (this.record?.ShipToOrganizationID) {
|
|
1241
|
+
this.openRecord(MJO_COMMON_ENTITIES.Organization, this.record.ShipToOrganizationID);
|
|
1242
|
+
return;
|
|
1243
|
+
}
|
|
1244
|
+
if (this.record?.ShipToPersonID) {
|
|
1245
|
+
this.openRecord(MJO_COMMON_ENTITIES.Person, this.record.ShipToPersonID);
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
this.OpenBillTo(event);
|
|
1249
|
+
}
|
|
1250
|
+
OpenProduct(id) {
|
|
1251
|
+
this.openRecord(MJO_ENTITIES.Product, id);
|
|
1252
|
+
}
|
|
1253
|
+
get PaymentParams() {
|
|
1254
|
+
if (!this.record?.IsSaved || !this.record.ID)
|
|
1255
|
+
return null;
|
|
1256
|
+
return {
|
|
1257
|
+
EntityName: MJO_ENTITIES.PaymentHeader,
|
|
1258
|
+
ExtraFilter: `ID IN (SELECT PaymentHeaderID FROM [__mj_BizAppsOrders].[PaymentLine] WHERE OrderHeaderID = '${this.record.ID}')`,
|
|
1259
|
+
ResultType: 'entity_object',
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
get ChargeParams() {
|
|
1263
|
+
if (!this.record?.IsSaved)
|
|
1264
|
+
return null;
|
|
1265
|
+
return this.BuildRelationshipViewParamsByEntityName(MJO_ENTITIES.OrderCharge, 'OrderHeaderID');
|
|
1266
|
+
}
|
|
1267
|
+
get JournalParams() {
|
|
1268
|
+
return JournalEntryViewParams(this.lineIDs);
|
|
1269
|
+
}
|
|
1270
|
+
get SubscriptionParams() {
|
|
1271
|
+
return SubscriptionViewParams(this.lineIDs);
|
|
1272
|
+
}
|
|
1273
|
+
get lineIDs() {
|
|
1274
|
+
if (!this.record?.Lines?.IsLoaded)
|
|
1275
|
+
return [];
|
|
1276
|
+
return this.record.Lines.Items.map((line) => line.ID).filter((id) => !!id);
|
|
1277
|
+
}
|
|
1278
|
+
restorePrefs() {
|
|
1279
|
+
const tab = UserInfoEngine.Instance.GetSetting(CONTEXT_TAB_SETTING);
|
|
1280
|
+
if (tab && this.isVisibleTab(tab))
|
|
1281
|
+
this.ActiveTab = tab;
|
|
1282
|
+
if (this.record?.IsSaved) {
|
|
1283
|
+
this.ExpandedParty = ExpandedPartyFromPref(UserInfoEngine.Instance.GetSetting(EXPANDED_PARTY_SETTING));
|
|
1284
|
+
}
|
|
1285
|
+
else {
|
|
1286
|
+
this.ExpandedParty = 'ship';
|
|
1287
|
+
}
|
|
1288
|
+
const view = UserInfoEngine.Instance.GetSetting(ACCOUNTING_VIEW_SETTING);
|
|
1289
|
+
if (view === 'summary' || view === 'detail')
|
|
1290
|
+
this.AccountingView = view;
|
|
1291
|
+
this.HeaderExpanded = OrderHeaderExpandedFromPref(!!this.record?.IsSaved, UserInfoEngine.Instance.GetSetting(HEADER_EXPANDED_SETTING));
|
|
1292
|
+
}
|
|
1293
|
+
clampPrefsToVisibleTabs() {
|
|
1294
|
+
if (this.ActiveTab && !this.isVisibleTab(this.ActiveTab))
|
|
1295
|
+
this.ActiveTab = null;
|
|
1296
|
+
}
|
|
1297
|
+
isVisibleTab(key) {
|
|
1298
|
+
return this.ContextTabs.some((tab) => tab.key === key);
|
|
1299
|
+
}
|
|
1300
|
+
RevRecJournalEntries = [];
|
|
1301
|
+
async loadPaymentTypes() {
|
|
1302
|
+
try {
|
|
1303
|
+
this.PaymentTypes = await GetPaymentTypes(this.ProviderToUse?.CurrentUser);
|
|
1304
|
+
}
|
|
1305
|
+
catch {
|
|
1306
|
+
this.PaymentTypes = [];
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
async refreshAccountingIfNeeded() {
|
|
1310
|
+
if (this.ActiveTab !== 'accounting' || !this.record?.IsSaved)
|
|
1311
|
+
return;
|
|
1312
|
+
await Promise.all([
|
|
1313
|
+
this.loadOrderJournalRollup(),
|
|
1314
|
+
this.loadRevRecJournalEntries(),
|
|
1315
|
+
]);
|
|
1316
|
+
}
|
|
1317
|
+
async loadRevRecJournalEntries() {
|
|
1318
|
+
if (this.lineIDs.length === 0) {
|
|
1319
|
+
this.RevRecJournalEntries = [];
|
|
1320
|
+
return;
|
|
1321
|
+
}
|
|
1322
|
+
try {
|
|
1323
|
+
const rv = new RunView();
|
|
1324
|
+
const quotedLineIds = this.lineIDs.map(id => `'${id}'`).join(',');
|
|
1325
|
+
// 1. Fetch any subscription terms tied to these order lines
|
|
1326
|
+
const termsRes = await rv.RunView({
|
|
1327
|
+
EntityName: 'MJ_BizApps_Orders: Subscription Terms',
|
|
1328
|
+
ExtraFilter: `OrderLineID IN (${quotedLineIds})`,
|
|
1329
|
+
Fields: ['ID'],
|
|
1330
|
+
MaxRows: 200,
|
|
1331
|
+
ResultType: 'simple',
|
|
1332
|
+
}, new Metadata().CurrentUser);
|
|
1333
|
+
const termIds = (termsRes.Success && termsRes.Results) ? termsRes.Results.map(t => `'${t.ID}'`) : [];
|
|
1334
|
+
const allOrigins = [quotedLineIds, ...termIds].filter(Boolean).join(',');
|
|
1335
|
+
// 2. Fetch Journal Entries matching order lines or their subscription terms
|
|
1336
|
+
const jeRes = await rv.RunView({
|
|
1337
|
+
EntityName: 'MJ_BizApps_Accounting: Journal Entries',
|
|
1338
|
+
ExtraFilter: `LinkedRecordID IN (${allOrigins})`,
|
|
1339
|
+
OrderBy: 'EffectiveDate ASC',
|
|
1340
|
+
MaxRows: 500,
|
|
1341
|
+
ResultType: 'entity_object',
|
|
1342
|
+
}, new Metadata().CurrentUser);
|
|
1343
|
+
if (jeRes.Success && jeRes.Results) {
|
|
1344
|
+
await Promise.all(jeRes.Results.map(async (je) => {
|
|
1345
|
+
try {
|
|
1346
|
+
if (je.Lines && typeof je.Lines.Load === 'function') {
|
|
1347
|
+
await je.Lines.Load();
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
catch {
|
|
1351
|
+
// ignore line load error
|
|
1352
|
+
}
|
|
1353
|
+
}));
|
|
1354
|
+
const recognitionEntries = jeRes.Results.filter(je => {
|
|
1355
|
+
const desc = (je.Description || '').toLowerCase();
|
|
1356
|
+
const typeStr = (je.EntryType || '').toLowerCase();
|
|
1357
|
+
return desc.includes('recognize') || typeStr.includes('recognition');
|
|
1358
|
+
});
|
|
1359
|
+
this.RevRecJournalEntries = recognitionEntries.length > 0 ? recognitionEntries : jeRes.Results;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
catch {
|
|
1363
|
+
this.RevRecJournalEntries = [];
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
OnJournalEntrySelected(je) {
|
|
1367
|
+
const pk = new CompositeKey();
|
|
1368
|
+
pk.LoadFromSingleKeyValuePair('ID', je.ID);
|
|
1369
|
+
this.OnFormNavigate({
|
|
1370
|
+
Kind: 'record',
|
|
1371
|
+
EntityName: 'MJ_BizApps_Accounting: Journal Entries',
|
|
1372
|
+
PrimaryKey: pk,
|
|
1373
|
+
});
|
|
1374
|
+
}
|
|
1375
|
+
async loadOrderJournalRollup() {
|
|
1376
|
+
this.RollupLoading = true;
|
|
1377
|
+
this.RollupError = null;
|
|
1378
|
+
this.cdr.detectChanges();
|
|
1379
|
+
try {
|
|
1380
|
+
const rollup = await GetOrderJournalRollup(this.lineIDs);
|
|
1381
|
+
this.RollupCards = rollup.Cards;
|
|
1382
|
+
this.RollupJournalCount = rollup.JournalCount;
|
|
1383
|
+
}
|
|
1384
|
+
catch (error) {
|
|
1385
|
+
this.RollupCards = [];
|
|
1386
|
+
this.RollupJournalCount = 0;
|
|
1387
|
+
this.RollupError = error instanceof Error ? error.message : 'Could not roll up the journals.';
|
|
1388
|
+
}
|
|
1389
|
+
finally {
|
|
1390
|
+
this.RollupLoading = false;
|
|
1391
|
+
this.cdr.detectChanges();
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
async defaultSellingCompany() {
|
|
1395
|
+
if (this.record?.IsSaved || this.record?.CompanyID)
|
|
1396
|
+
return;
|
|
1397
|
+
const companies = await GetSellingCompanies();
|
|
1398
|
+
if (companies.length === 0)
|
|
1399
|
+
return;
|
|
1400
|
+
this.record.CompanyID = companies[0].ID;
|
|
1401
|
+
}
|
|
1402
|
+
openRecord(entityName, id) {
|
|
1403
|
+
this.Navigate.emit({
|
|
1404
|
+
Kind: 'record',
|
|
1405
|
+
EntityName: entityName,
|
|
1406
|
+
PrimaryKey: CompositeKey.FromID(id),
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵBizAppsOrderHeaderFormComponent_BaseFactory; return function BizAppsOrderHeaderFormComponent_Factory(__ngFactoryType__) { return (ɵBizAppsOrderHeaderFormComponent_BaseFactory || (ɵBizAppsOrderHeaderFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BizAppsOrderHeaderFormComponent)))(__ngFactoryType__ || BizAppsOrderHeaderFormComponent); }; })();
|
|
1410
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsOrderHeaderFormComponent, selectors: [["bizapps-order-header-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "Record", "FormComponent"], [3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-oh-hero"], [1, "mjo-oh-hero__top"], [1, "mjo-oh-who"], [1, "mjo-oh-avatar"], [1, "fa-solid", "fa-file-invoice-dollar"], [1, "mjo-oh-title-row"], [1, "mjo-oh-title"], [3, "class"], [1, "mjo-oh-sub"], [1, "mjo-oh-hero__aside"], [1, "mjo-oh-money"], [1, "mjo-oh-kicker"], [1, "mjo-oh-amt"], ["type", "button", 1, "mjo-oh-hero__toggle", 3, "click", "title"], ["aria-hidden", "true", 1, "fa-solid"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJBizAppsOrdersOrderLines", "SectionName", "Lines", "Icon", "fa fa-list-ol", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "PricingChanged", "Navigate", "Order", "EditMode"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], ["Slot", "after-everything", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-oh-facts"], [1, "mjo-oh-fact"], ["FieldName", "OrderType", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "OrderDate", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-oh-parties"], [1, "mjo-oh-bubble"], ["role", "button", "tabindex", "0", 1, "mjo-oh-bubble__hit", 3, "click", "keydown.enter", "keydown.space"], [1, "mjo-oh-bubble__ic"], [1, "fa-solid", "fa-truck-fast"], [1, "mjo-oh-bubble__copy"], [1, "mjo-oh-bubble__role"], [1, "mjo-oh-bubble__name"], ["type", "button", 1, "mjo-oh-link", "mjo-oh-bubble__name"], [1, "mjo-oh-bubble__detail"], [1, "fa-solid", "mjo-oh-bubble__chev"], [1, "mjo-oh-bubble__edit"], [1, "mjo-oh-todo"], ["role", "alert", 1, "mjo-oh-todo", "mjo-oh-todo--err"], [1, "mjo-oh-tabs", 3, "TabChange", "Tabs", "ActiveKey"], [1, "mjo-oh-tabpane"], ["type", "button", 1, "mjo-oh-link", "mjo-oh-bubble__name", 3, "click"], ["FieldName", "ShipToOrganizationID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ShipToPersonID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "ValueChange", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RequestedDeliveryDate", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-oh-addr"], [1, "mjo-oh-addr__bar"], [1, "mjo-oh-addr__label"], ["type", "button", 1, "mjo-oh-addr__btn", 3, "disabled"], ["type", "button", 1, "mjo-oh-addr__btn", 3, "click", "disabled"], ["FieldName", "Line1", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Line2", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-oh-addr__row"], ["FieldName", "City", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "StateProvince", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PostalCode", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Country", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BillToOrganizationID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BillToPersonID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "ValueChange", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PaymentTermsTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "fa-solid", "fa-circle-exclamation"], ["type", "button"], [1, "mjo-oh-todo__hint"], ["type", "button", 3, "click"], [1, "fa-solid", "fa-triangle-exclamation"], [1, "mjo-oh-fields"], ["FieldName", "InitialPaymentTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "InitialPaymentAmount", "Type", "number", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-oh-ref"], [3, "Params", "AllowLoad", "ShowToolbar", "ShowNewButton", "ShowDeleteButton", "Height", "MaxHeight"], [1, "mjo-oh-hint"], [1, "mjo-oh-ref__label"], ["placeholder", "Check number or confirmation ID", "autocomplete", "off", "aria-label", "Check or ACH reference", 1, "mj-input", 3, "ngModelChange", "ngModel", "disabled"], [3, "Navigate", "Params", "AllowLoad", "ShowToolbar", "ShowNewButton", "ShowDeleteButton", "Height", "MaxHeight"], ["FieldName", "DueDate", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExternalDocumentNumber", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FulfillmentStatus", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SalesRepUserID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Notes", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-oh-acct__bar"], ["role", "group", "aria-label", "Accounting view", 1, "mjo-oh-switch"], [1, "mjo-oh-switch__n"], [1, "fa-solid", "fa-chart-line"], [2, "padding", "12px 0"], [3, "Params", "AllowLoad", "ShowToolbar", "ShowNewButton", "Height", "MaxHeight"], [3, "JournalEntrySelected", "JournalEntries", "Title"], [1, "mjo-oh-jecard"], [1, "mjo-oh-jecard__head"], [1, "mjo-oh-jecard__co"], [1, "mjo-oh-jecard__sub"], [1, "mjo-oh-chip"], [1, "mjo-oh-je__table"], [1, "is-num"], [1, "mjo-oh-acctline"], [1, "mjo-oh-acctline__code"], [1, "mjo-oh-acctline__name"], [1, "mjo-oh-acctline__meta"], [1, "mjo-oh-dim"], [1, "mjo-oh-je__src"], [3, "Navigate", "Params", "AllowLoad", "ShowToolbar", "ShowNewButton", "Height", "MaxHeight"]], template: function BizAppsOrderHeaderFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1411
|
+
i0.ɵɵconditionalCreate(0, BizAppsOrderHeaderFormComponent_Conditional_0_Template, 39, 45, "mj-record-form-container", 0);
|
|
1412
|
+
} if (rf & 2) {
|
|
1413
|
+
i0.ɵɵconditional(ctx.record ? 0 : -1);
|
|
1414
|
+
} }, dependencies: [i1.DefaultValueAccessor, i1.NgControlStatus, i1.NgModel, i2.MjFormFieldComponent, i2.MjCollapsiblePanelComponent, i2.MjRecordFormContainerComponent, i2.ExplorerEntityDataGridComponent, i2.FormPanelSlotComponent, i3.MJTabNavComponent, i4.MJOOrderLinesEditorComponent, i5.DeferredRevenueWaterfallComponent], styles: ["\n\n\n\n[_nghost-%COMP%] .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) {\n max-height: none;\n}\n\n[_nghost-%COMP%] .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) .mj-forms-panel-content {\n max-height: none;\n overflow: visible;\n}\n\n\n\n\n\n\n\n[_nghost-%COMP%] mj-collapsible-panel:has(mjo-order-lines-editor) .mj-forms-panel {\n overflow: visible;\n}\n\n[_nghost-%COMP%] mj-collapsible-panel:has(mjo-order-lines-editor) .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) {\n overflow: visible;\n}\n\n[_nghost-%COMP%] mj-collapsible-panel:has(.mj-typeahead-list.is-open) {\n position: relative;\n z-index: 30;\n}\n\n.mjo-oh-hero[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg);\n padding: var(--mj-space-4) var(--mj-space-5);\n margin-bottom: var(--mj-space-4);\n}\n\n.mjo-oh-hero.is-collapsed[_ngcontent-%COMP%] {\n padding: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mjo-oh-hero.is-collapsed[_ngcontent-%COMP%] .mjo-oh-hero__top[_ngcontent-%COMP%] {\n align-items: center;\n}\n\n.mjo-oh-hero.is-collapsed[_ngcontent-%COMP%] .mjo-oh-avatar[_ngcontent-%COMP%] {\n width: 32px;\n height: 32px;\n font-size: 14px;\n}\n\n.mjo-oh-hero.is-collapsed[_ngcontent-%COMP%] .mjo-oh-title[_ngcontent-%COMP%] {\n font-size: var(--mj-text-base);\n}\n\n.mjo-oh-hero__toggle[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n flex: 0 0 auto;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mjo-oh-hero__toggle[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-hero__top[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--mj-space-4);\n flex-wrap: wrap;\n}\n\n.mjo-oh-hero__aside[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: var(--mj-space-4);\n flex-wrap: wrap;\n}\n\n.mjo-oh-confirm[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: var(--mj-space-1);\n min-width: 11rem;\n}\n\n.mjo-oh-confirm__hint[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n text-align: right;\n max-width: 14rem;\n line-height: 1.35;\n}\n\n.mjo-oh-who[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n min-width: 0;\n}\n\n.mjo-oh-avatar[_ngcontent-%COMP%] {\n width: 44px;\n height: 44px;\n border-radius: var(--mj-radius-md);\n display: grid;\n place-items: center;\n flex: 0 0 auto;\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-size: 18px;\n}\n\n.mjo-oh-title-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n}\n\n.mjo-oh-title[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-lg);\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-primary);\n letter-spacing: -0.02em;\n}\n\n.mjo-oh-sub[_ngcontent-%COMP%] {\n margin-top: 2px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n}\n\n.mjo-oh-kicker[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n padding: 2px 10px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.mjo-oh-chip--ok[_ngcontent-%COMP%] {\n color: var(--mj-status-success-text);\n background: var(--mj-status-success-bg);\n border-color: var(--mj-status-success-border);\n}\n\n.mjo-oh-chip--void[_ngcontent-%COMP%] {\n color: var(--mj-status-error-text);\n background: var(--mj-status-error-bg);\n border-color: var(--mj-status-error-border);\n}\n\n.mjo-oh-money[_ngcontent-%COMP%] {\n display: flex;\n gap: var(--mj-space-5);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-oh-money[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-oh-amt[_ngcontent-%COMP%] {\n font-variant-numeric: tabular-nums;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-facts[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: var(--mj-space-3) var(--mj-space-4);\n margin-top: var(--mj-space-4);\n padding: var(--mj-space-3);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-fact[_ngcontent-%COMP%] .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.mjo-oh-fact[_ngcontent-%COMP%] .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n\n\n\n.mjo-oh-fact[_ngcontent-%COMP%] .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.mjo-oh-fields[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n\n.mjo-oh-parties[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: var(--mj-space-3);\n align-items: start;\n margin: var(--mj-space-4) 0 var(--mj-space-3);\n}\n\n.mjo-oh-parties.is-bill[_ngcontent-%COMP%] {\n grid-template-columns: auto minmax(0, 1fr);\n}\n\n.mjo-oh-parties.is-none[_ngcontent-%COMP%] {\n grid-template-columns: 1fr 1fr;\n}\n\n.mjo-oh-bubble[_ngcontent-%COMP%] {\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-width: 0;\n}\n\n.mjo-oh-bubble.is-open[_ngcontent-%COMP%] {\n border-color: color-mix(in srgb, var(--mj-brand-primary) 45%, var(--mj-border-default));\n}\n\n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] {\n width: 3.25rem;\n flex: 0 0 auto;\n}\n\n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__hit[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2);\n min-height: 5.5rem;\n}\n\n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__copy[_ngcontent-%COMP%] {\n flex: 0 0 auto;\n align-items: center;\n}\n\n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__role[_ngcontent-%COMP%] {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.08em;\n}\n\n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__name[_ngcontent-%COMP%], \n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__detail[_ngcontent-%COMP%], \n.mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__chev[_ngcontent-%COMP%] {\n display: none;\n}\n\n@media (max-width: 720px) {\n .mjo-oh-parties[_ngcontent-%COMP%], \n .mjo-oh-parties.is-bill[_ngcontent-%COMP%], \n .mjo-oh-parties.is-none[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n\n .mjo-oh-bubble.is-rail[_ngcontent-%COMP%] {\n width: auto;\n }\n\n .mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__hit[_ngcontent-%COMP%] {\n flex-direction: row;\n min-height: 0;\n padding: var(--mj-space-2) var(--mj-space-3);\n }\n\n .mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__copy[_ngcontent-%COMP%] {\n align-items: flex-start;\n }\n\n .mjo-oh-bubble.is-rail[_ngcontent-%COMP%] .mjo-oh-bubble__role[_ngcontent-%COMP%] {\n writing-mode: horizontal-tb;\n transform: none;\n }\n}\n\n.mjo-oh-bubble.is-needed[_ngcontent-%COMP%] {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mjo-oh-bubble__hit[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n width: 100%;\n padding: var(--mj-space-3);\n border: 0;\n background: transparent;\n color: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.mjo-oh-bubble__name.mjo-oh-link[_ngcontent-%COMP%] {\n display: inline;\n padding: 0;\n border: 0;\n background: transparent;\n font: inherit;\n font-size: inherit;\n font-weight: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.mjo-oh-bubble__hit[_ngcontent-%COMP%]:hover { background: var(--mj-bg-surface-hover); }\n\n.mjo-oh-bubble__ic[_ngcontent-%COMP%] {\n width: var(--mj-space-8);\n height: var(--mj-space-8);\n border-radius: var(--mj-radius-sm);\n display: grid;\n place-items: center;\n flex: 0 0 auto;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-brand-primary);\n}\n\n.mjo-oh-bubble__copy[_ngcontent-%COMP%] {\n min-width: 0;\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-oh-bubble__role[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-bubble__name[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-bubble__detail[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mjo-oh-bubble__chev[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n}\n\n.mjo-oh-bubble__edit[_ngcontent-%COMP%] {\n padding: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n display: flex;\n flex-direction: column;\n}\n\n.mjo-oh-addr[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-2);\n padding-top: var(--mj-space-2);\n border-top: 1px dashed var(--mj-border-subtle);\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-1);\n}\n\n.mjo-oh-addr__bar[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--mj-space-2);\n}\n\n.mjo-oh-addr__label[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-addr__btn[_ngcontent-%COMP%] {\n border: 0;\n background: transparent;\n color: var(--mj-text-link);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n cursor: pointer;\n padding: 0;\n}\n\n.mjo-oh-addr__btn[_ngcontent-%COMP%]:disabled {\n color: var(--mj-text-disabled);\n cursor: default;\n}\n\n.mjo-oh-addr__row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);\n gap: var(--mj-space-2);\n}\n\n.mjo-oh-link[_ngcontent-%COMP%] {\n color: var(--mj-text-link);\n text-decoration: none;\n}\n\n.mjo-oh-link[_ngcontent-%COMP%]:hover { text-decoration: underline; }\n\n.mjo-oh-todo[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-3);\n font-size: var(--mj-text-sm);\n color: var(--mj-status-warning-text);\n}\n\n.mjo-oh-todo[_ngcontent-%COMP%] button[_ngcontent-%COMP%], \n.mjo-oh-todo__hint[_ngcontent-%COMP%] {\n background: var(--mj-status-warning-bg);\n border: 1px solid var(--mj-status-warning-border);\n color: var(--mj-status-warning-text);\n border-radius: var(--mj-radius-full);\n padding: 2px 8px;\n font: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.mjo-oh-todo[_ngcontent-%COMP%] button[_ngcontent-%COMP%] { cursor: pointer; }\n\n.mjo-oh-todo--err[_ngcontent-%COMP%] {\n color: var(--mj-status-error-text);\n}\n\n.mjo-oh-ref[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin-top: var(--mj-space-3);\n}\n\n.mjo-oh-ref__label[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-ref[_ngcontent-%COMP%] .mj-input[_ngcontent-%COMP%] {\n max-width: 22rem;\n}\n\n.mjo-oh-tabs[_ngcontent-%COMP%] {\n display: block;\n margin-top: var(--mj-space-2);\n}\n\n.mjo-oh-tabpane[_ngcontent-%COMP%] { margin-top: var(--mj-space-3); }\n\n.mjo-oh-tabpane[_ngcontent-%COMP%] mj-explorer-entity-data-grid[_ngcontent-%COMP%] {\n display: block;\n}\n\n.mjo-oh-hint[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-acct__bar[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--mj-space-3);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-3);\n}\n\n.mjo-oh-acct__bar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-acct__bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 2px 0 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-switch[_ngcontent-%COMP%] {\n display: inline-flex;\n padding: 2px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-switch[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--mj-text-secondary);\n font: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n padding: 5px 12px;\n border-radius: var(--mj-radius-full);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-oh-switch[_ngcontent-%COMP%] button.is-on[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n box-shadow: 0 0 0 1px var(--mj-border-subtle);\n}\n\n.mjo-oh-switch__n[_ngcontent-%COMP%] {\n min-width: 1.25em;\n padding: 0 5px;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 14%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-variant-numeric: tabular-nums;\n text-align: center;\n}\n\n.mjo-oh-jecard[_ngcontent-%COMP%] {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mjo-oh-jecard[_ngcontent-%COMP%] + .mjo-oh-jecard[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-3);\n}\n\n.mjo-oh-jecard__head[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-3);\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-oh-jecard__co[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-jecard__sub[_ngcontent-%COMP%] {\n margin-left: var(--mj-space-2);\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n font-size: var(--mj-text-sm);\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], \n.mjo-oh-je__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-subtle);\n text-align: left;\n vertical-align: top;\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n border-bottom: 0;\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] .is-num[_ngcontent-%COMP%] {\n text-align: right;\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.mjo-oh-je__table[_ngcontent-%COMP%] .is-quiet[_ngcontent-%COMP%] {\n color: var(--mj-text-disabled);\n}\n\n.mjo-oh-acctline[_ngcontent-%COMP%] {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n}\n\n.mjo-oh-acctline__code[_ngcontent-%COMP%] {\n font-variant-numeric: tabular-nums;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-secondary);\n letter-spacing: 0.02em;\n}\n\n.mjo-oh-acctline__name[_ngcontent-%COMP%] {\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-acctline__meta[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 4px;\n}\n\n.mjo-oh-dim[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n padding: 1px 8px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-subtle);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mjo-oh-je__src[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n@media (max-width: 760px) {\n .mjo-oh-parties[_ngcontent-%COMP%], \n .mjo-oh-facts[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n .mjo-oh-money[_ngcontent-%COMP%] { margin-left: 0; }\n}"] });
|
|
1415
|
+
};
|
|
1416
|
+
BizAppsOrderHeaderFormComponent = __decorate([
|
|
1417
|
+
RegisterClass(BaseFormComponent, 'MJ_BizApps_Orders: Order Headers', 2)
|
|
1418
|
+
], BizAppsOrderHeaderFormComponent);
|
|
1419
|
+
export { BizAppsOrderHeaderFormComponent };
|
|
1420
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsOrderHeaderFormComponent, [{
|
|
1421
|
+
type: Component,
|
|
1422
|
+
args: [{ standalone: false, selector: 'bizapps-order-header-form', template: "@if (record) {\n<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <div class=\"mjo-oh-hero\" [class.is-collapsed]=\"!HeaderExpanded\">\n <div class=\"mjo-oh-hero__top\">\n <div class=\"mjo-oh-who\">\n <div class=\"mjo-oh-avatar\"><i class=\"fa-solid fa-file-invoice-dollar\"></i></div>\n <div>\n <div class=\"mjo-oh-title-row\">\n <h1 class=\"mjo-oh-title\">{{ HeaderTitle }}</h1>\n @if (ShowStatusChip) {\n <span [class]=\"StatusChipClass\">{{ record.Status }}</span>\n }\n </div>\n <div class=\"mjo-oh-sub\">{{ HeaderExpanded ? HeaderSubtitle : HeaderCollapsedMeta }}</div>\n </div>\n </div>\n <div class=\"mjo-oh-hero__aside\">\n <div class=\"mjo-oh-money\">\n <div>\n <span class=\"mjo-oh-kicker\">{{ TotalLabel }}</span>\n <span class=\"mjo-oh-amt\">{{ Money('total') }}</span>\n </div>\n <div>\n <span class=\"mjo-oh-kicker\">Paid</span>\n <span class=\"mjo-oh-amt\">{{ Money('paid') }}</span>\n </div>\n <div>\n <span class=\"mjo-oh-kicker\">Balance</span>\n <span class=\"mjo-oh-amt\">{{ Money('balance') }}</span>\n </div>\n </div>\n <button\n type=\"button\"\n class=\"mjo-oh-hero__toggle\"\n (click)=\"ToggleHeader()\"\n [attr.aria-expanded]=\"HeaderExpanded\"\n [attr.aria-label]=\"HeaderExpanded ? 'Collapse header' : 'Expand header'\"\n [title]=\"HeaderExpanded ? 'Collapse header' : 'Expand header'\">\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"HeaderExpanded\" [class.fa-chevron-down]=\"!HeaderExpanded\" aria-hidden=\"true\"></i>\n </button>\n </div>\n </div>\n\n @if (HeaderExpanded) {\n <div class=\"mjo-oh-facts\">\n <div class=\"mjo-oh-fact\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"OrderType\" Type=\"select\" [EditMode]=\"ComposeMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n <div class=\"mjo-oh-fact\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"CompanyID\" Type=\"textbox\" [EditMode]=\"ComposeMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n <div class=\"mjo-oh-fact\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"OrderDate\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n\n <div class=\"mjo-oh-parties\" [class.is-ship]=\"ExpandedParty === 'ship'\" [class.is-bill]=\"ExpandedParty === 'bill'\" [class.is-none]=\"ExpandedParty === null\">\n <div class=\"mjo-oh-bubble\" [class.is-open]=\"ExpandedParty === 'ship'\" [class.is-rail]=\"ExpandedParty === 'bill'\">\n <div\n class=\"mjo-oh-bubble__hit\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-expanded]=\"ExpandedParty === 'ship'\"\n (click)=\"SelectParty('ship')\"\n (keydown.enter)=\"SelectParty('ship')\"\n (keydown.space)=\"SelectParty('ship'); $event.preventDefault()\">\n <span class=\"mjo-oh-bubble__ic\"><i class=\"fa-solid fa-truck-fast\"></i></span>\n <span class=\"mjo-oh-bubble__copy\">\n <span class=\"mjo-oh-bubble__role\">Ship to</span>\n @if (ShipToIsSame) {\n <span class=\"mjo-oh-bubble__name\">{{ ShipToName }}</span>\n } @else {\n <button type=\"button\" class=\"mjo-oh-link mjo-oh-bubble__name\" (click)=\"OpenShipTo($event)\">{{ ShipToName }}</button>\n }\n <span class=\"mjo-oh-bubble__detail\">{{ ShipToDetail }}</span>\n </span>\n <i class=\"fa-solid mjo-oh-bubble__chev\" [class.fa-chevron-up]=\"ExpandedParty === 'ship'\" [class.fa-chevron-down]=\"ExpandedParty !== 'ship'\"></i>\n </div>\n @if (ExpandedParty === 'ship') {\n <div class=\"mjo-oh-bubble__edit\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"ShipToOrganizationID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"ShipToPersonID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\" (ValueChange)=\"OnPartyPersonChange('ShipTo')\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"RequestedDeliveryDate\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <div class=\"mjo-oh-addr\">\n <div class=\"mjo-oh-addr__bar\">\n <span class=\"mjo-oh-addr__label\">Address</span>\n @if (record.ShipToAddressID_Object) {\n <button type=\"button\" class=\"mjo-oh-addr__btn\" (click)=\"ClearShipToAddress($event)\" [disabled]=\"!EditMode\">Clear</button>\n } @else {\n <button type=\"button\" class=\"mjo-oh-addr__btn\" (click)=\"EnsureShipToAddress($event)\" [disabled]=\"!EditMode\">Add address</button>\n }\n </div>\n @if (record.ShipToAddressID_Object; as shipAddr) {\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"Line1\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"Line2\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <div class=\"mjo-oh-addr__row\">\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"City\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"StateProvince\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"PostalCode\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n <mj-form-field [Record]=\"shipAddr\" [ShowLabel]=\"true\" FieldName=\"Country\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n }\n </div>\n </div>\n }\n </div>\n\n <div class=\"mjo-oh-bubble\" [class.is-open]=\"ExpandedParty === 'bill'\" [class.is-rail]=\"ExpandedParty === 'ship'\" [class.is-needed]=\"NeedsBillTo\">\n <div\n class=\"mjo-oh-bubble__hit\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-expanded]=\"ExpandedParty === 'bill'\"\n (click)=\"SelectParty('bill')\"\n (keydown.enter)=\"SelectParty('bill')\"\n (keydown.space)=\"SelectParty('bill'); $event.preventDefault()\">\n <span class=\"mjo-oh-bubble__ic\"><i class=\"fa-solid fa-file-invoice-dollar\"></i></span>\n <span class=\"mjo-oh-bubble__copy\">\n <span class=\"mjo-oh-bubble__role\">Bill to</span>\n @if (hasBillTo) {\n <button type=\"button\" class=\"mjo-oh-link mjo-oh-bubble__name\" (click)=\"OpenBillTo($event)\">{{ BillToName }}</button>\n } @else {\n <span class=\"mjo-oh-bubble__name\">{{ BillToName }}</span>\n }\n <span class=\"mjo-oh-bubble__detail\">{{ BillToDetail }}</span>\n </span>\n <i class=\"fa-solid mjo-oh-bubble__chev\" [class.fa-chevron-up]=\"ExpandedParty === 'bill'\" [class.fa-chevron-down]=\"ExpandedParty !== 'bill'\"></i>\n </div>\n @if (ExpandedParty === 'bill') {\n <div class=\"mjo-oh-bubble__edit\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BillToOrganizationID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BillToPersonID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\" (ValueChange)=\"OnPartyPersonChange('BillTo')\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"PaymentTermsTypeID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <div class=\"mjo-oh-addr\">\n <div class=\"mjo-oh-addr__bar\">\n <span class=\"mjo-oh-addr__label\">Address</span>\n @if (record.BillToAddressID_Object) {\n <button type=\"button\" class=\"mjo-oh-addr__btn\" (click)=\"ClearBillToAddress($event)\" [disabled]=\"!EditMode\">Clear</button>\n } @else {\n <button type=\"button\" class=\"mjo-oh-addr__btn\" (click)=\"EnsureBillToAddress($event)\" [disabled]=\"!EditMode\">Add address</button>\n }\n </div>\n @if (record.BillToAddressID_Object; as billAddr) {\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"Line1\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"Line2\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <div class=\"mjo-oh-addr__row\">\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"City\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"StateProvince\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"PostalCode\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n <mj-form-field [Record]=\"billAddr\" [ShowLabel]=\"true\" FieldName=\"Country\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n }\n </div>\n </div>\n }\n </div>\n </div>\n\n @if (ConfirmBlockedReason) {\n <div class=\"mjo-oh-todo\">\n <i class=\"fa-solid fa-circle-exclamation\"></i>\n <span>Before this can be confirmed</span>\n @if (NeedsBillTo) {\n <button type=\"button\" (click)=\"JumpToBill()\">Need a bill-to party</button>\n } @else if (NeedsPaymentReference) {\n <button type=\"button\" (click)=\"JumpToPayment()\">Need a check / ACH reference</button>\n } @else {\n <span class=\"mjo-oh-todo__hint\">{{ ConfirmBlockedReason }}</span>\n }\n </div>\n }\n\n @if (ConfirmError) {\n <div class=\"mjo-oh-todo mjo-oh-todo--err\" role=\"alert\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n <span>{{ ConfirmError }}</span>\n </div>\n }\n\n <mj-tab-nav\n class=\"mjo-oh-tabs\"\n [Tabs]=\"ContextTabs\"\n [ActiveKey]=\"ActiveTab ?? ''\"\n (TabChange)=\"SelectTab($event)\">\n </mj-tab-nav>\n\n @if (ActiveTab === 'payment') {\n <div class=\"mjo-oh-tabpane\">\n <div class=\"mjo-oh-fields\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"InitialPaymentTypeID\" Type=\"textbox\" [EditMode]=\"ComposeMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"InitialPaymentAmount\" Type=\"number\" [EditMode]=\"ComposeMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n @if (PaymentRequiresReference) {\n <label class=\"mjo-oh-ref\">\n <span class=\"mjo-oh-ref__label\">Check / ACH reference</span>\n <input\n class=\"mj-input\"\n [ngModel]=\"PaymentReference\"\n (ngModelChange)=\"SetPaymentReference($event)\"\n [disabled]=\"!ComposeMode\"\n placeholder=\"Check number or confirmation ID\"\n autocomplete=\"off\"\n aria-label=\"Check or ACH reference\">\n </label>\n }\n </div>\n @if (record.IsSaved && PaymentParams) {\n <mj-explorer-entity-data-grid\n [Params]=\"PaymentParams\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"true\"\n [ShowNewButton]=\"false\"\n [ShowDeleteButton]=\"false\"\n [Height]=\"'fit-content'\"\n [MaxHeight]=\"RelatedGridHeight\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n } @else {\n <div class=\"mjo-oh-hint\">Intent only \u2014 the payment is created when the order is confirmed.</div>\n }\n </div>\n }\n\n @if (ActiveTab === 'details') {\n <div class=\"mjo-oh-tabpane\">\n <div class=\"mjo-oh-fields\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"DueDate\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"ExternalDocumentNumber\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"FulfillmentStatus\" Type=\"select\" [EditMode]=\"false\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Status\" Type=\"select\" [EditMode]=\"false\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"SalesRepUserID\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" LinkType=\"Record\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Description\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Notes\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n }\n\n @if (ActiveTab === 'charges' && record.IsSaved) {\n <div class=\"mjo-oh-tabpane\">\n @if (ChargeParams) {\n <mj-explorer-entity-data-grid\n [Params]=\"ChargeParams\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"true\"\n [ShowNewButton]=\"false\"\n [ShowDeleteButton]=\"false\"\n [Height]=\"'fit-content'\"\n [MaxHeight]=\"RelatedGridHeight\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n @if (record.MoneyLocked) {\n <div class=\"mjo-oh-hint\">Charges were booked with the order and cannot be edited.</div>\n }\n }\n </div>\n }\n\n @if (ActiveTab === 'accounting' && record.IsSaved) {\n <div class=\"mjo-oh-tabpane\">\n <div class=\"mjo-oh-acct__bar\">\n <div>\n <h2>{{ AccountingView === 'summary' ? 'Order journal' : 'Line journals' }}</h2>\n <p>\n @if (AccountingView === 'summary') {\n What this order booked, as one entry per company \u2014 not a stored row\n } @else {\n One stored journal per order line \u2014 open a row to drill in\n }\n </p>\n </div>\n <div class=\"mjo-oh-switch\" role=\"group\" aria-label=\"Accounting view\">\n <button type=\"button\" [class.is-on]=\"AccountingView === 'summary'\" (click)=\"SetAccountingView('summary')\">Rolled up</button>\n <button type=\"button\" [class.is-on]=\"AccountingView === 'detail'\" (click)=\"SetAccountingView('detail')\">\n By line\n @if (RollupJournalCount) {\n <span class=\"mjo-oh-switch__n\">{{ RollupJournalCount }}</span>\n }\n </button>\n <button type=\"button\" [class.is-on]=\"AccountingView === 'waterfall'\" (click)=\"SetAccountingView('waterfall')\">\n <i class=\"fa-solid fa-chart-line\"></i> Rev-Rec Waterfall\n </button>\n </div>\n </div>\n\n @if (AccountingView === 'waterfall') {\n <div style=\"padding: 12px 0;\">\n <mj-deferred-revenue-waterfall\n [JournalEntries]=\"RevRecJournalEntries\"\n [Title]=\"'Order Rev-Rec & Deferred Revenue Schedule'\"\n (JournalEntrySelected)=\"OnJournalEntrySelected($event)\">\n </mj-deferred-revenue-waterfall>\n </div>\n } @else if (AccountingView === 'summary') {\n @if (RollupLoading) {\n <div class=\"mjo-oh-hint\">Rolling up journals\u2026</div>\n } @else if (RollupError) {\n <div class=\"mjo-oh-hint\">{{ RollupError }}</div>\n } @else if (RollupCards.length === 0) {\n <div class=\"mjo-oh-hint\">No journals yet \u2014 they appear when the order is confirmed.</div>\n } @else {\n @for (card of RollupCards; track card.CompanyID) {\n <article class=\"mjo-oh-jecard\">\n <header class=\"mjo-oh-jecard__head\">\n <div>\n <span class=\"mjo-oh-jecard__co\">{{ card.Company }}</span>\n <span class=\"mjo-oh-jecard__sub\">{{ card.Rows.length }} {{ card.Rows.length === 1 ? 'line' : 'lines' }}</span>\n </div>\n <span class=\"mjo-oh-chip\" [class.mjo-oh-chip--ok]=\"CardIsBalanced(card)\">\n {{ CardIsBalanced(card) ? 'Balanced' : 'Out of balance' }}\n </span>\n </header>\n <table class=\"mjo-oh-je__table\">\n <thead>\n <tr>\n <th>Account</th>\n <th class=\"is-num\">Debit</th>\n <th class=\"is-num\">Credit</th>\n </tr>\n </thead>\n <tbody>\n @for (row of card.Rows; track row.Key) {\n <tr>\n <td>\n <div class=\"mjo-oh-acctline\">\n @if (row.AccountCode) {\n <span class=\"mjo-oh-acctline__code\">{{ row.AccountCode }}</span>\n }\n <span class=\"mjo-oh-acctline__name\">{{ row.AccountName }}</span>\n </div>\n <div class=\"mjo-oh-acctline__meta\">\n @for (dim of row.Dimensions; track dim.Name + dim.Value) {\n <span class=\"mjo-oh-dim\">{{ dim.Name }} \u00B7 {{ dim.Value }}</span>\n }\n <span class=\"mjo-oh-je__src\">{{ SourceLineLabel(row.SourceLineCount) }}</span>\n </div>\n </td>\n <td class=\"is-num\" [class.is-quiet]=\"!row.Debit\">{{ RollupAmount(row.Debit) }}</td>\n <td class=\"is-num\" [class.is-quiet]=\"!row.Credit\">{{ RollupAmount(row.Credit) }}</td>\n </tr>\n }\n </tbody>\n <tfoot>\n <tr>\n <th>Total</th>\n <td class=\"is-num\">{{ RollupAmount(card.TotalDebit) }}</td>\n <td class=\"is-num\">{{ RollupAmount(card.TotalCredit) }}</td>\n </tr>\n </tfoot>\n </table>\n </article>\n }\n }\n } @else if (JournalParams) {\n <mj-explorer-entity-data-grid\n [Params]=\"JournalParams\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"true\"\n [ShowNewButton]=\"false\"\n [Height]=\"'fit-content'\"\n [MaxHeight]=\"RelatedGridHeight\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n } @else {\n <div class=\"mjo-oh-hint\">No line journals until this order has saved lines.</div>\n }\n </div>\n }\n\n @if (ActiveTab === 'subs' && record.IsSaved) {\n <div class=\"mjo-oh-tabpane\">\n @if (SubscriptionParams) {\n <mj-explorer-entity-data-grid\n [Params]=\"SubscriptionParams\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"true\"\n [ShowNewButton]=\"false\"\n [Height]=\"'fit-content'\"\n [MaxHeight]=\"RelatedGridHeight\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n }\n </div>\n }\n }\n </div>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLines\"\n SectionName=\"Lines\"\n Icon=\"fa fa-list-ol\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"LineBadge\"\n [DefaultExpanded]=\"true\">\n <mjo-order-lines-editor\n [Order]=\"record\"\n [EditMode]=\"ComposeMode\"\n (PricingChanged)=\"OnPricingChanged($event)\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mjo-order-lines-editor>\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-everything\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n</mj-record-form-container>\n}\n", styles: ["/* mj-form-field uses display:contents + a 200px|1fr internal grid.\n Wrap each field; never place the host as a CSS-grid item. */\n\n:host ::ng-deep .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) {\n max-height: none;\n}\n\n:host ::ng-deep .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) .mj-forms-panel-content {\n max-height: none;\n overflow: visible;\n}\n\n/* Product search results sit `position: absolute` under the add-product\n input at the bottom of Lines. The panel card and body both use\n overflow:hidden (rounded-corner clip + collapse animation), which\n shears the list off at the section edge. Collapse still forces\n overflow:hidden on the collapsed body. */\n:host ::ng-deep mj-collapsible-panel:has(mjo-order-lines-editor) .mj-forms-panel {\n overflow: visible;\n}\n\n:host ::ng-deep mj-collapsible-panel:has(mjo-order-lines-editor) .mj-forms-panel-body:not(.mj-forms-panel-body--collapsed) {\n overflow: visible;\n}\n\n:host ::ng-deep mj-collapsible-panel:has(.mj-typeahead-list.is-open) {\n position: relative;\n z-index: 30;\n}\n\n.mjo-oh-hero {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg);\n padding: var(--mj-space-4) var(--mj-space-5);\n margin-bottom: var(--mj-space-4);\n}\n\n.mjo-oh-hero.is-collapsed {\n padding: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mjo-oh-hero.is-collapsed .mjo-oh-hero__top {\n align-items: center;\n}\n\n.mjo-oh-hero.is-collapsed .mjo-oh-avatar {\n width: 32px;\n height: 32px;\n font-size: 14px;\n}\n\n.mjo-oh-hero.is-collapsed .mjo-oh-title {\n font-size: var(--mj-text-base);\n}\n\n.mjo-oh-hero__toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n flex: 0 0 auto;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mjo-oh-hero__toggle:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-hero__top {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--mj-space-4);\n flex-wrap: wrap;\n}\n\n.mjo-oh-hero__aside {\n display: flex;\n align-items: flex-start;\n gap: var(--mj-space-4);\n flex-wrap: wrap;\n}\n\n.mjo-oh-confirm {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: var(--mj-space-1);\n min-width: 11rem;\n}\n\n.mjo-oh-confirm__hint {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n text-align: right;\n max-width: 14rem;\n line-height: 1.35;\n}\n\n.mjo-oh-who {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n min-width: 0;\n}\n\n.mjo-oh-avatar {\n width: 44px;\n height: 44px;\n border-radius: var(--mj-radius-md);\n display: grid;\n place-items: center;\n flex: 0 0 auto;\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-size: 18px;\n}\n\n.mjo-oh-title-row {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n}\n\n.mjo-oh-title {\n margin: 0;\n font-size: var(--mj-text-lg);\n font-weight: var(--mj-font-bold);\n color: var(--mj-text-primary);\n letter-spacing: -0.02em;\n}\n\n.mjo-oh-sub {\n margin-top: 2px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n}\n\n.mjo-oh-kicker {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-chip {\n display: inline-flex;\n align-items: center;\n padding: 2px 10px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.mjo-oh-chip--ok {\n color: var(--mj-status-success-text);\n background: var(--mj-status-success-bg);\n border-color: var(--mj-status-success-border);\n}\n\n.mjo-oh-chip--void {\n color: var(--mj-status-error-text);\n background: var(--mj-status-error-bg);\n border-color: var(--mj-status-error-border);\n}\n\n.mjo-oh-money {\n display: flex;\n gap: var(--mj-space-5);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-oh-money > div {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-oh-amt {\n font-variant-numeric: tabular-nums;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-facts {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: var(--mj-space-3) var(--mj-space-4);\n margin-top: var(--mj-space-4);\n padding: var(--mj-space-3);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-fact ::ng-deep .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.mjo-oh-fact ::ng-deep .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n/* The shared field hover adds negative margin + extra padding, which shoves\n the three header facts down. Keep the tint, drop the layout shift. */\n.mjo-oh-fact ::ng-deep .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.mjo-oh-fields {\n display: flex;\n flex-direction: column;\n}\n\n.mjo-oh-parties {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: var(--mj-space-3);\n align-items: start;\n margin: var(--mj-space-4) 0 var(--mj-space-3);\n}\n\n.mjo-oh-parties.is-bill {\n grid-template-columns: auto minmax(0, 1fr);\n}\n\n.mjo-oh-parties.is-none {\n grid-template-columns: 1fr 1fr;\n}\n\n.mjo-oh-bubble {\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-width: 0;\n}\n\n.mjo-oh-bubble.is-open {\n border-color: color-mix(in srgb, var(--mj-brand-primary) 45%, var(--mj-border-default));\n}\n\n.mjo-oh-bubble.is-rail {\n width: 3.25rem;\n flex: 0 0 auto;\n}\n\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__hit {\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2);\n min-height: 5.5rem;\n}\n\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__copy {\n flex: 0 0 auto;\n align-items: center;\n}\n\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__role {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.08em;\n}\n\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__name,\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__detail,\n.mjo-oh-bubble.is-rail .mjo-oh-bubble__chev {\n display: none;\n}\n\n@media (max-width: 720px) {\n .mjo-oh-parties,\n .mjo-oh-parties.is-bill,\n .mjo-oh-parties.is-none {\n grid-template-columns: 1fr;\n }\n\n .mjo-oh-bubble.is-rail {\n width: auto;\n }\n\n .mjo-oh-bubble.is-rail .mjo-oh-bubble__hit {\n flex-direction: row;\n min-height: 0;\n padding: var(--mj-space-2) var(--mj-space-3);\n }\n\n .mjo-oh-bubble.is-rail .mjo-oh-bubble__copy {\n align-items: flex-start;\n }\n\n .mjo-oh-bubble.is-rail .mjo-oh-bubble__role {\n writing-mode: horizontal-tb;\n transform: none;\n }\n}\n\n.mjo-oh-bubble.is-needed {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mjo-oh-bubble__hit {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n width: 100%;\n padding: var(--mj-space-3);\n border: 0;\n background: transparent;\n color: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.mjo-oh-bubble__name.mjo-oh-link {\n display: inline;\n padding: 0;\n border: 0;\n background: transparent;\n font: inherit;\n font-size: inherit;\n font-weight: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.mjo-oh-bubble__hit:hover { background: var(--mj-bg-surface-hover); }\n\n.mjo-oh-bubble__ic {\n width: var(--mj-space-8);\n height: var(--mj-space-8);\n border-radius: var(--mj-radius-sm);\n display: grid;\n place-items: center;\n flex: 0 0 auto;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-brand-primary);\n}\n\n.mjo-oh-bubble__copy {\n min-width: 0;\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-oh-bubble__role {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-bubble__name {\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-bubble__detail {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mjo-oh-bubble__chev {\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n}\n\n.mjo-oh-bubble__edit {\n padding: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n display: flex;\n flex-direction: column;\n}\n\n.mjo-oh-addr {\n margin-top: var(--mj-space-2);\n padding-top: var(--mj-space-2);\n border-top: 1px dashed var(--mj-border-subtle);\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-1);\n}\n\n.mjo-oh-addr__bar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--mj-space-2);\n}\n\n.mjo-oh-addr__label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-addr__btn {\n border: 0;\n background: transparent;\n color: var(--mj-text-link);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n cursor: pointer;\n padding: 0;\n}\n\n.mjo-oh-addr__btn:disabled {\n color: var(--mj-text-disabled);\n cursor: default;\n}\n\n.mjo-oh-addr__row {\n display: grid;\n grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);\n gap: var(--mj-space-2);\n}\n\n.mjo-oh-link {\n color: var(--mj-text-link);\n text-decoration: none;\n}\n\n.mjo-oh-link:hover { text-decoration: underline; }\n\n.mjo-oh-todo {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-3);\n font-size: var(--mj-text-sm);\n color: var(--mj-status-warning-text);\n}\n\n.mjo-oh-todo button,\n.mjo-oh-todo__hint {\n background: var(--mj-status-warning-bg);\n border: 1px solid var(--mj-status-warning-border);\n color: var(--mj-status-warning-text);\n border-radius: var(--mj-radius-full);\n padding: 2px 8px;\n font: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.mjo-oh-todo button { cursor: pointer; }\n\n.mjo-oh-todo--err {\n color: var(--mj-status-error-text);\n}\n\n.mjo-oh-ref {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin-top: var(--mj-space-3);\n}\n\n.mjo-oh-ref__label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-ref .mj-input {\n max-width: 22rem;\n}\n\n.mjo-oh-tabs {\n display: block;\n margin-top: var(--mj-space-2);\n}\n\n.mjo-oh-tabpane { margin-top: var(--mj-space-3); }\n\n.mjo-oh-tabpane mj-explorer-entity-data-grid {\n display: block;\n}\n\n.mjo-oh-hint {\n margin-top: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-acct__bar {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--mj-space-3);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-3);\n}\n\n.mjo-oh-acct__bar h2 {\n margin: 0;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-acct__bar p {\n margin: 2px 0 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-switch {\n display: inline-flex;\n padding: 2px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-switch button {\n appearance: none;\n border: 0;\n background: transparent;\n color: var(--mj-text-secondary);\n font: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n padding: 5px 12px;\n border-radius: var(--mj-radius-full);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-oh-switch button.is-on {\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n box-shadow: 0 0 0 1px var(--mj-border-subtle);\n}\n\n.mjo-oh-switch__n {\n min-width: 1.25em;\n padding: 0 5px;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-brand-primary) 14%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-variant-numeric: tabular-nums;\n text-align: center;\n}\n\n.mjo-oh-jecard {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mjo-oh-jecard + .mjo-oh-jecard {\n margin-top: var(--mj-space-3);\n}\n\n.mjo-oh-jecard__head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-3);\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-oh-jecard__co {\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-jecard__sub {\n margin-left: var(--mj-space-2);\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-je__table {\n width: 100%;\n border-collapse: collapse;\n font-size: var(--mj-text-sm);\n}\n\n.mjo-oh-je__table th,\n.mjo-oh-je__table td {\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-subtle);\n text-align: left;\n vertical-align: top;\n}\n\n.mjo-oh-je__table thead th {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-oh-je__table tfoot th {\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n border-bottom: 0;\n background: var(--mj-bg-surface-sunken);\n}\n\n.mjo-oh-je__table .is-num {\n text-align: right;\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.mjo-oh-je__table .is-quiet {\n color: var(--mj-text-disabled);\n}\n\n.mjo-oh-acctline {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n flex-wrap: wrap;\n}\n\n.mjo-oh-acctline__code {\n font-variant-numeric: tabular-nums;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-secondary);\n letter-spacing: 0.02em;\n}\n\n.mjo-oh-acctline__name {\n color: var(--mj-text-primary);\n}\n\n.mjo-oh-acctline__meta {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 4px;\n}\n\n.mjo-oh-dim {\n display: inline-flex;\n align-items: center;\n padding: 1px 8px;\n border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-subtle);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n}\n\n.mjo-oh-je__src {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n@media (max-width: 760px) {\n .mjo-oh-parties,\n .mjo-oh-facts {\n grid-template-columns: 1fr;\n }\n .mjo-oh-money { margin-left: 0; }\n}\n"] }]
|
|
1423
|
+
}], null, null); })();
|
|
1424
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsOrderHeaderFormComponent, { className: "BizAppsOrderHeaderFormComponent", filePath: "lib/custom/OrderHeader/order-header-form.component.ts", lineNumber: 80 }); })();
|
|
1425
|
+
/** Tree-shaking prevention anchor. */
|
|
1426
|
+
export function LoadOrderHeaderFormComponent() {
|
|
1427
|
+
void BizAppsOrderHeaderFormComponent;
|
|
1428
|
+
}
|
|
1429
|
+
//# sourceMappingURL=order-header-form.component.js.map
|