@mj-biz-apps/orders-ng 5.42.0 → 5.44.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/dist/lib/custom/EventOrderLine/event-order-line-form.component.js +6 -5
- package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +4 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.js +330 -297
- package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +6 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +130 -46
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
- package/dist/lib/custom/PaymentHeader/change-payment-date.component.d.ts +30 -0
- package/dist/lib/custom/PaymentHeader/change-payment-date.component.d.ts.map +1 -0
- package/dist/lib/custom/PaymentHeader/change-payment-date.component.js +156 -0
- package/dist/lib/custom/PaymentHeader/change-payment-date.component.js.map +1 -0
- package/dist/lib/custom/PaymentHeader/order-payment-dates.component.d.ts +26 -0
- package/dist/lib/custom/PaymentHeader/order-payment-dates.component.d.ts.map +1 -0
- package/dist/lib/custom/PaymentHeader/order-payment-dates.component.js +149 -0
- package/dist/lib/custom/PaymentHeader/order-payment-dates.component.js.map +1 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts +2 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts.map +1 -1
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js +398 -378
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js.map +1 -1
- package/dist/lib/custom/Product/product-save-guard-form.component.js +74 -72
- package/dist/lib/custom/Product/product-save-guard-form.component.js.map +1 -1
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js +16 -9
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js.map +1 -1
- package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.d.ts +54 -0
- package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.js +254 -0
- package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-gl-links.component.d.ts +7 -4
- package/dist/lib/custom/Product/widgets/product-gl-links.component.d.ts.map +1 -1
- package/dist/lib/custom/Product/widgets/product-gl-links.component.js +14 -5
- package/dist/lib/custom/Product/widgets/product-gl-links.component.js.map +1 -1
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +7 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -1
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +54 -32
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +23 -20
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +17 -1
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/data/orders-queries.d.ts +35 -3
- package/dist/lib/data/orders-queries.d.ts.map +1 -1
- package/dist/lib/data/orders-queries.js +56 -5
- package/dist/lib/data/orders-queries.js.map +1 -1
- package/dist/lib/form-panels/catalog-overviews.panels.js +8 -8
- package/dist/lib/form-panels/catalog-overviews.panels.js.map +1 -1
- package/dist/lib/form-panels/commercial-overviews.panels.js +5 -5
- package/dist/lib/form-panels/document-forms.module.d.ts +20 -19
- package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -1
- package/dist/lib/form-panels/document-forms.module.js +8 -1
- package/dist/lib/form-panels/document-forms.module.js.map +1 -1
- package/dist/lib/form-panels/document-hero.component.js +2 -2
- package/dist/lib/form-panels/document-overviews.panels.js +7 -7
- package/dist/lib/form-panels/lookup-headers.panels.js +10 -10
- package/dist/lib/form-panels/order-access-overrides.panel.js +2 -2
- package/dist/lib/form-panels/overview-cards.component.js +2 -2
- package/dist/lib/form-panels/payment-header.panel.js +2 -2
- package/dist/lib/form-panels/price-list-header.panel.js +2 -2
- package/dist/lib/form-panels/product-header.panel.d.ts +37 -10
- package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/product-header.panel.js +253 -59
- package/dist/lib/form-panels/product-header.panel.js.map +1 -1
- package/dist/lib/form-panels/product-readiness.d.ts +34 -0
- package/dist/lib/form-panels/product-readiness.d.ts.map +1 -0
- package/dist/lib/form-panels/product-readiness.js +34 -0
- package/dist/lib/form-panels/product-readiness.js.map +1 -0
- package/dist/lib/form-panels/product-rev-rec-field.component.d.ts +29 -0
- package/dist/lib/form-panels/product-rev-rec-field.component.d.ts.map +1 -0
- package/dist/lib/form-panels/product-rev-rec-field.component.js +115 -0
- package/dist/lib/form-panels/product-rev-rec-field.component.js.map +1 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts +12 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -1
- package/dist/lib/form-panels/product-widget.panels.js +165 -75
- package/dist/lib/form-panels/product-widget.panels.js.map +1 -1
- package/dist/lib/form-panels/promotion-header.panel.js +2 -2
- package/dist/lib/form-panels/subscription-header.panel.js +2 -2
- package/dist/lib/form-panels/subscription-revrec.panel.js +2 -2
- package/dist/lib/form-panels/subscription-term-header.panel.js +2 -2
- package/dist/lib/form-panels/subscription-term-revrec.panel.js +2 -2
- package/dist/lib/form-panels/subscription-terms.panel.js +2 -2
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +8 -6
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +107 -105
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +74 -72
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js +2 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
- package/dist/lib/pages/receivables/progress.page.d.ts +10 -7
- package/dist/lib/pages/receivables/progress.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/progress.page.js +20 -25
- package/dist/lib/pages/receivables/progress.page.js.map +1 -1
- package/dist/lib/panels/product-lookup-names.d.ts +29 -0
- package/dist/lib/panels/product-lookup-names.d.ts.map +1 -1
- package/dist/lib/panels/product-lookup-names.js +58 -2
- package/dist/lib/panels/product-lookup-names.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./product-gl-links.component.js";
|
|
4
|
+
import * as i2 from "./product-effective-gl-accounts.component.js";
|
|
4
5
|
const _c0 = ["*"];
|
|
5
6
|
/**
|
|
6
7
|
* Droppable Product Tax, Charges & Accounting GL Widget.
|
|
@@ -11,27 +12,33 @@ export class BizAppsProductAccountingWidgetComponent {
|
|
|
11
12
|
FormContext;
|
|
12
13
|
Navigate = new EventEmitter();
|
|
13
14
|
static ɵfac = function BizAppsProductAccountingWidgetComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BizAppsProductAccountingWidgetComponent)(); };
|
|
14
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductAccountingWidgetComponent, selectors: [["bizapps-product-accounting-widget"]], inputs: { Product: "Product", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate" }, standalone: false, ngContentSelectors: _c0, decls:
|
|
15
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductAccountingWidgetComponent, selectors: [["bizapps-product-accounting-widget"]], inputs: { Product: "Product", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate" }, standalone: false, ngContentSelectors: _c0, decls: 15, vars: 4, consts: [["effective", ""], [1, "mjo-acct-widget-wrap"], [1, "mjo-acct-card"], [1, "mjo-card-head"], [1, "fa-solid", "fa-scale-balanced"], [1, "mjo-card-body", "mjo-acct-fields"], [1, "mjo-card-body"], [3, "Navigate", "LinksChanged", "Product", "EditMode", "FormContext"], [3, "Product"]], template: function BizAppsProductAccountingWidgetComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
15
17
|
i0.ɵɵprojectionDef();
|
|
16
|
-
i0.ɵɵelementStart(0, "div",
|
|
17
|
-
i0.ɵɵelement(3, "i",
|
|
18
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3);
|
|
19
|
+
i0.ɵɵelement(3, "i", 4);
|
|
18
20
|
i0.ɵɵelementStart(4, "span");
|
|
19
21
|
i0.ɵɵtext(5, "General Ledger & Revenue Recognition Classification");
|
|
20
22
|
i0.ɵɵelementEnd()();
|
|
21
|
-
i0.ɵɵelementStart(6, "div",
|
|
23
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
22
24
|
i0.ɵɵprojection(7);
|
|
23
25
|
i0.ɵɵelementEnd()();
|
|
24
|
-
i0.ɵɵelementStart(8, "div",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function BizAppsProductAccountingWidgetComponent_Template_bizapps_product_gl_links_Navigate_10_listener($event) { return ctx.Navigate.emit($event); });
|
|
26
|
-
i0.ɵɵelementEnd()()()
|
|
26
|
+
i0.ɵɵelementStart(8, "div", 2)(9, "div", 6)(10, "bizapps-product-gl-links", 7);
|
|
27
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductAccountingWidgetComponent_Template_bizapps_product_gl_links_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.Navigate.emit($event)); })("LinksChanged", function BizAppsProductAccountingWidgetComponent_Template_bizapps_product_gl_links_LinksChanged_10_listener() { i0.ɵɵrestoreView(_r1); const effective_r2 = i0.ɵɵreference(14); return i0.ɵɵresetView(effective_r2.Refresh()); });
|
|
28
|
+
i0.ɵɵelementEnd()()();
|
|
29
|
+
i0.ɵɵelementStart(11, "div", 2)(12, "div", 6);
|
|
30
|
+
i0.ɵɵelement(13, "bizapps-product-effective-gl-accounts", 8, 0);
|
|
31
|
+
i0.ɵɵelementEnd()()();
|
|
27
32
|
} if (rf & 2) {
|
|
28
33
|
i0.ɵɵadvance(10);
|
|
29
34
|
i0.ɵɵproperty("Product", ctx.Product)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
|
|
30
|
-
|
|
35
|
+
i0.ɵɵadvance(3);
|
|
36
|
+
i0.ɵɵproperty("Product", ctx.Product);
|
|
37
|
+
} }, dependencies: [i1.BizAppsProductGLLinksComponent, i2.BizAppsProductEffectiveGLAccountsComponent], styles: [".mjo-acct-widget-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n width: 100%;\n}\n\n.mjo-acct-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card, rgba(255, 255, 255, 0.05));\n border: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.12));\n border-radius: var(--mj-radius-lg, 10px);\n overflow: hidden;\n}\n\n.mjo-card-head[_ngcontent-%COMP%] {\n padding: 12px 16px;\n background: var(--mj-bg-surface-sunken, rgba(0, 0, 0, 0.1));\n border-bottom: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.1));\n font-size: 13.5px;\n font-weight: 700;\n color: var(--mj-text-primary, #0f172a);\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.mjo-card-head[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary, #0284c7);\n}\n\n.mjo-card-body[_ngcontent-%COMP%] {\n padding: 16px;\n display: grid;\n \n\n\n grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));\n gap: 16px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n[_nghost-%COMP%] .mjo-acct-fields > mj-form-field {\n display: block;\n min-width: 0;\n}"] });
|
|
31
38
|
}
|
|
32
39
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsProductAccountingWidgetComponent, [{
|
|
33
40
|
type: Component,
|
|
34
|
-
args: [{ standalone: false, selector: 'bizapps-product-accounting-widget', template: "<!--\n CARD SHELL \u2014 the product's own fields are PROJECTED by the caller.\n Same reason as the fulfillment and subscription widgets: mj-collapsible-panel reads its\n fields through @ContentChildren, which cannot see a field declared inside a child\n component's view. That query drives hide-when-empty (golive#184) and the rail badge\n (golive#255), so the fields are declared in the panel template and projected in here.\n\n StandaloneSellingPrice is deliberately deprecated off generated forms by\n metadata/entities/.product-standalone-selling-price-deprecation.json and is NOT rendered.\n-->\n<div class=\"mjo-acct-widget-wrap\">\n <div class=\"mjo-acct-card\">\n <div class=\"mjo-card-head\">\n <i class=\"fa-solid fa-scale-balanced\"></i>\n <span>General Ledger & Revenue Recognition Classification</span>\n </div>\n <div class=\"mjo-card-body mjo-acct-fields\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <!--\n bizapps-orders#113 \u2014 the GL accounts this product books to.\n\n Users expect these HERE, under Accounting, and the section showed only the\n product's own columns. The links live in accounting, but they are polymorphic\n ((EntityID, RecordID)) and accounting must not depend on orders, so its own screen\n cannot even name a product. Rendering them from this side is what makes the pair\n something nobody has to type.\n -->\n <div class=\"mjo-acct-card\">\n <div class=\"mjo-card-body\">\n <bizapps-product-gl-links\n [Product]=\"Product\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"FormContext\"\n (Navigate)=\"Navigate.emit($event)\">\n </bizapps-product-gl-links>\n </div>\n </div>\n</div>\n", styles: [".mjo-acct-widget-wrap {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n width: 100%;\n}\n\n.mjo-acct-card {\n background: var(--mj-bg-surface-card, rgba(255, 255, 255, 0.05));\n border: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.12));\n border-radius: var(--mj-radius-lg, 10px);\n overflow: hidden;\n}\n\n.mjo-card-head {\n padding: 12px 16px;\n background: var(--mj-bg-surface-sunken, rgba(0, 0, 0, 0.1));\n border-bottom: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.1));\n font-size: 13.5px;\n font-weight: 700;\n color: var(--mj-text-primary, #0f172a);\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.mjo-card-head i {\n color: var(--mj-brand-primary, #0284c7);\n}\n\n.mjo-card-body {\n padding: 16px;\n display: grid;\n /* 380px, not 260px: MJ's own `.mj-forms-field` is a `200px 1fr` label/value grid, so a\n narrower cell leaves the value ~79px and wraps it mid-word. See the note below. */\n grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));\n gap: 16px;\n}\n\n/*\n * golive #211 walkthrough (Pin 21): MJ's `mj-form-field` host computes to `display: contents`, so\n * the component is not the grid item \u2014 its label and its control are, and the grid above put them\n * in SEPARATE 260px cells. That is why the \"Revenue Recognition Type Name\" label sat on top of the\n * picker's search-mode chip and the dropdown clipped every option. Making the host a real block\n * puts each field back in one cell; `min-width: 0` lets that cell shrink instead of overflowing.\n * The cell then has to be wide enough for MJ's internal `200px 1fr` label/value grid, which is why\n * the columns above widened to 380px at the same time.\n */\n/*\n * `::ng-deep` because the fields are projected from the panel template (see the .html), so\n * they carry the panel's encapsulation attribute, not this widget's \u2014 a scoped\n * `.mjo-card-body > mj-form-field` stops matching them. `.mjo-acct-fields` keeps the rule off\n * the GL-links card body below.\n */\n:host ::ng-deep .mjo-acct-fields > mj-form-field {\n display: block;\n min-width: 0;\n}\n"] }]
|
|
41
|
+
args: [{ standalone: false, selector: 'bizapps-product-accounting-widget', template: "<!--\n CARD SHELL \u2014 the product's own fields are PROJECTED by the caller.\n Same reason as the fulfillment and subscription widgets: mj-collapsible-panel reads its\n fields through @ContentChildren, which cannot see a field declared inside a child\n component's view. That query drives hide-when-empty (golive#184) and the rail badge\n (golive#255), so the fields are declared in the panel template and projected in here.\n\n StandaloneSellingPrice is deliberately deprecated off generated forms by\n metadata/entities/.product-standalone-selling-price-deprecation.json and is NOT rendered.\n-->\n<div class=\"mjo-acct-widget-wrap\">\n <div class=\"mjo-acct-card\">\n <div class=\"mjo-card-head\">\n <i class=\"fa-solid fa-scale-balanced\"></i>\n <span>General Ledger & Revenue Recognition Classification</span>\n </div>\n <div class=\"mjo-card-body mjo-acct-fields\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <!--\n bizapps-orders#113 \u2014 the GL accounts this product books to.\n\n Users expect these HERE, under Accounting, and the section showed only the\n product's own columns. The links live in accounting, but they are polymorphic\n ((EntityID, RecordID)) and accounting must not depend on orders, so its own screen\n cannot even name a product. Rendering them from this side is what makes the pair\n something nobody has to type.\n -->\n <div class=\"mjo-acct-card\">\n <div class=\"mjo-card-body\">\n <bizapps-product-gl-links\n [Product]=\"Product\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"FormContext\"\n (Navigate)=\"Navigate.emit($event)\"\n (LinksChanged)=\"effective.Refresh()\">\n </bizapps-product-gl-links>\n </div>\n </div>\n\n <!--\n golive#439 \u2014 which account each role ACTUALLY books to, and from where: the product, its\n category and parents, its product type, or the company default. The panel above lists only the\n product's own links; this one asks the server's walk, so it shows what confirm will use.\n -->\n <div class=\"mjo-acct-card\">\n <div class=\"mjo-card-body\">\n <bizapps-product-effective-gl-accounts #effective [Product]=\"Product\">\n </bizapps-product-effective-gl-accounts>\n </div>\n </div>\n</div>\n", styles: [".mjo-acct-widget-wrap {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n width: 100%;\n}\n\n.mjo-acct-card {\n background: var(--mj-bg-surface-card, rgba(255, 255, 255, 0.05));\n border: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.12));\n border-radius: var(--mj-radius-lg, 10px);\n overflow: hidden;\n}\n\n.mjo-card-head {\n padding: 12px 16px;\n background: var(--mj-bg-surface-sunken, rgba(0, 0, 0, 0.1));\n border-bottom: 1px solid var(--mj-border-default, rgba(255, 255, 255, 0.1));\n font-size: 13.5px;\n font-weight: 700;\n color: var(--mj-text-primary, #0f172a);\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.mjo-card-head i {\n color: var(--mj-brand-primary, #0284c7);\n}\n\n.mjo-card-body {\n padding: 16px;\n display: grid;\n /* 380px, not 260px: MJ's own `.mj-forms-field` is a `200px 1fr` label/value grid, so a\n narrower cell leaves the value ~79px and wraps it mid-word. See the note below. */\n grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));\n gap: 16px;\n}\n\n/*\n * golive #211 walkthrough (Pin 21): MJ's `mj-form-field` host computes to `display: contents`, so\n * the component is not the grid item \u2014 its label and its control are, and the grid above put them\n * in SEPARATE 260px cells. That is why the \"Revenue Recognition Type Name\" label sat on top of the\n * picker's search-mode chip and the dropdown clipped every option. Making the host a real block\n * puts each field back in one cell; `min-width: 0` lets that cell shrink instead of overflowing.\n * The cell then has to be wide enough for MJ's internal `200px 1fr` label/value grid, which is why\n * the columns above widened to 380px at the same time.\n */\n/*\n * `::ng-deep` because the fields are projected from the panel template (see the .html), so\n * they carry the panel's encapsulation attribute, not this widget's \u2014 a scoped\n * `.mjo-card-body > mj-form-field` stops matching them. `.mjo-acct-fields` keeps the rule off\n * the GL-links card body below.\n */\n:host ::ng-deep .mjo-acct-fields > mj-form-field {\n display: block;\n min-width: 0;\n}\n"] }]
|
|
35
42
|
}], null, { Product: [{
|
|
36
43
|
type: Input
|
|
37
44
|
}], EditMode: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-accounting-widget.component.js","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-accounting-widget.component.ts","../../../../../src/lib/custom/Product/widgets/product-accounting-widget.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"product-accounting-widget.component.js","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-accounting-widget.component.ts","../../../../../src/lib/custom/Product/widgets/product-accounting-widget.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;;AAIvE;;GAEG;AAOH,MAAM,OAAO,uCAAuC;IAChC,OAAO,CAAgC;IACvC,QAAQ,GAAG,KAAK,CAAC;IACjB,WAAW,CAAe;IAEzB,QAAQ,GAAG,IAAI,YAAY,EAAuB,CAAC;iIAL3D,uCAAuC;6DAAvC,uCAAuC;;;YCD5C,AADJ,AADJ,8BAAkC,aACH,aACI;YACvB,uBAA0C;YAC1C,4BAAM;YAAA,mEAAuD;YACjE,AADiE,iBAAO,EAClE;YACN,8BAA2C;YACvC,kBAAyB;YAEjC,AADI,iBAAM,EACJ;YAaE,AADJ,AADJ,8BAA2B,aACI,mCAMkB;YAArC,AADA,yLAAY,yBAAqB,KAAC,uNAClB,sBAAmB,KAAC;YAGhD,AADI,AADI,iBAA2B,EACzB,EACJ;YAQF,AADJ,+BAA2B,cACI;YACvB,+DACwC;YAGpD,AADI,AADI,iBAAM,EACJ,EACJ;;YApBU,gBAAmB;YAEnB,AADA,AADA,qCAAmB,0BACE,gCACM;YAcmB,eAAmB;YAAnB,qCAAmB;;;iFDpCpE,uCAAuC;cANnD,SAAS;6BACM,KAAK,YACP,mCAAmC;;kBAK5C,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAEL,MAAM;;kFALE,uCAAuC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { type ExplainedGLRole, type mjBizAppsOrdersProductEntity } from '@mj-biz-apps/orders-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** A company the picker offers. */
|
|
5
|
+
export interface CompanyOption {
|
|
6
|
+
ID: string;
|
|
7
|
+
Name: string;
|
|
8
|
+
}
|
|
9
|
+
/** The roles that resolve nowhere — or whose winner booking would refuse — by name, in list order. */
|
|
10
|
+
export declare function UnresolvedRoleNames(roles: readonly ExplainedGLRole[]): string[];
|
|
11
|
+
/**
|
|
12
|
+
* The GL account each role books to for this product, and where in the walk it comes from
|
|
13
|
+
* (golive#439).
|
|
14
|
+
*
|
|
15
|
+
* The direct-links panel above shows only links set on the product itself, so a product that books
|
|
16
|
+
* through its category, product type or company looked unlinked. This block asks the server, through
|
|
17
|
+
* `Orders.ExplainProductGLAccounts`, which runs the walk confirm books through; it never resolves
|
|
18
|
+
* anything itself, so it cannot disagree with booking. Each role renders with accounting's
|
|
19
|
+
* `mj-gl-resolution-preview`.
|
|
20
|
+
*
|
|
21
|
+
* The company defaults to the product's own (g439.2 A); the picker answers the same question for a
|
|
22
|
+
* product another company sells.
|
|
23
|
+
*/
|
|
24
|
+
export declare class BizAppsProductEffectiveGLAccountsComponent implements OnInit, OnDestroy {
|
|
25
|
+
private readonly cdr;
|
|
26
|
+
Product: mjBizAppsOrdersProductEntity;
|
|
27
|
+
Roles: ExplainedGLRole[];
|
|
28
|
+
Companies: CompanyOption[];
|
|
29
|
+
/** The company explained for; the product's own until the user picks another. */
|
|
30
|
+
CompanyID: string;
|
|
31
|
+
AsOf: string;
|
|
32
|
+
Loading: boolean;
|
|
33
|
+
LoadError: string | null;
|
|
34
|
+
private destroyed;
|
|
35
|
+
constructor(cdr: ChangeDetectorRef);
|
|
36
|
+
ngOnInit(): Promise<void>;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
private tick;
|
|
39
|
+
/** Roles with no account booking would use. */
|
|
40
|
+
get Unresolved(): string[];
|
|
41
|
+
/** An unsaved product has no links to walk from. */
|
|
42
|
+
get CanExplain(): boolean;
|
|
43
|
+
OnCompanyChange(companyID: string): Promise<void>;
|
|
44
|
+
/** Re-asks the server. The direct-links panel calls this after it writes a link. */
|
|
45
|
+
Refresh(): Promise<void>;
|
|
46
|
+
private loadCompanies;
|
|
47
|
+
/** Whether `id` is the product's own company, for the picker's label. */
|
|
48
|
+
IsOwnCompany(id: string): boolean;
|
|
49
|
+
/** The option value matching `CompanyID` regardless of case, so the select never renders blank. */
|
|
50
|
+
get SelectedCompany(): string;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizAppsProductEffectiveGLAccountsComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizAppsProductEffectiveGLAccountsComponent, "bizapps-product-effective-gl-accounts", never, { "Product": { "alias": "Product"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=product-effective-gl-accounts.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-effective-gl-accounts.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-effective-gl-accounts.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,EAEH,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACpC,MAAM,8BAA8B,CAAC;;AAItC,mCAAmC;AACnC,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,sGAAsG;AACtG,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,eAAe,EAAE,GAAG,MAAM,EAAE,CAE/E;AAED;;;;;;;;;;;;GAYG;AACH,qBAMa,0CAA2C,YAAW,MAAM,EAAE,SAAS;IAapE,OAAO,CAAC,QAAQ,CAAC,GAAG;IAZhB,OAAO,EAAG,4BAA4B,CAAC;IAEhD,KAAK,EAAE,eAAe,EAAE,CAAM;IAC9B,SAAS,EAAE,aAAa,EAAE,CAAM;IACvC,iFAAiF;IAC1E,SAAS,SAAM;IACf,IAAI,SAAM;IACV,OAAO,UAAS;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC,OAAO,CAAC,SAAS,CAAS;gBAEG,GAAG,EAAE,iBAAiB;IAEtC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAK/B,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,IAAI;IAIZ,+CAA+C;IAC/C,IAAW,UAAU,IAAI,MAAM,EAAE,CAEhC;IAED,oDAAoD;IACpD,IAAW,UAAU,IAAI,OAAO,CAE/B;IAEY,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9D,oFAAoF;IACvE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;YA8BvB,aAAa;IAa3B,yEAAyE;IAClE,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIxC,mGAAmG;IACnG,IAAW,eAAe,IAAI,MAAM,CAGnC;yCAhGQ,0CAA0C;2CAA1C,0CAA0C;CAiGtD"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { Metadata, RunView } from '@memberjunction/core';
|
|
3
|
+
import { OrdersExplainProductGLAccountsOperation, } from '@mj-biz-apps/orders-entities';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/forms";
|
|
6
|
+
import * as i2 from "@mj-biz-apps/accounting-ng";
|
|
7
|
+
const _forTrack0 = ($index, $item) => $item.ID;
|
|
8
|
+
const _forTrack1 = ($index, $item) => $item.Role;
|
|
9
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "option", 7);
|
|
11
|
+
i0.ɵɵtext(1);
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
15
|
+
i0.ɵɵproperty("value", ctx_r0.CompanyID);
|
|
16
|
+
i0.ɵɵadvance();
|
|
17
|
+
i0.ɵɵtextInterpolate1("", ctx_r0.Product.Company, " (product's company)");
|
|
18
|
+
} }
|
|
19
|
+
function BizAppsProductEffectiveGLAccountsComponent_For_12_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "option", 7);
|
|
21
|
+
i0.ɵɵtext(1);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const c_r2 = ctx.$implicit;
|
|
25
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
26
|
+
i0.ɵɵproperty("value", c_r2.ID);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵtextInterpolate2("", c_r2.Name, "", ctx_r0.IsOwnCompany(c_r2.ID) ? " (product's company)" : "");
|
|
29
|
+
} }
|
|
30
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵelementStart(0, "span");
|
|
32
|
+
i0.ɵɵtext(1);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
36
|
+
i0.ɵɵadvance();
|
|
37
|
+
i0.ɵɵtextInterpolate1("Links in force on ", ctx_r0.AsOf, ".");
|
|
38
|
+
} }
|
|
39
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementStart(0, "p", 11);
|
|
41
|
+
i0.ɵɵtext(1, "Save the product to see the accounts it books to.");
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
} }
|
|
44
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelementStart(0, "p", 11);
|
|
46
|
+
i0.ɵɵtext(1, "Reading the accounts\u2026");
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
} }
|
|
49
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
+
i0.ɵɵelementStart(0, "p", 12);
|
|
51
|
+
i0.ɵɵelement(1, "i", 13);
|
|
52
|
+
i0.ɵɵtext(2);
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
56
|
+
i0.ɵɵadvance(2);
|
|
57
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.LoadError, " ");
|
|
58
|
+
} }
|
|
59
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_21_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵelementStart(0, "p", 14);
|
|
61
|
+
i0.ɵɵelement(1, "i", 13);
|
|
62
|
+
i0.ɵɵtext(2);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
66
|
+
i0.ɵɵadvance(2);
|
|
67
|
+
i0.ɵɵtextInterpolate2(" ", ctx_r0.Unresolved.length === 1 ? "1 role resolves" : ctx_r0.Unresolved.length + " roles resolve", " to no account, so confirm refuses an order line for this product that books to it: ", ctx_r0.Unresolved.join(", "), ". ");
|
|
68
|
+
} }
|
|
69
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_21_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "p", 17);
|
|
71
|
+
i0.ɵɵtext(1);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
} if (rf & 2) {
|
|
74
|
+
const role_r3 = i0.ɵɵnextContext().$implicit;
|
|
75
|
+
i0.ɵɵadvance();
|
|
76
|
+
i0.ɵɵtextInterpolate(role_r3.Message);
|
|
77
|
+
} }
|
|
78
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_21_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
80
|
+
i0.ɵɵelement(1, "mj-gl-resolution-preview", 16);
|
|
81
|
+
i0.ɵɵconditionalCreate(2, BizAppsProductEffectiveGLAccountsComponent_Conditional_21_For_2_Conditional_2_Template, 2, 1, "p", 17);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
} if (rf & 2) {
|
|
84
|
+
const role_r3 = ctx.$implicit;
|
|
85
|
+
i0.ɵɵadvance();
|
|
86
|
+
i0.ɵɵproperty("Result", role_r3);
|
|
87
|
+
i0.ɵɵadvance();
|
|
88
|
+
i0.ɵɵconditional(role_r3.Message ? 2 : -1);
|
|
89
|
+
} }
|
|
90
|
+
function BizAppsProductEffectiveGLAccountsComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵconditionalCreate(0, BizAppsProductEffectiveGLAccountsComponent_Conditional_21_Conditional_0_Template, 3, 2, "p", 14);
|
|
92
|
+
i0.ɵɵrepeaterCreate(1, BizAppsProductEffectiveGLAccountsComponent_Conditional_21_For_2_Template, 3, 2, "div", 15, _forTrack1);
|
|
93
|
+
} if (rf & 2) {
|
|
94
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
95
|
+
i0.ɵɵconditional(ctx_r0.Unresolved.length ? 0 : -1);
|
|
96
|
+
i0.ɵɵadvance();
|
|
97
|
+
i0.ɵɵrepeater(ctx_r0.Roles);
|
|
98
|
+
} }
|
|
99
|
+
const COMPANY_ENTITY = 'MJ: Companies';
|
|
100
|
+
/** The roles that resolve nowhere — or whose winner booking would refuse — by name, in list order. */
|
|
101
|
+
export function UnresolvedRoleNames(roles) {
|
|
102
|
+
return roles.filter((r) => !r.ResolvedGLAccountID).map((r) => r.Role);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The GL account each role books to for this product, and where in the walk it comes from
|
|
106
|
+
* (golive#439).
|
|
107
|
+
*
|
|
108
|
+
* The direct-links panel above shows only links set on the product itself, so a product that books
|
|
109
|
+
* through its category, product type or company looked unlinked. This block asks the server, through
|
|
110
|
+
* `Orders.ExplainProductGLAccounts`, which runs the walk confirm books through; it never resolves
|
|
111
|
+
* anything itself, so it cannot disagree with booking. Each role renders with accounting's
|
|
112
|
+
* `mj-gl-resolution-preview`.
|
|
113
|
+
*
|
|
114
|
+
* The company defaults to the product's own (g439.2 A); the picker answers the same question for a
|
|
115
|
+
* product another company sells.
|
|
116
|
+
*/
|
|
117
|
+
export class BizAppsProductEffectiveGLAccountsComponent {
|
|
118
|
+
cdr;
|
|
119
|
+
Product;
|
|
120
|
+
Roles = [];
|
|
121
|
+
Companies = [];
|
|
122
|
+
/** The company explained for; the product's own until the user picks another. */
|
|
123
|
+
CompanyID = '';
|
|
124
|
+
AsOf = '';
|
|
125
|
+
Loading = false;
|
|
126
|
+
LoadError = null;
|
|
127
|
+
destroyed = false;
|
|
128
|
+
constructor(cdr) {
|
|
129
|
+
this.cdr = cdr;
|
|
130
|
+
}
|
|
131
|
+
async ngOnInit() {
|
|
132
|
+
this.CompanyID = this.Product?.CompanyID ?? '';
|
|
133
|
+
await Promise.all([this.loadCompanies(), this.Refresh()]);
|
|
134
|
+
}
|
|
135
|
+
ngOnDestroy() {
|
|
136
|
+
this.destroyed = true;
|
|
137
|
+
}
|
|
138
|
+
tick() {
|
|
139
|
+
if (!this.destroyed)
|
|
140
|
+
this.cdr.detectChanges();
|
|
141
|
+
}
|
|
142
|
+
/** Roles with no account booking would use. */
|
|
143
|
+
get Unresolved() {
|
|
144
|
+
return UnresolvedRoleNames(this.Roles);
|
|
145
|
+
}
|
|
146
|
+
/** An unsaved product has no links to walk from. */
|
|
147
|
+
get CanExplain() {
|
|
148
|
+
return !!this.Product?.ID && this.Product.IsSaved;
|
|
149
|
+
}
|
|
150
|
+
async OnCompanyChange(companyID) {
|
|
151
|
+
this.CompanyID = companyID;
|
|
152
|
+
await this.Refresh();
|
|
153
|
+
}
|
|
154
|
+
/** Re-asks the server. The direct-links panel calls this after it writes a link. */
|
|
155
|
+
async Refresh() {
|
|
156
|
+
if (!this.CanExplain) {
|
|
157
|
+
this.Roles = [];
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this.Loading = true;
|
|
161
|
+
this.LoadError = null;
|
|
162
|
+
this.tick();
|
|
163
|
+
try {
|
|
164
|
+
const result = await new OrdersExplainProductGLAccountsOperation().Execute({
|
|
165
|
+
ProductID: this.Product.ID,
|
|
166
|
+
CompanyID: this.CompanyID || null,
|
|
167
|
+
});
|
|
168
|
+
if (!result.Success || !result.Output?.Success) {
|
|
169
|
+
this.Roles = [];
|
|
170
|
+
this.LoadError = result.Output?.Message ?? result.ErrorMessage ?? 'The effective accounts could not be read.';
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
this.Roles = result.Output.Roles;
|
|
174
|
+
this.CompanyID = result.Output.CompanyID;
|
|
175
|
+
this.AsOf = result.Output.AsOf;
|
|
176
|
+
}
|
|
177
|
+
catch (err) {
|
|
178
|
+
this.Roles = [];
|
|
179
|
+
this.LoadError = err instanceof Error ? err.message : String(err);
|
|
180
|
+
}
|
|
181
|
+
finally {
|
|
182
|
+
this.Loading = false;
|
|
183
|
+
this.tick();
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
async loadCompanies() {
|
|
187
|
+
// Orders may run without the Companies entity visible to this user; the picker then holds only the product's own.
|
|
188
|
+
if (!new Metadata().EntityByName(COMPANY_ENTITY))
|
|
189
|
+
return;
|
|
190
|
+
const result = await new RunView().RunView({
|
|
191
|
+
EntityName: COMPANY_ENTITY,
|
|
192
|
+
Fields: ['ID', 'Name'],
|
|
193
|
+
OrderBy: 'Name',
|
|
194
|
+
ResultType: 'simple',
|
|
195
|
+
});
|
|
196
|
+
this.Companies = result.Success ? (result.Results ?? []).map((c) => ({ ID: String(c.ID), Name: c.Name })) : [];
|
|
197
|
+
this.tick();
|
|
198
|
+
}
|
|
199
|
+
/** Whether `id` is the product's own company, for the picker's label. */
|
|
200
|
+
IsOwnCompany(id) {
|
|
201
|
+
return String(id).toLowerCase() === String(this.Product?.CompanyID ?? '').toLowerCase();
|
|
202
|
+
}
|
|
203
|
+
/** The option value matching `CompanyID` regardless of case, so the select never renders blank. */
|
|
204
|
+
get SelectedCompany() {
|
|
205
|
+
const match = this.Companies.find((c) => c.ID.toLowerCase() === this.CompanyID.toLowerCase());
|
|
206
|
+
return match?.ID ?? this.CompanyID;
|
|
207
|
+
}
|
|
208
|
+
static ɵfac = function BizAppsProductEffectiveGLAccountsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BizAppsProductEffectiveGLAccountsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
209
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductEffectiveGLAccountsComponent, selectors: [["bizapps-product-effective-gl-accounts"]], inputs: { Product: "Product" }, standalone: false, decls: 22, vars: 6, consts: [[1, "mjo-eff-gl"], [1, "mjo-eff-gl__head"], [1, "mjo-eff-gl__title"], [1, "fa-solid", "fa-diagram-project"], [1, "mjo-eff-gl__actions"], [1, "mjo-eff-gl__company"], ["aria-label", "Company to explain the accounts for", 3, "ngModelChange", "ngModel", "disabled"], [3, "value"], ["type", "button", "title", "Re-read where each role's account comes from", 1, "mjo-eff-gl__refresh", 3, "click", "disabled"], [1, "fa-solid", "fa-rotate"], [1, "mjo-eff-gl__hint"], [1, "mjo-eff-gl__muted"], [1, "mjo-eff-gl__error"], [1, "fa-solid", "fa-triangle-exclamation"], ["role", "status", 1, "mjo-eff-gl__warn"], [1, "mjo-eff-gl__role"], [3, "Result"], [1, "mjo-eff-gl__refusal"]], template: function BizAppsProductEffectiveGLAccountsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
210
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "span", 2);
|
|
211
|
+
i0.ɵɵelement(3, "i", 3);
|
|
212
|
+
i0.ɵɵtext(4, " Effective accounts ");
|
|
213
|
+
i0.ɵɵelementEnd();
|
|
214
|
+
i0.ɵɵelementStart(5, "span", 4)(6, "label", 5)(7, "span");
|
|
215
|
+
i0.ɵɵtext(8, "Company");
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
217
|
+
i0.ɵɵelementStart(9, "select", 6);
|
|
218
|
+
i0.ɵɵlistener("ngModelChange", function BizAppsProductEffectiveGLAccountsComponent_Template_select_ngModelChange_9_listener($event) { return ctx.OnCompanyChange($event); });
|
|
219
|
+
i0.ɵɵconditionalCreate(10, BizAppsProductEffectiveGLAccountsComponent_Conditional_10_Template, 2, 2, "option", 7);
|
|
220
|
+
i0.ɵɵrepeaterCreate(11, BizAppsProductEffectiveGLAccountsComponent_For_12_Template, 2, 3, "option", 7, _forTrack0);
|
|
221
|
+
i0.ɵɵelementEnd()();
|
|
222
|
+
i0.ɵɵelementStart(13, "button", 8);
|
|
223
|
+
i0.ɵɵlistener("click", function BizAppsProductEffectiveGLAccountsComponent_Template_button_click_13_listener() { return ctx.Refresh(); });
|
|
224
|
+
i0.ɵɵelement(14, "i", 9);
|
|
225
|
+
i0.ɵɵelementEnd()()();
|
|
226
|
+
i0.ɵɵelementStart(15, "p", 10);
|
|
227
|
+
i0.ɵɵtext(16, " Where each role's account comes from: the product, its category and parent categories, its product type, then the company default. The most specific link is used. ");
|
|
228
|
+
i0.ɵɵconditionalCreate(17, BizAppsProductEffectiveGLAccountsComponent_Conditional_17_Template, 2, 1, "span");
|
|
229
|
+
i0.ɵɵelementEnd();
|
|
230
|
+
i0.ɵɵconditionalCreate(18, BizAppsProductEffectiveGLAccountsComponent_Conditional_18_Template, 2, 0, "p", 11)(19, BizAppsProductEffectiveGLAccountsComponent_Conditional_19_Template, 2, 0, "p", 11)(20, BizAppsProductEffectiveGLAccountsComponent_Conditional_20_Template, 3, 1, "p", 12)(21, BizAppsProductEffectiveGLAccountsComponent_Conditional_21_Template, 3, 1);
|
|
231
|
+
i0.ɵɵelementEnd();
|
|
232
|
+
} if (rf & 2) {
|
|
233
|
+
i0.ɵɵadvance(9);
|
|
234
|
+
i0.ɵɵproperty("ngModel", ctx.SelectedCompany)("disabled", ctx.Loading || !ctx.CanExplain);
|
|
235
|
+
i0.ɵɵadvance();
|
|
236
|
+
i0.ɵɵconditional(!ctx.Companies.length && ctx.CompanyID ? 10 : -1);
|
|
237
|
+
i0.ɵɵadvance();
|
|
238
|
+
i0.ɵɵrepeater(ctx.Companies);
|
|
239
|
+
i0.ɵɵadvance(2);
|
|
240
|
+
i0.ɵɵproperty("disabled", ctx.Loading || !ctx.CanExplain);
|
|
241
|
+
i0.ɵɵadvance(4);
|
|
242
|
+
i0.ɵɵconditional(ctx.AsOf ? 17 : -1);
|
|
243
|
+
i0.ɵɵadvance();
|
|
244
|
+
i0.ɵɵconditional(!ctx.CanExplain ? 18 : ctx.Loading && !ctx.Roles.length ? 19 : ctx.LoadError ? 20 : 21);
|
|
245
|
+
} }, dependencies: [i1.NgSelectOption, i1.ɵNgSelectMultipleOption, i1.SelectControlValueAccessor, i1.NgControlStatus, i1.NgModel, i2.GlResolutionPreviewComponent], styles: ["\n\n\n.mjo-eff-gl[_ngcontent-%COMP%] {\n margin-top: 4px;\n}\n\n.mjo-eff-gl__head[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n margin-bottom: 6px;\n}\n\n.mjo-eff-gl__title[_ngcontent-%COMP%] {\n font-size: 12px;\n font-weight: 600;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n opacity: 0.75;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-eff-gl__actions[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.mjo-eff-gl__company[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n\n.mjo-eff-gl__company[_ngcontent-%COMP%] select[_ngcontent-%COMP%] {\n max-width: 260px;\n}\n\n.mjo-eff-gl__refresh[_ngcontent-%COMP%] {\n background: none;\n border: none;\n cursor: pointer;\n padding: 2px 6px;\n opacity: 0.6;\n color: inherit;\n}\n\n.mjo-eff-gl__refresh[_ngcontent-%COMP%]:hover:not(:disabled) {\n opacity: 1;\n}\n\n.mjo-eff-gl__hint[_ngcontent-%COMP%], \n.mjo-eff-gl__muted[_ngcontent-%COMP%] {\n font-size: 12px;\n opacity: 0.75;\n margin: 0 0 8px;\n}\n\n.mjo-eff-gl__warn[_ngcontent-%COMP%], \n.mjo-eff-gl__error[_ngcontent-%COMP%] {\n display: flex;\n gap: 6px;\n align-items: flex-start;\n font-size: 13px;\n margin: 0 0 8px;\n padding: 6px 8px;\n border-radius: 4px;\n color: var(--mj-status-warning-text, #7a4b00);\n background: var(--mj-status-warning-bg, #fff4e0);\n}\n\n.mjo-eff-gl__error[_ngcontent-%COMP%] {\n color: var(--mj-status-error-text, #8a1c1c);\n background: var(--mj-status-error-bg, #fdecec);\n}\n\n.mjo-eff-gl__role[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n}\n\n.mjo-eff-gl__refusal[_ngcontent-%COMP%] {\n font-size: 12px;\n opacity: 0.8;\n margin: 2px 0 0 22px;\n}"] });
|
|
246
|
+
}
|
|
247
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsProductEffectiveGLAccountsComponent, [{
|
|
248
|
+
type: Component,
|
|
249
|
+
args: [{ standalone: false, selector: 'bizapps-product-effective-gl-accounts', template: "<div class=\"mjo-eff-gl\">\n <div class=\"mjo-eff-gl__head\">\n <span class=\"mjo-eff-gl__title\">\n <i class=\"fa-solid fa-diagram-project\"></i>\n Effective accounts\n </span>\n <span class=\"mjo-eff-gl__actions\">\n <label class=\"mjo-eff-gl__company\">\n <span>Company</span>\n <select\n [ngModel]=\"SelectedCompany\"\n (ngModelChange)=\"OnCompanyChange($event)\"\n [disabled]=\"Loading || !CanExplain\"\n aria-label=\"Company to explain the accounts for\">\n @if (!Companies.length && CompanyID) {\n <option [value]=\"CompanyID\">{{ Product.Company }} (product's company)</option>\n }\n @for (c of Companies; track c.ID) {\n <option [value]=\"c.ID\">{{ c.Name }}{{ IsOwnCompany(c.ID) ? \" (product's company)\" : '' }}</option>\n }\n </select>\n </label>\n <button\n type=\"button\"\n class=\"mjo-eff-gl__refresh\"\n title=\"Re-read where each role's account comes from\"\n [disabled]=\"Loading || !CanExplain\"\n (click)=\"Refresh()\">\n <i class=\"fa-solid fa-rotate\"></i>\n </button>\n </span>\n </div>\n\n <!--\n Read from the walk confirm books through (Orders.ExplainProductGLAccounts), in order:\n product, category and its parents, product type, company default. Nothing here is resolved in\n the browser.\n -->\n <p class=\"mjo-eff-gl__hint\">\n Where each role's account comes from: the product, its category and parent categories, its\n product type, then the company default. The most specific link is used.\n @if (AsOf) {\n <span>Links in force on {{ AsOf }}.</span>\n }\n </p>\n\n @if (!CanExplain) {\n <p class=\"mjo-eff-gl__muted\">Save the product to see the accounts it books to.</p>\n } @else if (Loading && !Roles.length) {\n <p class=\"mjo-eff-gl__muted\">Reading the accounts\u2026</p>\n } @else if (LoadError) {\n <p class=\"mjo-eff-gl__error\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n {{ LoadError }}\n </p>\n } @else {\n @if (Unresolved.length) {\n <p class=\"mjo-eff-gl__warn\" role=\"status\">\n <i class=\"fa-solid fa-triangle-exclamation\"></i>\n {{ Unresolved.length === 1 ? '1 role resolves' : Unresolved.length + ' roles resolve' }} to no account,\n so confirm refuses an order line for this product that books to it: {{ Unresolved.join(', ') }}.\n </p>\n }\n @for (role of Roles; track role.Role) {\n <div class=\"mjo-eff-gl__role\">\n <mj-gl-resolution-preview [Result]=\"role\"></mj-gl-resolution-preview>\n @if (role.Message) {\n <p class=\"mjo-eff-gl__refusal\">{{ role.Message }}</p>\n }\n </div>\n }\n }\n</div>\n", styles: ["/* Borrows the direct-links panel's look; it sits directly under it on the Accounting tab. */\n\n.mjo-eff-gl {\n margin-top: 4px;\n}\n\n.mjo-eff-gl__head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n margin-bottom: 6px;\n}\n\n.mjo-eff-gl__title {\n font-size: 12px;\n font-weight: 600;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n opacity: 0.75;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-eff-gl__actions {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.mjo-eff-gl__company {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n\n.mjo-eff-gl__company select {\n max-width: 260px;\n}\n\n.mjo-eff-gl__refresh {\n background: none;\n border: none;\n cursor: pointer;\n padding: 2px 6px;\n opacity: 0.6;\n color: inherit;\n}\n\n.mjo-eff-gl__refresh:hover:not(:disabled) {\n opacity: 1;\n}\n\n.mjo-eff-gl__hint,\n.mjo-eff-gl__muted {\n font-size: 12px;\n opacity: 0.75;\n margin: 0 0 8px;\n}\n\n.mjo-eff-gl__warn,\n.mjo-eff-gl__error {\n display: flex;\n gap: 6px;\n align-items: flex-start;\n font-size: 13px;\n margin: 0 0 8px;\n padding: 6px 8px;\n border-radius: 4px;\n color: var(--mj-status-warning-text, #7a4b00);\n background: var(--mj-status-warning-bg, #fff4e0);\n}\n\n.mjo-eff-gl__error {\n color: var(--mj-status-error-text, #8a1c1c);\n background: var(--mj-status-error-bg, #fdecec);\n}\n\n.mjo-eff-gl__role {\n margin-bottom: 8px;\n}\n\n.mjo-eff-gl__refusal {\n font-size: 12px;\n opacity: 0.8;\n margin: 2px 0 0 22px;\n}\n"] }]
|
|
250
|
+
}], () => [{ type: i0.ChangeDetectorRef }], { Product: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}] }); })();
|
|
253
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsProductEffectiveGLAccountsComponent, { className: "BizAppsProductEffectiveGLAccountsComponent", filePath: "lib/custom/Product/widgets/product-effective-gl-accounts.component.ts", lineNumber: 41 }); })();
|
|
254
|
+
//# sourceMappingURL=product-effective-gl-accounts.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-effective-gl-accounts.component.js","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-effective-gl-accounts.component.ts","../../../../../src/lib/custom/Product/widgets/product-effective-gl-accounts.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAE,KAAK,EAAqB,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EACH,uCAAuC,GAG1C,MAAM,8BAA8B,CAAC;;;;;;;ICSd,iCAA4B;IAAA,YAAyC;IAAA,iBAAS;;;IAAtE,wCAAmB;IAAC,cAAyC;IAAzC,yEAAyC;;;IAGrE,iCAAuB;IAAA,YAAkE;IAAA,iBAAS;;;;IAA1F,+BAAc;IAAC,cAAkE;IAAlE,oGAAkE;;;IAwBrG,4BAAM;IAAA,YAA6B;IAAA,iBAAO;;;IAApC,cAA6B;IAA7B,6DAA6B;;;IAKvC,6BAA6B;IAAA,iEAAiD;IAAA,iBAAI;;;IAElF,6BAA6B;IAAA,0CAAqB;IAAA,iB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e3C,eAEC;YAFD,oCAEC;YAGL,cAyBC;YAzBD,wGAyBC;;;iFD/BQ,0CAA0C;cANtD,SAAS;6BACM,KAAK,YACP,uCAAuC;;kBAKhD,KAAK;;kFADG,0CAA0C"}
|
|
@@ -115,9 +115,10 @@ export interface ProductGLLinkRow {
|
|
|
115
115
|
* ── WHAT IS DELIBERATELY NOT HERE ──
|
|
116
116
|
*
|
|
117
117
|
* No fallback chain. A product with no direct link still books, through category and company defaults,
|
|
118
|
-
* and
|
|
119
|
-
*
|
|
120
|
-
*
|
|
118
|
+
* and showing a resolved account here without saying it came from a category would read as "this
|
|
119
|
+
* product is linked" when it is not, which is the same confusion #112 caused one screen over. The chain
|
|
120
|
+
* is shown separately, under this panel, by `BizAppsProductEffectiveGLAccountsComponent`
|
|
121
|
+
* (golive#439), which asks the server's walk and labels each level.
|
|
121
122
|
*/
|
|
122
123
|
export declare class BizAppsProductGLLinksComponent implements OnInit, OnDestroy {
|
|
123
124
|
private readonly cdr;
|
|
@@ -125,6 +126,8 @@ export declare class BizAppsProductGLLinksComponent implements OnInit, OnDestroy
|
|
|
125
126
|
EditMode: boolean;
|
|
126
127
|
FormContext?: FormContext;
|
|
127
128
|
Navigate: EventEmitter<FormNavigationEvent>;
|
|
129
|
+
/** After a link is added, edited, retired or removed, so the Effective accounts block re-reads. */
|
|
130
|
+
LinksChanged: EventEmitter<void>;
|
|
128
131
|
Rows: ProductGLLinkRow[];
|
|
129
132
|
Loading: boolean;
|
|
130
133
|
/** Set when the links cannot be read at all. Shown instead of an empty list, which would lie. */
|
|
@@ -461,6 +464,6 @@ export declare class BizAppsProductGLLinksComponent implements OnInit, OnDestroy
|
|
|
461
464
|
*/
|
|
462
465
|
private inForceIDs;
|
|
463
466
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizAppsProductGLLinksComponent, never>;
|
|
464
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BizAppsProductGLLinksComponent, "bizapps-product-gl-links", never, { "Product": { "alias": "Product"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "FormContext": { "alias": "FormContext"; "required": false; }; }, { "Navigate": "Navigate"; }, never, never, false, never>;
|
|
467
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizAppsProductGLLinksComponent, "bizapps-product-gl-links", never, { "Product": { "alias": "Product"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "FormContext": { "alias": "FormContext"; "required": false; }; }, { "Navigate": "Navigate"; "LinksChanged": "LinksChanged"; }, never, never, false, never>;
|
|
465
468
|
}
|
|
466
469
|
//# sourceMappingURL=product-gl-links.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-gl-links.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-gl-links.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAE7G,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEtF,OAAO,EAAS,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;;AAQxF;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH;;;;;;;;GAQG;AACH;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAaD,wBAAgB,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAEzC;AAED,wBAAgB,kBAAkB,CAC9B,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC5C,OAAO,CAIT;AAED,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;;;;;;OAWG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,iFAAiF;IACjF,MAAM,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"product-gl-links.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/custom/Product/widgets/product-gl-links.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAE7G,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEtF,OAAO,EAAS,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;;AAQxF;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH;;;;;;;;GAQG;AACH;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,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AAC,kBAAkB,CAAoC;IAE9D;;;;;;;;;;;;OAYG;IACH,IAAW,SAAS,IAAI,aAAa,CAAC,aAAa,CAAC,CAEnD;IAED,OAAO,CAAC,eAAe,CAAoC;IAE3D,OAAO,CAAC,qBAAqB;IAO7B,sGAAsG;IACtG,OAAO,CAAC,iBAAiB;IAkBzB;;;;;;;;;;;;;;;;;;;OAmBG;IACI,QAAQ,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAiBrC,UAAU,IAAI,IAAI;IAOzB;;;;;;OAMG;IACH;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,aAAa;IAKR,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAwDtC;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAWnB;;;;;;;;;;;;;;;;OAgBG;IACU,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAgDrC;;;;;;;OAOG;IACI,UAAU,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO;IAkBjD;;;;;;;;;;;;;;;;;;;OAmBG;IACH;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IAQP,UAAU,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B7D;;;;;;;;;;;;;OAaG;IACU,UAAU,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IA6B7D;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa;IAmBrB;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;YAIC,IAAI;IA8HlB,qFAAqF;YACvE,UAAU;IAyBxB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,UAAU;yCAz0BT,8BAA8B;2CAA9B,8BAA8B;CA22B1C"}
|
|
@@ -366,9 +366,10 @@ export function AccountIsOfferable(accountCompanyID, productCompanyID) {
|
|
|
366
366
|
* ── WHAT IS DELIBERATELY NOT HERE ──
|
|
367
367
|
*
|
|
368
368
|
* No fallback chain. A product with no direct link still books, through category and company defaults,
|
|
369
|
-
* and
|
|
370
|
-
*
|
|
371
|
-
*
|
|
369
|
+
* and showing a resolved account here without saying it came from a category would read as "this
|
|
370
|
+
* product is linked" when it is not, which is the same confusion #112 caused one screen over. The chain
|
|
371
|
+
* is shown separately, under this panel, by `BizAppsProductEffectiveGLAccountsComponent`
|
|
372
|
+
* (golive#439), which asks the server's walk and labels each level.
|
|
372
373
|
*/
|
|
373
374
|
export class BizAppsProductGLLinksComponent {
|
|
374
375
|
cdr;
|
|
@@ -376,6 +377,8 @@ export class BizAppsProductGLLinksComponent {
|
|
|
376
377
|
EditMode = false;
|
|
377
378
|
FormContext;
|
|
378
379
|
Navigate = new EventEmitter();
|
|
380
|
+
/** After a link is added, edited, retired or removed, so the Effective accounts block re-reads. */
|
|
381
|
+
LinksChanged = new EventEmitter();
|
|
379
382
|
Rows = [];
|
|
380
383
|
Loading = true;
|
|
381
384
|
/** Set when the links cannot be read at all. Shown instead of an empty list, which would lie. */
|
|
@@ -741,6 +744,7 @@ export class BizAppsProductGLLinksComponent {
|
|
|
741
744
|
}
|
|
742
745
|
this.Editing = null;
|
|
743
746
|
await this.Refresh(true);
|
|
747
|
+
this.LinksChanged.emit();
|
|
744
748
|
}
|
|
745
749
|
catch (err) {
|
|
746
750
|
this.WriteError = err instanceof Error ? err.message : String(err);
|
|
@@ -822,6 +826,7 @@ export class BizAppsProductGLLinksComponent {
|
|
|
822
826
|
}
|
|
823
827
|
this.Draft = null;
|
|
824
828
|
await this.Refresh(true);
|
|
829
|
+
this.LinksChanged.emit();
|
|
825
830
|
}
|
|
826
831
|
catch (err) {
|
|
827
832
|
this.WriteError = err instanceof Error ? err.message : String(err);
|
|
@@ -910,6 +915,7 @@ export class BizAppsProductGLLinksComponent {
|
|
|
910
915
|
// The row this form was bound to has just changed underneath it; see closeEditFor.
|
|
911
916
|
this.closeEditFor(row.ID);
|
|
912
917
|
await this.Refresh(true);
|
|
918
|
+
this.LinksChanged.emit();
|
|
913
919
|
}
|
|
914
920
|
catch (err) {
|
|
915
921
|
this.WriteError = err instanceof Error ? err.message : String(err);
|
|
@@ -953,6 +959,7 @@ export class BizAppsProductGLLinksComponent {
|
|
|
953
959
|
// The row this form was bound to has just changed underneath it; see closeEditFor.
|
|
954
960
|
this.closeEditFor(row.ID);
|
|
955
961
|
await this.Refresh(true);
|
|
962
|
+
this.LinksChanged.emit();
|
|
956
963
|
}
|
|
957
964
|
catch (err) {
|
|
958
965
|
this.WriteError = err instanceof Error ? err.message : String(err);
|
|
@@ -1190,7 +1197,7 @@ export class BizAppsProductGLLinksComponent {
|
|
|
1190
1197
|
return winners;
|
|
1191
1198
|
}
|
|
1192
1199
|
static ɵfac = function BizAppsProductGLLinksComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BizAppsProductGLLinksComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
1193
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductGLLinksComponent, selectors: [["bizapps-product-gl-links"]], inputs: { Product: "Product", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate" }, standalone: false, decls: 16, vars: 5, consts: [[1, "mjo-gl-links"], [1, "mjo-gl-links__head"], [1, "mjo-gl-links__title"], [1, "fa-solid", "fa-link"], [1, "mjo-gl-links__actions"], ["type", "button", "title", "Link a GL account to this product", 1, "mjo-gl-links__refresh"], ["type", "button", "title", "Re-read this product's GL account links", 1, "mjo-gl-links__refresh", 3, "click"], [1, "fa-solid", "fa-rotate"], [1, "mjo-gl-links__error"], [1, "mjo-gl-links__draft"], [1, "mjo-gl-links__note"], [1, "mjo-gl-links__scroll"], ["type", "button", "title", "Link a GL account to this product", 1, "mjo-gl-links__refresh", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "fa-solid", "fa-triangle-exclamation"], ["aria-label", "Role", 3, "ngModelChange", "ngModel", "disabled"], ["value", ""], [3, "value"], ["aria-label", "GL account", 3, "ngModelChange", "ngModel", "disabled"], ["type", "date", "aria-label", "In force from", 3, "ngModelChange", "ngModel", "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "click", "disabled"], [3, "value", "disabled"], [1, "mjo-gl-links__lbl"], ["type", "date", "aria-label", "In force to", 3, "ngModelChange", "ngModel", "disabled"], [1, "mjo-gl-links__table"], [1, "mjo-gl-links__sr"], [3, "mjo-gl-links__row--inactive"], ["type", "button", 1, "mjo-gl-links__link", 3, "click"], [1, "mjo-gl-links__name"], [1, "mjo-gl-links__chip"], ["type", "button", "title", "Edit this link", 1, "mjo-gl-links__btn", 3, "disabled"], ["type", "button", "title", "End this link's window as of today. It stops applying immediately, and the record stays on the product as history.", 1, "mjo-gl-links__btn", 3, "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "disabled", "title"], ["type", "button", "title", "Edit this link", 1, "mjo-gl-links__btn", 3, "click", "disabled"], ["type", "button", "title", "End this link's window as of today. It stops applying immediately, and the record stays on the product as history.", 1, "mjo-gl-links__btn", 3, "click", "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "click", "disabled", "title"]], template: function BizAppsProductGLLinksComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1200
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductGLLinksComponent, selectors: [["bizapps-product-gl-links"]], inputs: { Product: "Product", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate", LinksChanged: "LinksChanged" }, standalone: false, decls: 16, vars: 5, consts: [[1, "mjo-gl-links"], [1, "mjo-gl-links__head"], [1, "mjo-gl-links__title"], [1, "fa-solid", "fa-link"], [1, "mjo-gl-links__actions"], ["type", "button", "title", "Link a GL account to this product", 1, "mjo-gl-links__refresh"], ["type", "button", "title", "Re-read this product's GL account links", 1, "mjo-gl-links__refresh", 3, "click"], [1, "fa-solid", "fa-rotate"], [1, "mjo-gl-links__error"], [1, "mjo-gl-links__draft"], [1, "mjo-gl-links__note"], [1, "mjo-gl-links__scroll"], ["type", "button", "title", "Link a GL account to this product", 1, "mjo-gl-links__refresh", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "fa-solid", "fa-triangle-exclamation"], ["aria-label", "Role", 3, "ngModelChange", "ngModel", "disabled"], ["value", ""], [3, "value"], ["aria-label", "GL account", 3, "ngModelChange", "ngModel", "disabled"], ["type", "date", "aria-label", "In force from", 3, "ngModelChange", "ngModel", "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "click", "disabled"], [3, "value", "disabled"], [1, "mjo-gl-links__lbl"], ["type", "date", "aria-label", "In force to", 3, "ngModelChange", "ngModel", "disabled"], [1, "mjo-gl-links__table"], [1, "mjo-gl-links__sr"], [3, "mjo-gl-links__row--inactive"], ["type", "button", 1, "mjo-gl-links__link", 3, "click"], [1, "mjo-gl-links__name"], [1, "mjo-gl-links__chip"], ["type", "button", "title", "Edit this link", 1, "mjo-gl-links__btn", 3, "disabled"], ["type", "button", "title", "End this link's window as of today. It stops applying immediately, and the record stays on the product as history.", 1, "mjo-gl-links__btn", 3, "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "disabled", "title"], ["type", "button", "title", "Edit this link", 1, "mjo-gl-links__btn", 3, "click", "disabled"], ["type", "button", "title", "End this link's window as of today. It stops applying immediately, and the record stays on the product as history.", 1, "mjo-gl-links__btn", 3, "click", "disabled"], ["type", "button", 1, "mjo-gl-links__btn", 3, "click", "disabled", "title"]], template: function BizAppsProductGLLinksComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1194
1201
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "span", 2);
|
|
1195
1202
|
i0.ɵɵelement(3, "i", 3);
|
|
1196
1203
|
i0.ɵɵtext(4, " GL Accounts ");
|
|
@@ -1230,6 +1237,8 @@ export class BizAppsProductGLLinksComponent {
|
|
|
1230
1237
|
type: Input
|
|
1231
1238
|
}], Navigate: [{
|
|
1232
1239
|
type: Output
|
|
1240
|
+
}], LinksChanged: [{
|
|
1241
|
+
type: Output
|
|
1233
1242
|
}] }); })();
|
|
1234
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsProductGLLinksComponent, { className: "BizAppsProductGLLinksComponent", filePath: "lib/custom/Product/widgets/product-gl-links.component.ts", lineNumber:
|
|
1243
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsProductGLLinksComponent, { className: "BizAppsProductGLLinksComponent", filePath: "lib/custom/Product/widgets/product-gl-links.component.ts", lineNumber: 162 }); })();
|
|
1235
1244
|
//# sourceMappingURL=product-gl-links.component.js.map
|