@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,877 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, EventEmitter, Output, inject } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
|
|
4
|
+
import { Metadata } from '@memberjunction/core';
|
|
5
|
+
import { FormatDate } from '../../panels/money-format.js';
|
|
6
|
+
import { MJAlertComponent } from '@memberjunction/ng-ui-components';
|
|
7
|
+
import { GetChargeTypes, GetTaxExemptions, GetTaxJurisdictions, GetTaxNexus, GetTaxRates } from '../../data/orders-queries.js';
|
|
8
|
+
import { MJO_ENTITIES } from '../../data/entity-names.js';
|
|
9
|
+
import { IsBefore, Today, } from '@mj-biz-apps/orders-entities';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@memberjunction/ng-entity-viewer";
|
|
12
|
+
const _forTrack0 = ($index, $item) => $item["ID"];
|
|
13
|
+
function MJOProductsPageComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "mj-entity-viewer", 14);
|
|
16
|
+
i0.ɵɵlistener("RecordOpened", function MJOProductsPageComponent_Conditional_5_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20
|
+
i0.ɵɵproperty("Entity", ctx_r1.ProductEntityInfo);
|
|
21
|
+
} }
|
|
22
|
+
function MJOProductsPageComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
24
|
+
i0.ɵɵtext(1, "Loading products...");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
} }
|
|
27
|
+
function MJOProductsPageComponent_For_29_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
29
|
+
i0.ɵɵtext(1);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const type_r3 = i0.ɵɵnextContext().$implicit;
|
|
33
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
34
|
+
i0.ɵɵadvance();
|
|
35
|
+
i0.ɵɵtextInterpolate1("extends ", ctx_r1.shortEntity(type_r3["ProductExtensionEntity"]));
|
|
36
|
+
} }
|
|
37
|
+
function MJOProductsPageComponent_For_29_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
39
|
+
i0.ɵɵtext(2);
|
|
40
|
+
i0.ɵɵconditionalCreate(3, MJOProductsPageComponent_For_29_Conditional_3_Template, 2, 1, "div", 15);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(4, "td", 16);
|
|
43
|
+
i0.ɵɵtext(5);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(6, "td", 16);
|
|
46
|
+
i0.ɵɵtext(7);
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
i0.ɵɵelementStart(8, "td", 16);
|
|
49
|
+
i0.ɵɵtext(9);
|
|
50
|
+
i0.ɵɵelementEnd()();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const type_r3 = ctx.$implicit;
|
|
53
|
+
i0.ɵɵadvance(2);
|
|
54
|
+
i0.ɵɵtextInterpolate1(" ", type_r3["Name"], " ");
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵconditional(type_r3["ProductExtensionEntity"] ? 3 : -1);
|
|
57
|
+
i0.ɵɵadvance(2);
|
|
58
|
+
i0.ɵɵtextInterpolate(type_r3["RequiresFulfillment"] ? "yes" : "no");
|
|
59
|
+
i0.ɵɵadvance(2);
|
|
60
|
+
i0.ɵɵtextInterpolate(type_r3["DefaultRevenueRecognitionType"] ?? "\u2014");
|
|
61
|
+
i0.ɵɵadvance(2);
|
|
62
|
+
i0.ɵɵtextInterpolate1(" ", type_r3["DefaultIsTaxable"] ? type_r3["DefaultTaxCategory"] ?? "yes" : "no", " ");
|
|
63
|
+
} }
|
|
64
|
+
function MJOProductsPageComponent_ForEmpty_30_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 17);
|
|
66
|
+
i0.ɵɵtext(2, "No product types.");
|
|
67
|
+
i0.ɵɵelementEnd()();
|
|
68
|
+
} }
|
|
69
|
+
function MJOProductsPageComponent_For_54_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
71
|
+
i0.ɵɵtext(2);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementStart(3, "td", 18);
|
|
74
|
+
i0.ɵɵtext(4);
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
i0.ɵɵelementStart(5, "td", 16);
|
|
77
|
+
i0.ɵɵtext(6);
|
|
78
|
+
i0.ɵɵelementEnd()();
|
|
79
|
+
} if (rf & 2) {
|
|
80
|
+
const category_r4 = ctx.$implicit;
|
|
81
|
+
i0.ɵɵadvance(2);
|
|
82
|
+
i0.ɵɵtextInterpolate(category_r4["Name"]);
|
|
83
|
+
i0.ɵɵadvance(2);
|
|
84
|
+
i0.ɵɵtextInterpolate(category_r4["ParentProductCategory"] ?? "\u2014");
|
|
85
|
+
i0.ɵɵadvance(2);
|
|
86
|
+
i0.ɵɵtextInterpolate1(" ", category_r4["DefaultIsTaxable"] ? category_r4["DefaultTaxCategory"] ?? "taxable" : "exempt", " ");
|
|
87
|
+
} }
|
|
88
|
+
function MJOProductsPageComponent_ForEmpty_55_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 19);
|
|
90
|
+
i0.ɵɵtext(2, "No categories.");
|
|
91
|
+
i0.ɵɵelementEnd()();
|
|
92
|
+
} }
|
|
93
|
+
const _forTrack1 = ($index, $item) => $item.Key;
|
|
94
|
+
function MJOChargesTaxPageComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
95
|
+
i0.ɵɵelement(0, "mj-entity-viewer", 2);
|
|
96
|
+
} if (rf & 2) {
|
|
97
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
98
|
+
i0.ɵɵproperty("Entity", ctx_r0.ChargeTypeEntityInfo);
|
|
99
|
+
} }
|
|
100
|
+
function MJOChargesTaxPageComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
101
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
102
|
+
i0.ɵɵtext(1, "Loading charge types...");
|
|
103
|
+
i0.ɵɵelementEnd();
|
|
104
|
+
} }
|
|
105
|
+
function MJOChargesTaxPageComponent_For_35_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
107
|
+
i0.ɵɵtext(1);
|
|
108
|
+
i0.ɵɵelementEnd();
|
|
109
|
+
} if (rf & 2) {
|
|
110
|
+
const row_r2 = i0.ɵɵnextContext().$implicit;
|
|
111
|
+
i0.ɵɵadvance();
|
|
112
|
+
i0.ɵɵtextInterpolate1("within ", row_r2.Parent);
|
|
113
|
+
} }
|
|
114
|
+
function MJOChargesTaxPageComponent_For_35_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
+
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
116
|
+
i0.ɵɵtext(2);
|
|
117
|
+
i0.ɵɵconditionalCreate(3, MJOChargesTaxPageComponent_For_35_Conditional_3_Template, 2, 1, "div", 20);
|
|
118
|
+
i0.ɵɵelementEnd();
|
|
119
|
+
i0.ɵɵelementStart(4, "td", 21);
|
|
120
|
+
i0.ɵɵtext(5);
|
|
121
|
+
i0.ɵɵelementEnd();
|
|
122
|
+
i0.ɵɵelementStart(6, "td", 21);
|
|
123
|
+
i0.ɵɵtext(7);
|
|
124
|
+
i0.ɵɵelementEnd();
|
|
125
|
+
i0.ɵɵelementStart(8, "td", 11);
|
|
126
|
+
i0.ɵɵtext(9);
|
|
127
|
+
i0.ɵɵelementEnd()();
|
|
128
|
+
} if (rf & 2) {
|
|
129
|
+
const row_r2 = ctx.$implicit;
|
|
130
|
+
i0.ɵɵadvance(2);
|
|
131
|
+
i0.ɵɵtextInterpolate1(" ", row_r2.Name, " ");
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵconditional(row_r2.Parent ? 3 : -1);
|
|
134
|
+
i0.ɵɵadvance(2);
|
|
135
|
+
i0.ɵɵtextInterpolate(row_r2.Where);
|
|
136
|
+
i0.ɵɵadvance(2);
|
|
137
|
+
i0.ɵɵtextInterpolate(row_r2.Category);
|
|
138
|
+
i0.ɵɵadvance(2);
|
|
139
|
+
i0.ɵɵtextInterpolate(row_r2.Rate);
|
|
140
|
+
} }
|
|
141
|
+
function MJOChargesTaxPageComponent_ForEmpty_36_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 22);
|
|
143
|
+
i0.ɵɵtext(2, "No jurisdictions configured.");
|
|
144
|
+
i0.ɵɵelementEnd()();
|
|
145
|
+
} }
|
|
146
|
+
function MJOChargesTaxPageComponent_For_58_Template(rf, ctx) { if (rf & 1) {
|
|
147
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 21);
|
|
148
|
+
i0.ɵɵtext(2);
|
|
149
|
+
i0.ɵɵelementEnd();
|
|
150
|
+
i0.ɵɵelementStart(3, "td", 21);
|
|
151
|
+
i0.ɵɵtext(4);
|
|
152
|
+
i0.ɵɵelementEnd();
|
|
153
|
+
i0.ɵɵelementStart(5, "td", 21);
|
|
154
|
+
i0.ɵɵtext(6);
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
i0.ɵɵelementStart(7, "td")(8, "span", 23);
|
|
157
|
+
i0.ɵɵtext(9);
|
|
158
|
+
i0.ɵɵelementEnd()()();
|
|
159
|
+
} if (rf & 2) {
|
|
160
|
+
const row_r3 = ctx.$implicit;
|
|
161
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
162
|
+
i0.ɵɵadvance(2);
|
|
163
|
+
i0.ɵɵtextInterpolate(row_r3["Company"] ?? "\u2014");
|
|
164
|
+
i0.ɵɵadvance(2);
|
|
165
|
+
i0.ɵɵtextInterpolate(row_r3["TaxJurisdiction"] ?? "\u2014");
|
|
166
|
+
i0.ɵɵadvance(2);
|
|
167
|
+
i0.ɵɵtextInterpolate(row_r3["NexusType"] ?? "\u2014");
|
|
168
|
+
i0.ɵɵadvance(2);
|
|
169
|
+
i0.ɵɵclassMap(ctx_r0.nexusClass(row_r3));
|
|
170
|
+
i0.ɵɵadvance();
|
|
171
|
+
i0.ɵɵtextInterpolate1(" ", row_r3["Status"] ?? "\u2014", " ");
|
|
172
|
+
} }
|
|
173
|
+
function MJOChargesTaxPageComponent_ForEmpty_59_Template(rf, ctx) { if (rf & 1) {
|
|
174
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 22);
|
|
175
|
+
i0.ɵɵtext(2, "No registrations.");
|
|
176
|
+
i0.ɵɵelementEnd()();
|
|
177
|
+
} }
|
|
178
|
+
function MJOChargesTaxPageComponent_For_90_Template(rf, ctx) { if (rf & 1) {
|
|
179
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 21);
|
|
180
|
+
i0.ɵɵtext(2);
|
|
181
|
+
i0.ɵɵelementEnd();
|
|
182
|
+
i0.ɵɵelementStart(3, "td", 21);
|
|
183
|
+
i0.ɵɵtext(4);
|
|
184
|
+
i0.ɵɵelementEnd();
|
|
185
|
+
i0.ɵɵelementStart(5, "td", 21);
|
|
186
|
+
i0.ɵɵtext(6);
|
|
187
|
+
i0.ɵɵelementEnd();
|
|
188
|
+
i0.ɵɵelementStart(7, "td", 24);
|
|
189
|
+
i0.ɵɵtext(8);
|
|
190
|
+
i0.ɵɵelementEnd();
|
|
191
|
+
i0.ɵɵelementStart(9, "td", 21);
|
|
192
|
+
i0.ɵɵtext(10);
|
|
193
|
+
i0.ɵɵelementEnd();
|
|
194
|
+
i0.ɵɵelementStart(11, "td")(12, "span", 23);
|
|
195
|
+
i0.ɵɵtext(13);
|
|
196
|
+
i0.ɵɵelementEnd()()();
|
|
197
|
+
} if (rf & 2) {
|
|
198
|
+
const row_r4 = ctx.$implicit;
|
|
199
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
200
|
+
i0.ɵɵadvance(2);
|
|
201
|
+
i0.ɵɵtextInterpolate(row_r4["Organization"] ?? row_r4["Person"] ?? "\u2014");
|
|
202
|
+
i0.ɵɵadvance(2);
|
|
203
|
+
i0.ɵɵtextInterpolate(ctx_r0.jurisdictionOf(row_r4));
|
|
204
|
+
i0.ɵɵadvance(2);
|
|
205
|
+
i0.ɵɵtextInterpolate(row_r4["TaxCategory"] ?? "all");
|
|
206
|
+
i0.ɵɵadvance(2);
|
|
207
|
+
i0.ɵɵtextInterpolate(row_r4["CertificateRef"] ?? "\u2014");
|
|
208
|
+
i0.ɵɵadvance(2);
|
|
209
|
+
i0.ɵɵtextInterpolate(ctx_r0.dateOf(row_r4["CertificateExpiresAt"]));
|
|
210
|
+
i0.ɵɵadvance(2);
|
|
211
|
+
i0.ɵɵclassMap(ctx_r0.exemptionClass(row_r4));
|
|
212
|
+
i0.ɵɵadvance();
|
|
213
|
+
i0.ɵɵtextInterpolate1(" ", row_r4["Status"] ?? "\u2014", " ");
|
|
214
|
+
} }
|
|
215
|
+
function MJOChargesTaxPageComponent_ForEmpty_91_Template(rf, ctx) { if (rf & 1) {
|
|
216
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 25);
|
|
217
|
+
i0.ɵɵtext(2, "No exemption certificates.");
|
|
218
|
+
i0.ɵɵelementEnd()();
|
|
219
|
+
} }
|
|
220
|
+
/**
|
|
221
|
+
* `mjo-products-page` — the catalog, which is the behaviour root.
|
|
222
|
+
*
|
|
223
|
+
* WHY THE CATALOG IS THE MOST CONSEQUENTIAL ADMIN SCREEN. A product's TYPE decides
|
|
224
|
+
* how its revenue recognises, whether it is taxable, whether it must ship and
|
|
225
|
+
* whether buying it creates a subscription. Every order that ever includes it
|
|
226
|
+
* inherits those answers. Getting a product wrong is not one wrong row — it is
|
|
227
|
+
* every future order line quietly booking the wrong way.
|
|
228
|
+
*
|
|
229
|
+
* So the list leads with type and behaviour rather than with price: price is
|
|
230
|
+
* visible and correctable, whereas a wrong recognition shape produces a balanced
|
|
231
|
+
* journal entry in the wrong period and nothing downstream disagrees.
|
|
232
|
+
*
|
|
233
|
+
* ## Example
|
|
234
|
+
*
|
|
235
|
+
* ```html
|
|
236
|
+
* <mjo-products-page (ProductOpened)="openForm($event)" />
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
export class MJOProductsPageComponent {
|
|
240
|
+
cdr = inject(ChangeDetectorRef);
|
|
241
|
+
ProductOpened = new EventEmitter();
|
|
242
|
+
ProductEntityInfo = null;
|
|
243
|
+
Categories = [];
|
|
244
|
+
Types = [];
|
|
245
|
+
async ngOnInit() {
|
|
246
|
+
const md = new Metadata();
|
|
247
|
+
this.ProductEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.Product) || null;
|
|
248
|
+
this.cdr.detectChanges();
|
|
249
|
+
}
|
|
250
|
+
OnRecordOpened(event) {
|
|
251
|
+
const id = (event.compositeKey?.GetValueByFieldName('ID') ?? event.record?.['ID']);
|
|
252
|
+
if (id) {
|
|
253
|
+
const surrogate = { ID: id };
|
|
254
|
+
this.ProductOpened.emit(surrogate);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
/** 'MJ_BizApps_Orders: Event Products' → 'Event Products'. */
|
|
258
|
+
shortEntity(name) {
|
|
259
|
+
return String(name ?? '').split(':').pop()?.trim() ?? '';
|
|
260
|
+
}
|
|
261
|
+
static ɵfac = function MJOProductsPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOProductsPageComponent)(); };
|
|
262
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOProductsPageComponent, selectors: [["mjo-products-page"]], outputs: { ProductOpened: "ProductOpened" }, decls: 62, vars: 5, consts: [["Variant", "info", "Icon", "fa-solid fa-sitemap", 1, "mjo-cat__note"], [1, "mjo-products-viewer-container"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], [1, "mjo-cat__grid"], [1, "mj-card"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-layer-group"], [1, "right", "small", "muted"], [1, "mj-table-wrap"], [1, "mj-table", "mj-table--compact"], [1, "mj-card-pad", "small", "muted"], ["aria-hidden", "true", 1, "fa-solid", "fa-folder-tree"], ["Variant", "info", "Icon", "fa-solid fa-puzzle-piece", 1, "mjo-cat__block"], [3, "RecordOpened", "Entity"], [1, "secondary"], [1, "small"], ["colspan", "4", 1, "small", "muted"], [1, "small", "muted"], ["colspan", "3", 1, "small", "muted"]], template: function MJOProductsPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
263
|
+
i0.ɵɵelementStart(0, "mj-alert", 0)(1, "strong");
|
|
264
|
+
i0.ɵɵtext(2, "The catalog is the behaviour root.");
|
|
265
|
+
i0.ɵɵelementEnd();
|
|
266
|
+
i0.ɵɵtext(3, " A product's type decides recognition, taxability, fulfillment and recurrence, and every order line inherits those answers \u2014 which is why an order screen never asks for them again. ");
|
|
267
|
+
i0.ɵɵelementEnd();
|
|
268
|
+
i0.ɵɵelementStart(4, "div", 1);
|
|
269
|
+
i0.ɵɵconditionalCreate(5, MJOProductsPageComponent_Conditional_5_Template, 1, 1, "mj-entity-viewer", 2)(6, MJOProductsPageComponent_Conditional_6_Template, 2, 0, "div", 3);
|
|
270
|
+
i0.ɵɵelementEnd();
|
|
271
|
+
i0.ɵɵelementStart(7, "div", 4)(8, "div", 5)(9, "div", 6);
|
|
272
|
+
i0.ɵɵelement(10, "i", 7);
|
|
273
|
+
i0.ɵɵelementStart(11, "h3");
|
|
274
|
+
i0.ɵɵtext(12, "Product types");
|
|
275
|
+
i0.ɵɵelementEnd();
|
|
276
|
+
i0.ɵɵelementStart(13, "span", 8);
|
|
277
|
+
i0.ɵɵtext(14);
|
|
278
|
+
i0.ɵɵelementEnd()();
|
|
279
|
+
i0.ɵɵelementStart(15, "div", 9)(16, "table", 10)(17, "thead")(18, "tr")(19, "th");
|
|
280
|
+
i0.ɵɵtext(20, "Type");
|
|
281
|
+
i0.ɵɵelementEnd();
|
|
282
|
+
i0.ɵɵelementStart(21, "th");
|
|
283
|
+
i0.ɵɵtext(22, "Ships");
|
|
284
|
+
i0.ɵɵelementEnd();
|
|
285
|
+
i0.ɵɵelementStart(23, "th");
|
|
286
|
+
i0.ɵɵtext(24, "Recognition");
|
|
287
|
+
i0.ɵɵelementEnd();
|
|
288
|
+
i0.ɵɵelementStart(25, "th");
|
|
289
|
+
i0.ɵɵtext(26, "Taxable");
|
|
290
|
+
i0.ɵɵelementEnd()()();
|
|
291
|
+
i0.ɵɵelementStart(27, "tbody");
|
|
292
|
+
i0.ɵɵrepeaterCreate(28, MJOProductsPageComponent_For_29_Template, 10, 5, "tr", null, _forTrack0, false, MJOProductsPageComponent_ForEmpty_30_Template, 3, 0, "tr");
|
|
293
|
+
i0.ɵɵelementEnd()()();
|
|
294
|
+
i0.ɵɵelementStart(31, "div", 11)(32, "b");
|
|
295
|
+
i0.ɵɵtext(33, "What a type decides:");
|
|
296
|
+
i0.ɵɵelementEnd();
|
|
297
|
+
i0.ɵɵtext(34, " whether a line ships, how its revenue is recognised, whether it is taxable, and whether it recurs. A product inherits all four and may override any \u2014 so a line never has to be asked. ");
|
|
298
|
+
i0.ɵɵelementEnd()();
|
|
299
|
+
i0.ɵɵelementStart(35, "div", 5)(36, "div", 6);
|
|
300
|
+
i0.ɵɵelement(37, "i", 12);
|
|
301
|
+
i0.ɵɵelementStart(38, "h3");
|
|
302
|
+
i0.ɵɵtext(39, "Categories");
|
|
303
|
+
i0.ɵɵelementEnd();
|
|
304
|
+
i0.ɵɵelementStart(40, "span", 8);
|
|
305
|
+
i0.ɵɵtext(41);
|
|
306
|
+
i0.ɵɵelementEnd()();
|
|
307
|
+
i0.ɵɵelementStart(42, "div", 9)(43, "table", 10)(44, "thead")(45, "tr")(46, "th");
|
|
308
|
+
i0.ɵɵtext(47, "Category");
|
|
309
|
+
i0.ɵɵelementEnd();
|
|
310
|
+
i0.ɵɵelementStart(48, "th");
|
|
311
|
+
i0.ɵɵtext(49, "Within");
|
|
312
|
+
i0.ɵɵelementEnd();
|
|
313
|
+
i0.ɵɵelementStart(50, "th");
|
|
314
|
+
i0.ɵɵtext(51, "Default tax");
|
|
315
|
+
i0.ɵɵelementEnd()()();
|
|
316
|
+
i0.ɵɵelementStart(52, "tbody");
|
|
317
|
+
i0.ɵɵrepeaterCreate(53, MJOProductsPageComponent_For_54_Template, 7, 3, "tr", null, _forTrack0, false, MJOProductsPageComponent_ForEmpty_55_Template, 3, 0, "tr");
|
|
318
|
+
i0.ɵɵelementEnd()()();
|
|
319
|
+
i0.ɵɵelementStart(56, "div", 11);
|
|
320
|
+
i0.ɵɵtext(57, " Categories group for reporting and supply defaults. They do NOT decide behaviour \u2014 that is the type's job. Keeping the two apart is what stops a reporting change from altering how something is taxed. ");
|
|
321
|
+
i0.ɵɵelementEnd()()();
|
|
322
|
+
i0.ɵɵelementStart(58, "mj-alert", 13)(59, "strong");
|
|
323
|
+
i0.ɵɵtext(60, "Type extensions carry what only that type needs.");
|
|
324
|
+
i0.ɵɵelementEnd();
|
|
325
|
+
i0.ɵɵtext(61, " An event has a venue and a date; a subscription has a term length. Rather than a products table with columns most rows leave null, a type names an extension entity and the extra facts live there. The order line gets a matching extension, so a line selling a ticket can hold ticket facts without every other line pretending to. ");
|
|
326
|
+
i0.ɵɵelementEnd();
|
|
327
|
+
} if (rf & 2) {
|
|
328
|
+
i0.ɵɵadvance(5);
|
|
329
|
+
i0.ɵɵconditional(ctx.ProductEntityInfo ? 5 : 6);
|
|
330
|
+
i0.ɵɵadvance(9);
|
|
331
|
+
i0.ɵɵtextInterpolate(ctx.Types.length);
|
|
332
|
+
i0.ɵɵadvance(14);
|
|
333
|
+
i0.ɵɵrepeater(ctx.Types);
|
|
334
|
+
i0.ɵɵadvance(13);
|
|
335
|
+
i0.ɵɵtextInterpolate(ctx.Categories.length);
|
|
336
|
+
i0.ɵɵadvance(12);
|
|
337
|
+
i0.ɵɵrepeater(ctx.Categories);
|
|
338
|
+
} }, dependencies: [CommonModule, MJAlertComponent, EntityViewerModule, i1.EntityViewerComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-products-viewer-container[_ngcontent-%COMP%] {\n height: 600px;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-cat__note[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-cat__grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-cat__block[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n @media (max-width: 1000px) {\n .mjo-cat__grid[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
|
|
339
|
+
}
|
|
340
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOProductsPageComponent, [{
|
|
341
|
+
type: Component,
|
|
342
|
+
args: [{ selector: 'mjo-products-page', standalone: true, imports: [CommonModule, MJAlertComponent, EntityViewerModule], template: `
|
|
343
|
+
<mj-alert Variant="info" Icon="fa-solid fa-sitemap" class="mjo-cat__note">
|
|
344
|
+
<strong>The catalog is the behaviour root.</strong>
|
|
345
|
+
A product's type decides recognition, taxability, fulfillment and recurrence, and every
|
|
346
|
+
order line inherits those answers — which is why an order screen never asks for them
|
|
347
|
+
again.
|
|
348
|
+
</mj-alert>
|
|
349
|
+
|
|
350
|
+
<div class="mjo-products-viewer-container">
|
|
351
|
+
@if (ProductEntityInfo) {
|
|
352
|
+
<mj-entity-viewer
|
|
353
|
+
[Entity]="ProductEntityInfo"
|
|
354
|
+
(RecordOpened)="OnRecordOpened($event)">
|
|
355
|
+
</mj-entity-viewer>
|
|
356
|
+
} @else {
|
|
357
|
+
<div class="small muted" style="padding: 24px;">Loading products...</div>
|
|
358
|
+
}
|
|
359
|
+
</div>
|
|
360
|
+
|
|
361
|
+
<div class="mjo-cat__grid">
|
|
362
|
+
<div class="mj-card">
|
|
363
|
+
<div class="mj-card-head">
|
|
364
|
+
<i class="fa-solid fa-layer-group" aria-hidden="true"></i>
|
|
365
|
+
<h3>Product types</h3>
|
|
366
|
+
<span class="right small muted">{{ Types.length }}</span>
|
|
367
|
+
</div>
|
|
368
|
+
<div class="mj-table-wrap">
|
|
369
|
+
<table class="mj-table mj-table--compact">
|
|
370
|
+
<thead>
|
|
371
|
+
<tr>
|
|
372
|
+
<th>Type</th>
|
|
373
|
+
<th>Ships</th>
|
|
374
|
+
<th>Recognition</th>
|
|
375
|
+
<th>Taxable</th>
|
|
376
|
+
</tr>
|
|
377
|
+
</thead>
|
|
378
|
+
<tbody>
|
|
379
|
+
@for (type of Types; track type['ID']) {
|
|
380
|
+
<tr>
|
|
381
|
+
<td>
|
|
382
|
+
{{ type['Name'] }}
|
|
383
|
+
@if (type['ProductExtensionEntity']) {
|
|
384
|
+
<div class="secondary">extends {{ shortEntity(type['ProductExtensionEntity']) }}</div>
|
|
385
|
+
}
|
|
386
|
+
</td>
|
|
387
|
+
<td class="small">{{ type['RequiresFulfillment'] ? 'yes' : 'no' }}</td>
|
|
388
|
+
<td class="small">{{ type['DefaultRevenueRecognitionType'] ?? '—' }}</td>
|
|
389
|
+
<td class="small">
|
|
390
|
+
{{ type['DefaultIsTaxable'] ? (type['DefaultTaxCategory'] ?? 'yes') : 'no' }}
|
|
391
|
+
</td>
|
|
392
|
+
</tr>
|
|
393
|
+
} @empty {
|
|
394
|
+
<tr><td colspan="4" class="small muted">No product types.</td></tr>
|
|
395
|
+
}
|
|
396
|
+
</tbody>
|
|
397
|
+
</table>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="mj-card-pad small muted">
|
|
400
|
+
<b>What a type decides:</b> whether a line ships, how its revenue is recognised,
|
|
401
|
+
whether it is taxable, and whether it recurs. A product inherits all four and may
|
|
402
|
+
override any — so a line never has to be asked.
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
|
|
406
|
+
<div class="mj-card">
|
|
407
|
+
<div class="mj-card-head">
|
|
408
|
+
<i class="fa-solid fa-folder-tree" aria-hidden="true"></i>
|
|
409
|
+
<h3>Categories</h3>
|
|
410
|
+
<span class="right small muted">{{ Categories.length }}</span>
|
|
411
|
+
</div>
|
|
412
|
+
<div class="mj-table-wrap">
|
|
413
|
+
<table class="mj-table mj-table--compact">
|
|
414
|
+
<thead>
|
|
415
|
+
<tr><th>Category</th><th>Within</th><th>Default tax</th></tr>
|
|
416
|
+
</thead>
|
|
417
|
+
<tbody>
|
|
418
|
+
@for (category of Categories; track category['ID']) {
|
|
419
|
+
<tr>
|
|
420
|
+
<td>{{ category['Name'] }}</td>
|
|
421
|
+
<td class="small muted">{{ category['ParentProductCategory'] ?? '—' }}</td>
|
|
422
|
+
<td class="small">
|
|
423
|
+
{{ category['DefaultIsTaxable'] ? (category['DefaultTaxCategory'] ?? 'taxable') : 'exempt' }}
|
|
424
|
+
</td>
|
|
425
|
+
</tr>
|
|
426
|
+
} @empty {
|
|
427
|
+
<tr><td colspan="3" class="small muted">No categories.</td></tr>
|
|
428
|
+
}
|
|
429
|
+
</tbody>
|
|
430
|
+
</table>
|
|
431
|
+
</div>
|
|
432
|
+
<div class="mj-card-pad small muted">
|
|
433
|
+
Categories group for reporting and supply defaults. They do NOT decide
|
|
434
|
+
behaviour — that is the type's job. Keeping the two apart is what stops a
|
|
435
|
+
reporting change from altering how something is taxed.
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
</div>
|
|
439
|
+
|
|
440
|
+
<mj-alert Variant="info" Icon="fa-solid fa-puzzle-piece" class="mjo-cat__block">
|
|
441
|
+
<strong>Type extensions carry what only that type needs.</strong>
|
|
442
|
+
An event has a venue and a date; a subscription has a term length. Rather than a
|
|
443
|
+
products table with columns most rows leave null, a type names an extension entity
|
|
444
|
+
and the extra facts live there. The order line gets a matching extension, so a line
|
|
445
|
+
selling a ticket can hold ticket facts without every other line pretending to.
|
|
446
|
+
</mj-alert>
|
|
447
|
+
`, styles: ["\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-products-viewer-container {\n height: 600px;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-cat__note { margin-bottom: var(--mj-space-4); }\n .mjo-cat__grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-cat__block { margin-top: var(--mj-space-4); }\n @media (max-width: 1000px) {\n .mjo-cat__grid { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
|
|
448
|
+
}], null, { ProductOpened: [{
|
|
449
|
+
type: Output
|
|
450
|
+
}] }); })();
|
|
451
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOProductsPageComponent, { className: "MJOProductsPageComponent", filePath: "lib/pages/catalog/products.page.ts", lineNumber: 189 }); })();
|
|
452
|
+
/**
|
|
453
|
+
* `mjo-charges-tax-page` — shipping, handling and tax as one mechanism.
|
|
454
|
+
*
|
|
455
|
+
* TAX IS A CHARGE. Modelling it that way means multi-layer tax — state plus county
|
|
456
|
+
* plus city — is several rows rather than a special case, so ordering, allocation,
|
|
457
|
+
* override and GL treatment are written once instead of twice.
|
|
458
|
+
*
|
|
459
|
+
* SEQUENCE IS WHAT MAKES LAYERING WORK, and the table leads with it. Non-tax
|
|
460
|
+
* charges run first and ENLARGE the taxable base; tax charges run after and never
|
|
461
|
+
* do. That single flag is why tax-on-shipping works with no code that knows the
|
|
462
|
+
* word "shipping", and why county tax is never charged on state tax.
|
|
463
|
+
*
|
|
464
|
+
* ## Example
|
|
465
|
+
*
|
|
466
|
+
* ```html
|
|
467
|
+
* <mjo-charges-tax-page />
|
|
468
|
+
* ```
|
|
469
|
+
*/
|
|
470
|
+
export class MJOChargesTaxPageComponent {
|
|
471
|
+
cdr = inject(ChangeDetectorRef);
|
|
472
|
+
ChargeTypeEntityInfo = null;
|
|
473
|
+
Rows = [];
|
|
474
|
+
Jurisdictions = [];
|
|
475
|
+
Rates = [];
|
|
476
|
+
Nexus = [];
|
|
477
|
+
Exemptions = [];
|
|
478
|
+
async ngOnInit() {
|
|
479
|
+
const md = new Metadata();
|
|
480
|
+
this.ChargeTypeEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.ChargeType) || null;
|
|
481
|
+
const [rows, jurisdictions, rates, nexus, exemptions] = await Promise.all([
|
|
482
|
+
GetChargeTypes(),
|
|
483
|
+
GetTaxJurisdictions(),
|
|
484
|
+
GetTaxRates(),
|
|
485
|
+
GetTaxNexus(),
|
|
486
|
+
GetTaxExemptions(),
|
|
487
|
+
]);
|
|
488
|
+
this.Rows = rows;
|
|
489
|
+
this.Jurisdictions = jurisdictions;
|
|
490
|
+
this.Rates = rates;
|
|
491
|
+
this.Nexus = nexus;
|
|
492
|
+
this.Exemptions = exemptions;
|
|
493
|
+
this.cdr.detectChanges();
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Jurisdictions joined to their CURRENT rate, one row per category.
|
|
497
|
+
*
|
|
498
|
+
* A jurisdiction with no live rate still appears, showing "—". It is a real
|
|
499
|
+
* layer that happens to charge nothing today, and hiding it would make the
|
|
500
|
+
* stack look shorter than it is.
|
|
501
|
+
*/
|
|
502
|
+
get JurisdictionRates() {
|
|
503
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
504
|
+
const live = (rate) => {
|
|
505
|
+
const from = rate['EffectiveFrom'] ? String(rate['EffectiveFrom']).slice(0, 10) : null;
|
|
506
|
+
const to = rate['EffectiveTo'] ? String(rate['EffectiveTo']).slice(0, 10) : null;
|
|
507
|
+
return (!from || from <= today) && (!to || to >= today);
|
|
508
|
+
};
|
|
509
|
+
const out = [];
|
|
510
|
+
for (const j of this.Jurisdictions) {
|
|
511
|
+
const id = String(j['ID']);
|
|
512
|
+
const where = [j['CityName'], j['RegionCode'], j['CountryCode']].filter(Boolean).join(', ');
|
|
513
|
+
const mine = this.Rates.filter((r) => String(r['TaxJurisdictionID']) === id && live(r));
|
|
514
|
+
if (!mine.length) {
|
|
515
|
+
out.push({
|
|
516
|
+
Key: id,
|
|
517
|
+
Name: String(j['Name'] ?? ''),
|
|
518
|
+
Parent: j['ParentTaxJurisdiction'] ?? null,
|
|
519
|
+
Where: where || '—',
|
|
520
|
+
Category: '—',
|
|
521
|
+
Rate: '—',
|
|
522
|
+
});
|
|
523
|
+
continue;
|
|
524
|
+
}
|
|
525
|
+
for (const rate of mine) {
|
|
526
|
+
out.push({
|
|
527
|
+
Key: `${id}:${String(rate['ID'])}`,
|
|
528
|
+
Name: String(j['Name'] ?? ''),
|
|
529
|
+
Parent: j['ParentTaxJurisdiction'] ?? null,
|
|
530
|
+
Where: where || '—',
|
|
531
|
+
Category: String(rate['TaxCategory'] ?? 'all'),
|
|
532
|
+
Rate: `${(Number(rate['Rate'] ?? 0) * 100).toFixed(3).replace(/0+$/, '').replace(/\.$/, '')}%`,
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
return out;
|
|
537
|
+
}
|
|
538
|
+
dateOf(value) {
|
|
539
|
+
return value ? FormatDate(String(value), { Short: true }) : '—';
|
|
540
|
+
}
|
|
541
|
+
nexusClass(row) {
|
|
542
|
+
return row['Status'] === 'Active' ? 'mj-chip--success' : 'mj-chip--outline';
|
|
543
|
+
}
|
|
544
|
+
/** An expired certificate stops exempting on its own date. */
|
|
545
|
+
/**
|
|
546
|
+
* The jurisdiction a certificate covers, or 'all' when it genuinely covers everything.
|
|
547
|
+
*
|
|
548
|
+
* This read `row['TaxJurisdiction']` — a field `CustomerTaxExemption` does not have, since the
|
|
549
|
+
* base view joins no jurisdiction. Every row therefore fell through to the `?? 'all'` default,
|
|
550
|
+
* so a certificate scoped to ONE state was displayed as exempting the customer EVERYWHERE. That
|
|
551
|
+
* is not a blank cell; it is a wrong claim about tax scope, on the screen a tax admin uses to
|
|
552
|
+
* check exactly that. The jurisdiction names are already loaded for the table above, so the
|
|
553
|
+
* answer costs nothing but the lookup.
|
|
554
|
+
*/
|
|
555
|
+
jurisdictionOf(row) {
|
|
556
|
+
if (!row.TaxJurisdictionID)
|
|
557
|
+
return 'all';
|
|
558
|
+
const key = String(row.TaxJurisdictionID).toLowerCase();
|
|
559
|
+
const match = this.Jurisdictions.find((j) => String(j['ID'] ?? '').toLowerCase() === key);
|
|
560
|
+
return String(match?.['Name'] ?? row.TaxJurisdictionID);
|
|
561
|
+
}
|
|
562
|
+
exemptionClass(row) {
|
|
563
|
+
// Read through the helper rather than String(...).slice(): `CertificateExpiresAt` is a Date
|
|
564
|
+
// on the entity, and the bracket access here means the compiler never saw the mismatch. The
|
|
565
|
+
// old form produced 'Mon Aug 10', which is never less than an ISO day, so an EXPIRED
|
|
566
|
+
// certificate kept its ordinary chip and nobody was told to collect a new one.
|
|
567
|
+
if (IsBefore(row.CertificateExpiresAt, Today()))
|
|
568
|
+
return 'mj-chip--warning';
|
|
569
|
+
return row['Status'] === 'Active' ? 'mj-chip--success' : 'mj-chip--outline';
|
|
570
|
+
}
|
|
571
|
+
static ɵfac = function MJOChargesTaxPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOChargesTaxPageComponent)(); };
|
|
572
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOChargesTaxPageComponent, selectors: [["mjo-charges-tax-page"]], decls: 107, vars: 6, consts: [["Variant", "info", "Icon", "fa-solid fa-layer-group", 1, "mjo-cat__note"], [1, "mjo-tax__viewer-host"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], [1, "mjo-tax__grid"], [1, "mj-card"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-percent"], [1, "right", "small", "muted"], [1, "mj-table-wrap"], [1, "mj-table", "mj-table--compact"], [1, "num"], [1, "mj-card-pad", "small", "muted"], ["aria-hidden", "true", 1, "fa-solid", "fa-building-columns"], [1, "mj-card", "mjo-tax__block"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-shield"], [1, "mjo-tax__grid", "mjo-tax__block"], ["Variant", "info", "Icon", "fa-solid fa-sitemap"], ["Variant", "info", "Icon", "fa-solid fa-pen"], ["Variant", "info", "Icon", "fa-solid fa-check-double", 1, "mjo-tax__block"], [1, "secondary"], [1, "small"], ["colspan", "4", 1, "small", "muted"], [1, "mj-chip"], [1, "small", "mono"], ["colspan", "6", 1, "small", "muted"]], template: function MJOChargesTaxPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
573
|
+
i0.ɵɵelementStart(0, "mj-alert", 0)(1, "strong");
|
|
574
|
+
i0.ɵɵtext(2, "Tax is a charge.");
|
|
575
|
+
i0.ɵɵelementEnd();
|
|
576
|
+
i0.ɵɵtext(3, " State plus county plus city is three rows rather than a special case \u2014 so ordering, allocation, override and GL treatment are written once. A charge's ");
|
|
577
|
+
i0.ɵɵelementStart(4, "b");
|
|
578
|
+
i0.ɵɵtext(5, "sequence");
|
|
579
|
+
i0.ɵɵelementEnd();
|
|
580
|
+
i0.ɵɵtext(6, " decides when it computes and its ");
|
|
581
|
+
i0.ɵɵelementStart(7, "b");
|
|
582
|
+
i0.ɵɵtext(8, "basis");
|
|
583
|
+
i0.ɵɵelementEnd();
|
|
584
|
+
i0.ɵɵtext(9, " decides what it computes on. ");
|
|
585
|
+
i0.ɵɵelementEnd();
|
|
586
|
+
i0.ɵɵelementStart(10, "div", 1);
|
|
587
|
+
i0.ɵɵconditionalCreate(11, MJOChargesTaxPageComponent_Conditional_11_Template, 1, 1, "mj-entity-viewer", 2)(12, MJOChargesTaxPageComponent_Conditional_12_Template, 2, 0, "div", 3);
|
|
588
|
+
i0.ɵɵelementEnd();
|
|
589
|
+
i0.ɵɵelementStart(13, "div", 4)(14, "div", 5)(15, "div", 6);
|
|
590
|
+
i0.ɵɵelement(16, "i", 7);
|
|
591
|
+
i0.ɵɵelementStart(17, "h3");
|
|
592
|
+
i0.ɵɵtext(18, "Jurisdiction layers");
|
|
593
|
+
i0.ɵɵelementEnd();
|
|
594
|
+
i0.ɵɵelementStart(19, "span", 8);
|
|
595
|
+
i0.ɵɵtext(20);
|
|
596
|
+
i0.ɵɵelementEnd()();
|
|
597
|
+
i0.ɵɵelementStart(21, "div", 9)(22, "table", 10)(23, "thead")(24, "tr")(25, "th");
|
|
598
|
+
i0.ɵɵtext(26, "Jurisdiction");
|
|
599
|
+
i0.ɵɵelementEnd();
|
|
600
|
+
i0.ɵɵelementStart(27, "th");
|
|
601
|
+
i0.ɵɵtext(28, "Where");
|
|
602
|
+
i0.ɵɵelementEnd();
|
|
603
|
+
i0.ɵɵelementStart(29, "th");
|
|
604
|
+
i0.ɵɵtext(30, "Category");
|
|
605
|
+
i0.ɵɵelementEnd();
|
|
606
|
+
i0.ɵɵelementStart(31, "th", 11);
|
|
607
|
+
i0.ɵɵtext(32, "Rate");
|
|
608
|
+
i0.ɵɵelementEnd()()();
|
|
609
|
+
i0.ɵɵelementStart(33, "tbody");
|
|
610
|
+
i0.ɵɵrepeaterCreate(34, MJOChargesTaxPageComponent_For_35_Template, 10, 5, "tr", null, _forTrack1, false, MJOChargesTaxPageComponent_ForEmpty_36_Template, 3, 0, "tr");
|
|
611
|
+
i0.ɵɵelementEnd()()();
|
|
612
|
+
i0.ɵɵelementStart(37, "div", 12);
|
|
613
|
+
i0.ɵɵtext(38, " State, county and city are three ROWS, not one blended rate. Layering them separately is what lets a return be filed per authority \u2014 a single 8.25% cannot be split back apart afterwards. ");
|
|
614
|
+
i0.ɵɵelementEnd()();
|
|
615
|
+
i0.ɵɵelementStart(39, "div", 5)(40, "div", 6);
|
|
616
|
+
i0.ɵɵelement(41, "i", 13);
|
|
617
|
+
i0.ɵɵelementStart(42, "h3");
|
|
618
|
+
i0.ɵɵtext(43, "Nexus \u2014 where we must collect");
|
|
619
|
+
i0.ɵɵelementEnd()();
|
|
620
|
+
i0.ɵɵelementStart(44, "div", 9)(45, "table", 10)(46, "thead")(47, "tr")(48, "th");
|
|
621
|
+
i0.ɵɵtext(49, "Company");
|
|
622
|
+
i0.ɵɵelementEnd();
|
|
623
|
+
i0.ɵɵelementStart(50, "th");
|
|
624
|
+
i0.ɵɵtext(51, "Jurisdiction");
|
|
625
|
+
i0.ɵɵelementEnd();
|
|
626
|
+
i0.ɵɵelementStart(52, "th");
|
|
627
|
+
i0.ɵɵtext(53, "Type");
|
|
628
|
+
i0.ɵɵelementEnd();
|
|
629
|
+
i0.ɵɵelementStart(54, "th");
|
|
630
|
+
i0.ɵɵtext(55, "Status");
|
|
631
|
+
i0.ɵɵelementEnd()()();
|
|
632
|
+
i0.ɵɵelementStart(56, "tbody");
|
|
633
|
+
i0.ɵɵrepeaterCreate(57, MJOChargesTaxPageComponent_For_58_Template, 10, 6, "tr", null, _forTrack0, false, MJOChargesTaxPageComponent_ForEmpty_59_Template, 3, 0, "tr");
|
|
634
|
+
i0.ɵɵelementEnd()()();
|
|
635
|
+
i0.ɵɵelementStart(60, "div", 12);
|
|
636
|
+
i0.ɵɵtext(61, " A rate without a registration is a rate we must ");
|
|
637
|
+
i0.ɵɵelementStart(62, "b");
|
|
638
|
+
i0.ɵɵtext(63, "not");
|
|
639
|
+
i0.ɵɵelementEnd();
|
|
640
|
+
i0.ɵɵtext(64, " charge. Nexus decides whether tax applies at all; the rate only decides how much. ");
|
|
641
|
+
i0.ɵɵelementEnd()()();
|
|
642
|
+
i0.ɵɵelementStart(65, "div", 14)(66, "div", 6);
|
|
643
|
+
i0.ɵɵelement(67, "i", 15);
|
|
644
|
+
i0.ɵɵelementStart(68, "h3");
|
|
645
|
+
i0.ɵɵtext(69, "Customer exemptions");
|
|
646
|
+
i0.ɵɵelementEnd();
|
|
647
|
+
i0.ɵɵelementStart(70, "span", 8);
|
|
648
|
+
i0.ɵɵtext(71);
|
|
649
|
+
i0.ɵɵelementEnd()();
|
|
650
|
+
i0.ɵɵelementStart(72, "div", 9)(73, "table", 10)(74, "thead")(75, "tr")(76, "th");
|
|
651
|
+
i0.ɵɵtext(77, "Customer");
|
|
652
|
+
i0.ɵɵelementEnd();
|
|
653
|
+
i0.ɵɵelementStart(78, "th");
|
|
654
|
+
i0.ɵɵtext(79, "Jurisdiction");
|
|
655
|
+
i0.ɵɵelementEnd();
|
|
656
|
+
i0.ɵɵelementStart(80, "th");
|
|
657
|
+
i0.ɵɵtext(81, "Category");
|
|
658
|
+
i0.ɵɵelementEnd();
|
|
659
|
+
i0.ɵɵelementStart(82, "th");
|
|
660
|
+
i0.ɵɵtext(83, "Certificate");
|
|
661
|
+
i0.ɵɵelementEnd();
|
|
662
|
+
i0.ɵɵelementStart(84, "th");
|
|
663
|
+
i0.ɵɵtext(85, "Expires");
|
|
664
|
+
i0.ɵɵelementEnd();
|
|
665
|
+
i0.ɵɵelementStart(86, "th");
|
|
666
|
+
i0.ɵɵtext(87, "Status");
|
|
667
|
+
i0.ɵɵelementEnd()()();
|
|
668
|
+
i0.ɵɵelementStart(88, "tbody");
|
|
669
|
+
i0.ɵɵrepeaterCreate(89, MJOChargesTaxPageComponent_For_90_Template, 14, 8, "tr", null, _forTrack0, false, MJOChargesTaxPageComponent_ForEmpty_91_Template, 3, 0, "tr");
|
|
670
|
+
i0.ɵɵelementEnd()()();
|
|
671
|
+
i0.ɵɵelementStart(92, "div", 12);
|
|
672
|
+
i0.ɵɵtext(93, " An exemption is scoped: a certificate can cover one jurisdiction, one category, or everything. An EXPIRED certificate stops exempting on its own date \u2014 nobody has to remember to switch it off, which is the only way this stays correct. ");
|
|
673
|
+
i0.ɵɵelementEnd()();
|
|
674
|
+
i0.ɵɵelementStart(94, "div", 16)(95, "mj-alert", 17)(96, "strong");
|
|
675
|
+
i0.ɵɵtext(97, "Taxability inherits down one chain.");
|
|
676
|
+
i0.ɵɵelementEnd();
|
|
677
|
+
i0.ɵɵtext(98, " A product's tax category comes from its type unless the product overrides it, and the order line takes whatever the product resolved to. One chain, one override point \u2014 so \"why was this taxed?\" has a single answer rather than a search. ");
|
|
678
|
+
i0.ɵɵelementEnd();
|
|
679
|
+
i0.ɵɵelementStart(99, "mj-alert", 18)(100, "strong");
|
|
680
|
+
i0.ɵɵtext(101, "Computed, but overridable.");
|
|
681
|
+
i0.ɵɵelementEnd();
|
|
682
|
+
i0.ɵɵtext(102, " A charge computes from its basis, and a person may replace the amount \u2014 with a reason, which the database itself requires. An override without a reason is a number nobody can explain a year later. ");
|
|
683
|
+
i0.ɵɵelementEnd()();
|
|
684
|
+
i0.ɵɵelementStart(103, "mj-alert", 19)(104, "strong");
|
|
685
|
+
i0.ɵɵtext(105, "Both must hold.");
|
|
686
|
+
i0.ɵɵelementEnd();
|
|
687
|
+
i0.ɵɵtext(106, " Tax is charged only where there is nexus AND the customer is not exempt for that jurisdiction and category. Either one alone is not enough, and treating them as interchangeable is how a business ends up collecting tax it must refund. ");
|
|
688
|
+
i0.ɵɵelementEnd();
|
|
689
|
+
} if (rf & 2) {
|
|
690
|
+
i0.ɵɵadvance(11);
|
|
691
|
+
i0.ɵɵconditional(ctx.ChargeTypeEntityInfo ? 11 : 12);
|
|
692
|
+
i0.ɵɵadvance(9);
|
|
693
|
+
i0.ɵɵtextInterpolate1("", ctx.Jurisdictions.length, " active");
|
|
694
|
+
i0.ɵɵadvance(14);
|
|
695
|
+
i0.ɵɵrepeater(ctx.JurisdictionRates);
|
|
696
|
+
i0.ɵɵadvance(23);
|
|
697
|
+
i0.ɵɵrepeater(ctx.Nexus);
|
|
698
|
+
i0.ɵɵadvance(14);
|
|
699
|
+
i0.ɵɵtextInterpolate1("", ctx.Exemptions.length, " on file");
|
|
700
|
+
i0.ɵɵadvance(18);
|
|
701
|
+
i0.ɵɵrepeater(ctx.Exemptions);
|
|
702
|
+
} }, dependencies: [CommonModule, EntityViewerModule, i1.EntityViewerComponent, MJAlertComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-cat__note[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-tax__viewer-host[_ngcontent-%COMP%] {\n height: 520px;\n min-height: 450px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n margin-bottom: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-tax__grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-tax__block[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n @media (max-width: 1000px) {\n .mjo-tax__grid[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
|
|
703
|
+
}
|
|
704
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOChargesTaxPageComponent, [{
|
|
705
|
+
type: Component,
|
|
706
|
+
args: [{ selector: 'mjo-charges-tax-page', standalone: true, imports: [CommonModule, EntityViewerModule, MJAlertComponent], template: `
|
|
707
|
+
<mj-alert Variant="info" Icon="fa-solid fa-layer-group" class="mjo-cat__note">
|
|
708
|
+
<strong>Tax is a charge.</strong>
|
|
709
|
+
State plus county plus city is three rows rather than a special case — so ordering,
|
|
710
|
+
allocation, override and GL treatment are written once. A charge's <b>sequence</b> decides
|
|
711
|
+
when it computes and its <b>basis</b> decides what it computes on.
|
|
712
|
+
</mj-alert>
|
|
713
|
+
|
|
714
|
+
<div class="mjo-tax__viewer-host">
|
|
715
|
+
@if (ChargeTypeEntityInfo) {
|
|
716
|
+
<mj-entity-viewer
|
|
717
|
+
[Entity]="ChargeTypeEntityInfo">
|
|
718
|
+
</mj-entity-viewer>
|
|
719
|
+
} @else {
|
|
720
|
+
<div class="small muted" style="padding: 24px;">Loading charge types...</div>
|
|
721
|
+
}
|
|
722
|
+
</div>
|
|
723
|
+
|
|
724
|
+
<div class="mjo-tax__grid">
|
|
725
|
+
<div class="mj-card">
|
|
726
|
+
<div class="mj-card-head">
|
|
727
|
+
<i class="fa-solid fa-percent" aria-hidden="true"></i>
|
|
728
|
+
<h3>Jurisdiction layers</h3>
|
|
729
|
+
<span class="right small muted">{{ Jurisdictions.length }} active</span>
|
|
730
|
+
</div>
|
|
731
|
+
<div class="mj-table-wrap">
|
|
732
|
+
<table class="mj-table mj-table--compact">
|
|
733
|
+
<thead>
|
|
734
|
+
<tr>
|
|
735
|
+
<th>Jurisdiction</th>
|
|
736
|
+
<th>Where</th>
|
|
737
|
+
<th>Category</th>
|
|
738
|
+
<th class="num">Rate</th>
|
|
739
|
+
</tr>
|
|
740
|
+
</thead>
|
|
741
|
+
<tbody>
|
|
742
|
+
@for (row of JurisdictionRates; track row.Key) {
|
|
743
|
+
<tr>
|
|
744
|
+
<td>
|
|
745
|
+
{{ row.Name }}
|
|
746
|
+
@if (row.Parent) {
|
|
747
|
+
<div class="secondary">within {{ row.Parent }}</div>
|
|
748
|
+
}
|
|
749
|
+
</td>
|
|
750
|
+
<td class="small">{{ row.Where }}</td>
|
|
751
|
+
<td class="small">{{ row.Category }}</td>
|
|
752
|
+
<td class="num">{{ row.Rate }}</td>
|
|
753
|
+
</tr>
|
|
754
|
+
} @empty {
|
|
755
|
+
<tr><td colspan="4" class="small muted">No jurisdictions configured.</td></tr>
|
|
756
|
+
}
|
|
757
|
+
</tbody>
|
|
758
|
+
</table>
|
|
759
|
+
</div>
|
|
760
|
+
<div class="mj-card-pad small muted">
|
|
761
|
+
State, county and city are three ROWS, not one blended rate. Layering them
|
|
762
|
+
separately is what lets a return be filed per authority — a single 8.25% cannot
|
|
763
|
+
be split back apart afterwards.
|
|
764
|
+
</div>
|
|
765
|
+
</div>
|
|
766
|
+
|
|
767
|
+
<div class="mj-card">
|
|
768
|
+
<div class="mj-card-head">
|
|
769
|
+
<i class="fa-solid fa-building-columns" aria-hidden="true"></i>
|
|
770
|
+
<h3>Nexus — where we must collect</h3>
|
|
771
|
+
</div>
|
|
772
|
+
<div class="mj-table-wrap">
|
|
773
|
+
<table class="mj-table mj-table--compact">
|
|
774
|
+
<thead>
|
|
775
|
+
<tr>
|
|
776
|
+
<th>Company</th>
|
|
777
|
+
<th>Jurisdiction</th>
|
|
778
|
+
<th>Type</th>
|
|
779
|
+
<th>Status</th>
|
|
780
|
+
</tr>
|
|
781
|
+
</thead>
|
|
782
|
+
<tbody>
|
|
783
|
+
@for (row of Nexus; track row['ID']) {
|
|
784
|
+
<tr>
|
|
785
|
+
<td class="small">{{ row['Company'] ?? '—' }}</td>
|
|
786
|
+
<td class="small">{{ row['TaxJurisdiction'] ?? '—' }}</td>
|
|
787
|
+
<td class="small">{{ row['NexusType'] ?? '—' }}</td>
|
|
788
|
+
<td>
|
|
789
|
+
<span class="mj-chip" [class]="nexusClass(row)">
|
|
790
|
+
{{ row['Status'] ?? '—' }}
|
|
791
|
+
</span>
|
|
792
|
+
</td>
|
|
793
|
+
</tr>
|
|
794
|
+
} @empty {
|
|
795
|
+
<tr><td colspan="4" class="small muted">No registrations.</td></tr>
|
|
796
|
+
}
|
|
797
|
+
</tbody>
|
|
798
|
+
</table>
|
|
799
|
+
</div>
|
|
800
|
+
<div class="mj-card-pad small muted">
|
|
801
|
+
A rate without a registration is a rate we must <b>not</b> charge. Nexus decides
|
|
802
|
+
whether tax applies at all; the rate only decides how much.
|
|
803
|
+
</div>
|
|
804
|
+
</div>
|
|
805
|
+
</div>
|
|
806
|
+
|
|
807
|
+
<div class="mj-card mjo-tax__block">
|
|
808
|
+
<div class="mj-card-head">
|
|
809
|
+
<i class="fa-solid fa-file-shield" aria-hidden="true"></i>
|
|
810
|
+
<h3>Customer exemptions</h3>
|
|
811
|
+
<span class="right small muted">{{ Exemptions.length }} on file</span>
|
|
812
|
+
</div>
|
|
813
|
+
<div class="mj-table-wrap">
|
|
814
|
+
<table class="mj-table mj-table--compact">
|
|
815
|
+
<thead>
|
|
816
|
+
<tr>
|
|
817
|
+
<th>Customer</th>
|
|
818
|
+
<th>Jurisdiction</th>
|
|
819
|
+
<th>Category</th>
|
|
820
|
+
<th>Certificate</th>
|
|
821
|
+
<th>Expires</th>
|
|
822
|
+
<th>Status</th>
|
|
823
|
+
</tr>
|
|
824
|
+
</thead>
|
|
825
|
+
<tbody>
|
|
826
|
+
@for (row of Exemptions; track row['ID']) {
|
|
827
|
+
<tr>
|
|
828
|
+
<td class="small">{{ row['Organization'] ?? row['Person'] ?? '—' }}</td>
|
|
829
|
+
<td class="small">{{ jurisdictionOf(row) }}</td>
|
|
830
|
+
<td class="small">{{ row['TaxCategory'] ?? 'all' }}</td>
|
|
831
|
+
<td class="small mono">{{ row['CertificateRef'] ?? '—' }}</td>
|
|
832
|
+
<td class="small">{{ dateOf(row['CertificateExpiresAt']) }}</td>
|
|
833
|
+
<td>
|
|
834
|
+
<span class="mj-chip" [class]="exemptionClass(row)">
|
|
835
|
+
{{ row['Status'] ?? '—' }}
|
|
836
|
+
</span>
|
|
837
|
+
</td>
|
|
838
|
+
</tr>
|
|
839
|
+
} @empty {
|
|
840
|
+
<tr><td colspan="6" class="small muted">No exemption certificates.</td></tr>
|
|
841
|
+
}
|
|
842
|
+
</tbody>
|
|
843
|
+
</table>
|
|
844
|
+
</div>
|
|
845
|
+
<div class="mj-card-pad small muted">
|
|
846
|
+
An exemption is scoped: a certificate can cover one jurisdiction, one category, or
|
|
847
|
+
everything. An EXPIRED certificate stops exempting on its own date — nobody has to
|
|
848
|
+
remember to switch it off, which is the only way this stays correct.
|
|
849
|
+
</div>
|
|
850
|
+
</div>
|
|
851
|
+
|
|
852
|
+
<div class="mjo-tax__grid mjo-tax__block">
|
|
853
|
+
<mj-alert Variant="info" Icon="fa-solid fa-sitemap">
|
|
854
|
+
<strong>Taxability inherits down one chain.</strong>
|
|
855
|
+
A product's tax category comes from its type unless the product overrides it, and
|
|
856
|
+
the order line takes whatever the product resolved to. One chain, one override
|
|
857
|
+
point — so "why was this taxed?" has a single answer rather than a search.
|
|
858
|
+
</mj-alert>
|
|
859
|
+
|
|
860
|
+
<mj-alert Variant="info" Icon="fa-solid fa-pen">
|
|
861
|
+
<strong>Computed, but overridable.</strong>
|
|
862
|
+
A charge computes from its basis, and a person may replace the amount — with a
|
|
863
|
+
reason, which the database itself requires. An override without a reason is a
|
|
864
|
+
number nobody can explain a year later.
|
|
865
|
+
</mj-alert>
|
|
866
|
+
</div>
|
|
867
|
+
|
|
868
|
+
<mj-alert Variant="info" Icon="fa-solid fa-check-double" class="mjo-tax__block">
|
|
869
|
+
<strong>Both must hold.</strong>
|
|
870
|
+
Tax is charged only where there is nexus AND the customer is not exempt for that
|
|
871
|
+
jurisdiction and category. Either one alone is not enough, and treating them as
|
|
872
|
+
interchangeable is how a business ends up collecting tax it must refund.
|
|
873
|
+
</mj-alert>
|
|
874
|
+
`, styles: ["\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-cat__note { margin-bottom: var(--mj-space-4); }\n .mjo-tax__viewer-host {\n height: 520px;\n min-height: 450px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n margin-bottom: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-tax__grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-tax__block { margin-top: var(--mj-space-4); }\n @media (max-width: 1000px) {\n .mjo-tax__grid { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
|
|
875
|
+
}], null, null); })();
|
|
876
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOChargesTaxPageComponent, { className: "MJOChargesTaxPageComponent", filePath: "lib/pages/catalog/products.page.ts", lineNumber: 452 }); })();
|
|
877
|
+
//# sourceMappingURL=products.page.js.map
|