@mj-biz-apps/orders-ng 5.52.0 → 5.53.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/pages/payments/account-credit.page.d.ts +21 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -1
- package/dist/lib/pages/payments/account-credit.page.js +145 -82
- package/dist/lib/pages/payments/account-credit.page.js.map +1 -1
- package/dist/lib/pages/receivables/billing-issue.d.ts +14 -0
- package/dist/lib/pages/receivables/billing-issue.d.ts.map +1 -0
- package/dist/lib/pages/receivables/billing-issue.js +17 -0
- package/dist/lib/pages/receivables/billing-issue.js.map +1 -0
- package/dist/lib/pages/receivables/billing.page.d.ts +135 -19
- package/dist/lib/pages/receivables/billing.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/billing.page.js +748 -163
- package/dist/lib/pages/receivables/billing.page.js.map +1 -1
- package/dist/lib/pages/receivables/customer-ar.page.d.ts +12 -0
- package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/customer-ar.page.js +40 -14
- package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts +157 -26
- package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js +1278 -316
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
- package/dist/lib/pages/receivables/overdue-page.model.d.ts +55 -0
- package/dist/lib/pages/receivables/overdue-page.model.d.ts.map +1 -0
- package/dist/lib/pages/receivables/overdue-page.model.js +112 -0
- package/dist/lib/pages/receivables/overdue-page.model.js.map +1 -0
- package/dist/lib/pages/receivables/overdue.page.d.ts +104 -16
- package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/overdue.page.js +476 -125
- package/dist/lib/pages/receivables/overdue.page.js.map +1 -1
- package/dist/lib/pages/receivables/progress.page.d.ts +69 -8
- package/dist/lib/pages/receivables/progress.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/progress.page.js +574 -248
- package/dist/lib/pages/receivables/progress.page.js.map +1 -1
- package/dist/lib/pages/receivables/worklist-view.model.d.ts +229 -0
- package/dist/lib/pages/receivables/worklist-view.model.d.ts.map +1 -0
- package/dist/lib/pages/receivables/worklist-view.model.js +402 -0
- package/dist/lib/pages/receivables/worklist-view.model.js.map +1 -0
- package/dist/lib/panels/aging-bar.component.d.ts +7 -1
- package/dist/lib/panels/aging-bar.component.d.ts.map +1 -1
- package/dist/lib/panels/aging-bar.component.js +89 -33
- package/dist/lib/panels/aging-bar.component.js.map +1 -1
- package/dist/lib/panels/side-panel.component.d.ts +41 -0
- package/dist/lib/panels/side-panel.component.d.ts.map +1 -0
- package/dist/lib/panels/side-panel.component.js +126 -0
- package/dist/lib/panels/side-panel.component.js.map +1 -0
- package/dist/lib/panels/worklist-bar.component.d.ts +81 -0
- package/dist/lib/panels/worklist-bar.component.d.ts.map +1 -0
- package/dist/lib/panels/worklist-bar.component.js +291 -0
- package/dist/lib/panels/worklist-bar.component.js.map +1 -0
- package/dist/lib/panels/worklist-table.component.d.ts +47 -5
- package/dist/lib/panels/worklist-table.component.d.ts.map +1 -1
- package/dist/lib/panels/worklist-table.component.js +283 -79
- package/dist/lib/panels/worklist-table.component.js.map +1 -1
- package/dist/lib/sections/orders-sections.component.d.ts.map +1 -1
- package/dist/lib/sections/orders-sections.component.js +13 -5
- package/dist/lib/sections/orders-sections.component.js.map +1 -1
- package/dist/lib/sections/section-nav.model.js +1 -1
- package/dist/lib/sections/section-nav.model.js.map +1 -1
- package/dist/lib/sections/section-shell.component.js +2 -2
- package/dist/lib/styles/orders-kit.css +10 -0
- package/dist/public-api.d.ts +2 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +2 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,139 +3,260 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { FormsModule } from '@angular/forms';
|
|
4
4
|
import { MJAlertComponent, MJButtonDirective, MJConfirmService } from '@memberjunction/ng-ui-components';
|
|
5
5
|
import { OrdersGetProgressWorklistOperation, OrdersRecordProgressOperation, Today, } from '@mj-biz-apps/orders-entities';
|
|
6
|
+
import { MJOSidePanelComponent } from '../../panels/side-panel.component.js';
|
|
6
7
|
import { MJOStatTileComponent } from '../../panels/stat-tile.component.js';
|
|
8
|
+
import { MJOWorklistBarComponent } from '../../panels/worklist-bar.component.js';
|
|
7
9
|
import { MJOWorklistTableComponent } from '../../panels/worklist-table.component.js';
|
|
8
10
|
import { FormatDate, FormatMoney } from '../../panels/money-format.js';
|
|
11
|
+
import { BuildWorklistExport, AddressKey, AdoptCompanyChoice, COMPANY_ADDRESS_KEY, CompaniesToAddress, ExportFileName, FilterByCompanies, MatchesText, NextSort, ReadWorklistState, ReconcileCompanies, RestoreSort, SameChoice, ShownSummary, SortRows, WriteSharedCompanies, WriteWorklistState, } from './worklist-view.model.js';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
import * as i1 from "@angular/forms";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
i0.ɵɵelementStart(0, "
|
|
14
|
+
function MJOProgressPageComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "label", 1)(1, "input", 14);
|
|
17
|
+
i0.ɵɵlistener("change", function MJOProgressPageComponent_Conditional_1_Template_input_change_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleShowComplete()); });
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵtext(2, " Show completed lines ");
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("checked", ctx_r1.ShowComplete)("disabled", ctx_r1.Busy);
|
|
25
|
+
} }
|
|
26
|
+
function MJOProgressPageComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "mj-alert", 7)(1, "strong");
|
|
14
28
|
i0.ɵɵtext(2, "The progress worklist did not load.");
|
|
15
29
|
i0.ɵɵelementEnd();
|
|
16
30
|
i0.ɵɵtext(3);
|
|
17
31
|
i0.ɵɵelementEnd();
|
|
18
32
|
} if (rf & 2) {
|
|
19
|
-
const
|
|
33
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20
34
|
i0.ɵɵadvance(3);
|
|
21
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
35
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.LoadError, " ");
|
|
22
36
|
} }
|
|
23
|
-
function
|
|
24
|
-
i0.ɵɵelementStart(0, "mj-alert",
|
|
37
|
+
function MJOProgressPageComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "mj-alert", 8);
|
|
25
39
|
i0.ɵɵtext(1);
|
|
26
40
|
i0.ɵɵelementEnd();
|
|
27
41
|
} if (rf & 2) {
|
|
28
|
-
const
|
|
29
|
-
i0.ɵɵproperty("Variant",
|
|
42
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
43
|
+
i0.ɵɵproperty("Variant", ctx_r1.Notice.Tone);
|
|
30
44
|
i0.ɵɵadvance();
|
|
31
|
-
i0.ɵɵtextInterpolate(
|
|
45
|
+
i0.ɵɵtextInterpolate(ctx_r1.Notice.Text);
|
|
32
46
|
} }
|
|
33
|
-
function
|
|
34
|
-
i0.ɵɵelementStart(0, "mj-alert",
|
|
47
|
+
function MJOProgressPageComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "mj-alert", 9)(1, "strong");
|
|
35
49
|
i0.ɵɵtext(2, "List truncated.");
|
|
36
50
|
i0.ɵɵelementEnd();
|
|
37
51
|
i0.ɵɵtext(3, " Not every open line is shown.");
|
|
38
52
|
i0.ɵɵelementEnd();
|
|
39
53
|
} }
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
i0.ɵɵelementStart(0, "button", 19);
|
|
43
|
-
i0.ɵɵlistener("click", function MJOProgressPageComponent_Conditional_19_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.ToggleShowComplete()); });
|
|
44
|
-
i0.ɵɵelement(1, "i", 20);
|
|
45
|
-
i0.ɵɵtext(2, " Show 100% ");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
54
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵtext(0);
|
|
47
56
|
} if (rf & 2) {
|
|
48
|
-
const
|
|
49
|
-
i0.ɵɵ
|
|
50
|
-
i0.ɵɵattribute("aria-pressed", ctx_r0.ShowComplete);
|
|
57
|
+
const row_r4 = i0.ɵɵnextContext();
|
|
58
|
+
i0.ɵɵtextInterpolate1(" \u00B7 by ", row_r4.LastAttestedBy, " ");
|
|
51
59
|
} }
|
|
52
|
-
function
|
|
53
|
-
const
|
|
54
|
-
i0.ɵɵelementStart(0, "
|
|
55
|
-
i0.ɵɵlistener("
|
|
56
|
-
i0.ɵɵelement(1, "i", 21);
|
|
57
|
-
i0.ɵɵtext(2, " Supersede last ");
|
|
60
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_42_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
62
|
+
i0.ɵɵelementStart(0, "label", 23)(1, "input", 14);
|
|
63
|
+
i0.ɵɵlistener("change", function MJOProgressPageComponent_Conditional_13_Conditional_42_Template_input_change_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ToggleSupersede()); });
|
|
58
64
|
i0.ɵɵelementEnd();
|
|
59
|
-
|
|
60
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
61
|
-
i0.ɵɵproperty("variant", ctx_r0.Supersede ? "primary" : "outline")("disabled", ctx_r0.Busy);
|
|
62
|
-
i0.ɵɵattribute("aria-pressed", ctx_r0.Supersede);
|
|
63
|
-
} }
|
|
64
|
-
function MJOProgressPageComponent_Conditional_27_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵelementStart(0, "strong");
|
|
66
|
-
i0.ɵɵtext(1);
|
|
65
|
+
i0.ɵɵtext(2, " Replace the last observation ");
|
|
67
66
|
i0.ɵɵelementEnd();
|
|
68
67
|
} if (rf & 2) {
|
|
69
|
-
const
|
|
68
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
70
69
|
i0.ɵɵadvance();
|
|
71
|
-
i0.ɵɵ
|
|
70
|
+
i0.ɵɵproperty("checked", ctx_r1.Supersede)("disabled", ctx_r1.Busy);
|
|
72
71
|
} }
|
|
73
|
-
function
|
|
74
|
-
i0.ɵɵelementStart(0, "div",
|
|
75
|
-
i0.ɵɵelement(1, "i",
|
|
72
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_43_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
74
|
+
i0.ɵɵelement(1, "i", 31);
|
|
76
75
|
i0.ɵɵtext(2);
|
|
77
76
|
i0.ɵɵelementEnd();
|
|
78
77
|
} if (rf & 2) {
|
|
79
78
|
const row_r4 = i0.ɵɵnextContext();
|
|
80
|
-
const
|
|
79
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
81
80
|
i0.ɵɵadvance(2);
|
|
82
|
-
i0.ɵɵtextInterpolate2("
|
|
81
|
+
i0.ɵɵtextInterpolate2(" Replaces the ", ctx_r1.date(row_r4.LastMeasurementDate), " observation at ", ctx_r1.percent(row_r4.LastPercentComplete), ". Its recognition is reversed on its own date, or on the first open day if finance has closed that month, and the new catch-up books on the date you enter; nothing is edited. Keep its date to correct the percent, or choose any date after the observation before it. ");
|
|
82
|
+
} }
|
|
83
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_44_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "span", 20);
|
|
85
|
+
i0.ɵɵtext(2, "Preview");
|
|
86
|
+
i0.ɵɵelementEnd();
|
|
87
|
+
i0.ɵɵelementStart(3, "strong");
|
|
88
|
+
i0.ɵɵtext(4);
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
92
|
+
i0.ɵɵadvance(4);
|
|
93
|
+
i0.ɵɵtextInterpolate(ctx_r1.Draft.Message);
|
|
83
94
|
} }
|
|
84
|
-
function
|
|
85
|
-
i0.ɵɵelementStart(0, "div",
|
|
86
|
-
i0.ɵɵelement(1, "i",
|
|
95
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_45_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
97
|
+
i0.ɵɵelement(1, "i", 32);
|
|
87
98
|
i0.ɵɵtext(2);
|
|
88
99
|
i0.ɵɵelementEnd();
|
|
89
100
|
} if (rf & 2) {
|
|
90
101
|
i0.ɵɵadvance(2);
|
|
91
102
|
i0.ɵɵtextInterpolate1(" ", ctx, " ");
|
|
92
103
|
} }
|
|
93
|
-
function
|
|
94
|
-
i0.ɵɵelementStart(0, "div",
|
|
95
|
-
i0.ɵɵelement(1, "i",
|
|
104
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_46_Template(rf, ctx) { if (rf & 1) {
|
|
105
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
106
|
+
i0.ɵɵelement(1, "i", 33);
|
|
96
107
|
i0.ɵɵtext(2);
|
|
97
108
|
i0.ɵɵelementEnd();
|
|
98
109
|
} if (rf & 2) {
|
|
99
110
|
i0.ɵɵadvance(2);
|
|
100
111
|
i0.ɵɵtextInterpolate1(" ", ctx, " ");
|
|
101
112
|
} }
|
|
102
|
-
function
|
|
103
|
-
i0.ɵɵelementStart(0, "div",
|
|
104
|
-
i0.ɵɵelement(1, "i",
|
|
113
|
+
function MJOProgressPageComponent_Conditional_13_Conditional_47_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
115
|
+
i0.ɵɵelement(1, "i", 33);
|
|
105
116
|
i0.ɵɵtext(2);
|
|
106
117
|
i0.ɵɵelementEnd();
|
|
107
118
|
} if (rf & 2) {
|
|
108
119
|
i0.ɵɵadvance(2);
|
|
109
120
|
i0.ɵɵtextInterpolate1(" ", ctx, " ");
|
|
110
121
|
} }
|
|
111
|
-
function
|
|
112
|
-
i0.ɵɵ
|
|
113
|
-
i0.ɵɵ
|
|
114
|
-
i0.ɵɵ
|
|
122
|
+
function MJOProgressPageComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
124
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "mjo-side-panel", 15);
|
|
125
|
+
i0.ɵɵlistener("Closed", function MJOProgressPageComponent_Conditional_13_Template_mjo_side_panel_Closed_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.Close()); });
|
|
126
|
+
i0.ɵɵelementStart(2, "dl", 16)(3, "dt");
|
|
127
|
+
i0.ɵɵtext(4, "Project");
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
i0.ɵɵelementStart(5, "dd");
|
|
130
|
+
i0.ɵɵtext(6);
|
|
131
|
+
i0.ɵɵelementEnd();
|
|
132
|
+
i0.ɵɵelementStart(7, "dt");
|
|
133
|
+
i0.ɵɵtext(8, "Customer");
|
|
134
|
+
i0.ɵɵelementEnd();
|
|
135
|
+
i0.ɵɵelementStart(9, "dd");
|
|
136
|
+
i0.ɵɵtext(10);
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵelementStart(11, "dt");
|
|
139
|
+
i0.ɵɵtext(12, "Order");
|
|
140
|
+
i0.ɵɵelementEnd();
|
|
141
|
+
i0.ɵɵelementStart(13, "dd")(14, "button", 17);
|
|
142
|
+
i0.ɵɵlistener("click", function MJOProgressPageComponent_Conditional_13_Template_button_click_14_listener() { const row_r4 = i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenOrder(row_r4)); });
|
|
143
|
+
i0.ɵɵtext(15);
|
|
144
|
+
i0.ɵɵelementEnd()();
|
|
145
|
+
i0.ɵɵelementStart(16, "dt");
|
|
146
|
+
i0.ɵɵtext(17, "Sold by");
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
i0.ɵɵelementStart(18, "dd");
|
|
149
|
+
i0.ɵɵtext(19);
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
i0.ɵɵelementStart(20, "dt");
|
|
152
|
+
i0.ɵɵtext(21, "Contract");
|
|
153
|
+
i0.ɵɵelementEnd();
|
|
154
|
+
i0.ɵɵelementStart(22, "dd");
|
|
155
|
+
i0.ɵɵtext(23);
|
|
156
|
+
i0.ɵɵelementEnd();
|
|
157
|
+
i0.ɵɵelementStart(24, "dt");
|
|
158
|
+
i0.ɵɵtext(25, "Recognized");
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
i0.ɵɵelementStart(26, "dd");
|
|
161
|
+
i0.ɵɵtext(27);
|
|
162
|
+
i0.ɵɵelementEnd();
|
|
163
|
+
i0.ɵɵelementStart(28, "dt");
|
|
164
|
+
i0.ɵɵtext(29, "Last attested");
|
|
165
|
+
i0.ɵɵelementEnd();
|
|
166
|
+
i0.ɵɵelementStart(30, "dd");
|
|
167
|
+
i0.ɵɵtext(31);
|
|
168
|
+
i0.ɵɵconditionalCreate(32, MJOProgressPageComponent_Conditional_13_Conditional_32_Template, 1, 1);
|
|
169
|
+
i0.ɵɵelementEnd()();
|
|
170
|
+
i0.ɵɵelementStart(33, "div", 18)(34, "label", 19)(35, "span", 20);
|
|
171
|
+
i0.ɵɵtext(36, "Period");
|
|
115
172
|
i0.ɵɵelementEnd();
|
|
116
|
-
i0.ɵɵ
|
|
117
|
-
i0.ɵɵ
|
|
118
|
-
i0.ɵɵ
|
|
119
|
-
i0.ɵɵ
|
|
173
|
+
i0.ɵɵelementStart(37, "input", 21);
|
|
174
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJOProgressPageComponent_Conditional_13_Template_input_ngModelChange_37_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.MeasurementDate, $event) || (ctx_r1.MeasurementDate = $event); return i0.ɵɵresetView($event); });
|
|
175
|
+
i0.ɵɵlistener("ngModelChange", function MJOProgressPageComponent_Conditional_13_Template_input_ngModelChange_37_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.Draft = null); });
|
|
176
|
+
i0.ɵɵelementEnd()();
|
|
177
|
+
i0.ɵɵelementStart(38, "label", 19)(39, "span", 20);
|
|
178
|
+
i0.ɵɵtext(40, "Complete to date (%)");
|
|
179
|
+
i0.ɵɵelementEnd();
|
|
180
|
+
i0.ɵɵelementStart(41, "input", 22);
|
|
181
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJOProgressPageComponent_Conditional_13_Template_input_ngModelChange_41_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.PercentInput, $event) || (ctx_r1.PercentInput = $event); return i0.ɵɵresetView($event); });
|
|
182
|
+
i0.ɵɵlistener("ngModelChange", function MJOProgressPageComponent_Conditional_13_Template_input_ngModelChange_41_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.Draft = null); });
|
|
183
|
+
i0.ɵɵelementEnd()()();
|
|
184
|
+
i0.ɵɵconditionalCreate(42, MJOProgressPageComponent_Conditional_13_Conditional_42_Template, 3, 2, "label", 23);
|
|
185
|
+
i0.ɵɵconditionalCreate(43, MJOProgressPageComponent_Conditional_13_Conditional_43_Template, 3, 2, "div", 24);
|
|
186
|
+
i0.ɵɵconditionalCreate(44, MJOProgressPageComponent_Conditional_13_Conditional_44_Template, 5, 1, "div", 25);
|
|
187
|
+
i0.ɵɵconditionalCreate(45, MJOProgressPageComponent_Conditional_13_Conditional_45_Template, 3, 1, "div", 24);
|
|
188
|
+
i0.ɵɵconditionalCreate(46, MJOProgressPageComponent_Conditional_13_Conditional_46_Template, 3, 1, "div", 24);
|
|
189
|
+
i0.ɵɵconditionalCreate(47, MJOProgressPageComponent_Conditional_13_Conditional_47_Template, 3, 1, "div", 24);
|
|
190
|
+
i0.ɵɵelementStart(48, "div", 26)(49, "button", 27);
|
|
191
|
+
i0.ɵɵlistener("click", function MJOProgressPageComponent_Conditional_13_Template_button_click_49_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.PostSelected()); });
|
|
192
|
+
i0.ɵɵelement(50, "i", 28);
|
|
193
|
+
i0.ɵɵtext(51);
|
|
194
|
+
i0.ɵɵelementEnd();
|
|
195
|
+
i0.ɵɵelementStart(52, "button", 29);
|
|
196
|
+
i0.ɵɵlistener("click", function MJOProgressPageComponent_Conditional_13_Template_button_click_52_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.PreviewSelected()); });
|
|
197
|
+
i0.ɵɵelement(53, "i", 30);
|
|
198
|
+
i0.ɵɵtext(54, " Preview ");
|
|
199
|
+
i0.ɵɵelementEnd()()()();
|
|
120
200
|
} if (rf & 2) {
|
|
121
|
-
let
|
|
122
|
-
let
|
|
123
|
-
let
|
|
201
|
+
let tmp_18_0;
|
|
202
|
+
let tmp_19_0;
|
|
203
|
+
let tmp_20_0;
|
|
124
204
|
const row_r4 = ctx;
|
|
125
|
-
const
|
|
205
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
206
|
+
i0.ɵɵadvance();
|
|
207
|
+
i0.ɵɵproperty("Title", row_r4.OrderNumber + " \u00B7 line " + row_r4.LineNumber)("Chip", ctx_r1.percent(row_r4.LastPercentComplete) + " complete")("ChipClass", row_r4.LastPercentComplete > 0 ? "mjo-chip--success" : "mjo-chip--outline");
|
|
208
|
+
i0.ɵɵadvance(5);
|
|
209
|
+
i0.ɵɵtextInterpolate(row_r4.ProductName);
|
|
210
|
+
i0.ɵɵadvance(4);
|
|
211
|
+
i0.ɵɵtextInterpolate(row_r4.CustomerName);
|
|
212
|
+
i0.ɵɵadvance(5);
|
|
213
|
+
i0.ɵɵtextInterpolate(row_r4.OrderNumber);
|
|
214
|
+
i0.ɵɵadvance(4);
|
|
215
|
+
i0.ɵɵtextInterpolate(row_r4.CompanyName || "\u2014");
|
|
216
|
+
i0.ɵɵadvance(4);
|
|
217
|
+
i0.ɵɵtextInterpolate(ctx_r1.money(row_r4.LineAmount));
|
|
218
|
+
i0.ɵɵadvance(4);
|
|
219
|
+
i0.ɵɵtextInterpolate2("", ctx_r1.money(row_r4.RecognizedToDate), " \u00B7 ", ctx_r1.money(row_r4.LineAmount - row_r4.RecognizedToDate), " still deferred");
|
|
220
|
+
i0.ɵɵadvance(4);
|
|
221
|
+
i0.ɵɵtextInterpolate1(" ", row_r4.LastMeasurementDate ? ctx_r1.date(row_r4.LastMeasurementDate) + " at " + ctx_r1.percent(row_r4.LastPercentComplete) : "Never", " ");
|
|
222
|
+
i0.ɵɵadvance();
|
|
223
|
+
i0.ɵɵconditional(row_r4.LastAttestedBy ? 32 : -1);
|
|
224
|
+
i0.ɵɵadvance(5);
|
|
225
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.MeasurementDate);
|
|
226
|
+
i0.ɵɵadvance(4);
|
|
227
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.PercentInput);
|
|
126
228
|
i0.ɵɵadvance();
|
|
127
|
-
i0.ɵɵ
|
|
229
|
+
i0.ɵɵconditional(ctx_r1.CanSupersede && row_r4.LastMeasurementID ? 42 : -1);
|
|
128
230
|
i0.ɵɵadvance();
|
|
129
|
-
i0.ɵɵconditional(
|
|
231
|
+
i0.ɵɵconditional(ctx_r1.Supersede && row_r4.LastMeasurementDate ? 43 : -1);
|
|
130
232
|
i0.ɵɵadvance();
|
|
131
|
-
i0.ɵɵconditional(
|
|
233
|
+
i0.ɵɵconditional(ctx_r1.Draft ? 44 : -1);
|
|
132
234
|
i0.ɵɵadvance();
|
|
133
|
-
i0.ɵɵconditional((
|
|
235
|
+
i0.ɵɵconditional((tmp_18_0 = ctx_r1.reversalNote(ctx_r1.Draft, row_r4)) ? 45 : -1, tmp_18_0);
|
|
134
236
|
i0.ɵɵadvance();
|
|
135
|
-
i0.ɵɵconditional((
|
|
237
|
+
i0.ɵɵconditional((tmp_19_0 = ctx_r1.Draft == null ? null : ctx_r1.Draft.FutureDateWarning) ? 46 : -1, tmp_19_0);
|
|
238
|
+
i0.ɵɵadvance();
|
|
239
|
+
i0.ɵɵconditional((tmp_20_0 = ctx_r1.Draft == null ? null : ctx_r1.Draft.BackDatedWarning) ? 47 : -1, tmp_20_0);
|
|
240
|
+
i0.ɵɵadvance(2);
|
|
241
|
+
i0.ɵɵproperty("disabled", !ctx_r1.CanSubmit || ctx_r1.Busy);
|
|
242
|
+
i0.ɵɵadvance(2);
|
|
243
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.Busy ? "Working\u2026" : "Attest and post", " ");
|
|
136
244
|
i0.ɵɵadvance();
|
|
137
|
-
i0.ɵɵ
|
|
245
|
+
i0.ɵɵproperty("disabled", !ctx_r1.CanSubmit || ctx_r1.Busy);
|
|
138
246
|
} }
|
|
247
|
+
const PROGRESS_STATE_KEY = 'mjOrders.progressAttestation.view';
|
|
248
|
+
/** Which lines a quick filter keeps, by when they were last attested. `monthStart` is the first day of the business month. */
|
|
249
|
+
export function MatchesAttestationFilter(row, filter, monthStart) {
|
|
250
|
+
const last = row.LastMeasurementDate ? String(row.LastMeasurementDate).slice(0, 10) : null;
|
|
251
|
+
switch (filter) {
|
|
252
|
+
case 'due':
|
|
253
|
+
return !last || last < monthStart;
|
|
254
|
+
case 'never':
|
|
255
|
+
return !last;
|
|
256
|
+
default:
|
|
257
|
+
return true;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
139
260
|
/**
|
|
140
261
|
* `mjo-progress-page` — the monthly progress attestation (AIDP-26, plan §9.4 version 1).
|
|
141
262
|
*
|
|
@@ -145,6 +266,10 @@ function MJOProgressPageComponent_Conditional_27_Template(rf, ctx) { if (rf & 1)
|
|
|
145
266
|
* percent — forwards or backwards — through `Orders.RecordProgress`; a posted observation is
|
|
146
267
|
* immutable, so the confirmation is the last chance to look.
|
|
147
268
|
*
|
|
269
|
+
* THE LINE OPENS BESIDE THE LIST. Its facts, the two inputs, the preview and the warnings sit
|
|
270
|
+
* together in a side panel, so what is about to be posted is read next to the line it is posted
|
|
271
|
+
* against, not in a toolbar above every other line.
|
|
272
|
+
*
|
|
148
273
|
* POSTING IS THE IRREVERSIBLE STEP, so it asks first — through `MJConfirmService`, never
|
|
149
274
|
* `window.confirm`, which throws under the Electron host.
|
|
150
275
|
*
|
|
@@ -160,9 +285,9 @@ function MJOProgressPageComponent_Conditional_27_Template(rf, ctx) { if (rf & 1)
|
|
|
160
285
|
* post, supersede included. The screen shows the refusal's message as the error notice, as it does
|
|
161
286
|
* every refusal.
|
|
162
287
|
*
|
|
163
|
-
* A LINE AT 100% IS STILL SUPERSEDABLE, so the same users get "Show
|
|
164
|
-
* completed lines by default, and a mistyped 100% would otherwise leave the only screen that
|
|
165
|
-
* correct it. The tiles count open lines either way.
|
|
288
|
+
* A LINE AT 100% IS STILL SUPERSEDABLE, so the same users get "Show completed lines": the worklist
|
|
289
|
+
* omits completed lines by default, and a mistyped 100% would otherwise leave the only screen that
|
|
290
|
+
* can correct it. The tiles count open lines either way.
|
|
166
291
|
*
|
|
167
292
|
* A DATE AFTER TODAY, OR TWO OR MORE MONTHS BACK, WARNS. Neither is blocked, but a mistyped year is
|
|
168
293
|
* the mistake that made supersede necessary, so both warnings ride the preview, the confirm and the
|
|
@@ -171,7 +296,7 @@ function MJOProgressPageComponent_Conditional_27_Template(rf, ctx) { if (rf & 1)
|
|
|
171
296
|
* ## Example
|
|
172
297
|
*
|
|
173
298
|
* ```html
|
|
174
|
-
* <mjo-progress-page (OrderOpened)="open($event)" />
|
|
299
|
+
* <mjo-progress-page (OrderOpened)="open($event)" (AddressChanged)="write($event)" />
|
|
175
300
|
* ```
|
|
176
301
|
*/
|
|
177
302
|
export class MJOProgressPageComponent {
|
|
@@ -179,8 +304,9 @@ export class MJOProgressPageComponent {
|
|
|
179
304
|
cdr = inject(ChangeDetectorRef);
|
|
180
305
|
confirm = inject(MJConfirmService);
|
|
181
306
|
OrderOpened = new EventEmitter();
|
|
307
|
+
/** The company choice changed: the section writes it to the tab's address. A null value removes the key. */
|
|
308
|
+
AddressChanged = new EventEmitter();
|
|
182
309
|
String = String;
|
|
183
|
-
FormatDate = FormatDate;
|
|
184
310
|
LoadError = null;
|
|
185
311
|
Notice = null;
|
|
186
312
|
Truncated = false;
|
|
@@ -191,30 +317,99 @@ export class MJOProgressPageComponent {
|
|
|
191
317
|
Supersede = false;
|
|
192
318
|
/** When set, lines already attested at 100% are listed too — only offered to users who can supersede. */
|
|
193
319
|
ShowComplete = false;
|
|
320
|
+
Loading = false;
|
|
321
|
+
/** Every line the operation returned. */
|
|
322
|
+
AllRows = [];
|
|
323
|
+
/** `AllRows` under the company filter and the search. The tiles count these. */
|
|
324
|
+
Scoped = [];
|
|
325
|
+
/** `Scoped` under the quick filter, in the sorted order. What the table lists and the export writes. */
|
|
194
326
|
Rows = [];
|
|
327
|
+
Companies = [];
|
|
328
|
+
/** The chosen companies that are offered: what the filter shows. */
|
|
329
|
+
CompanyPicks = [];
|
|
330
|
+
/** The company choice as chosen, shared across Receivables. */
|
|
331
|
+
companyChoice = [];
|
|
332
|
+
Search = '';
|
|
333
|
+
/** The quick filter: only lines with no observation this month. */
|
|
334
|
+
DueOnly = false;
|
|
335
|
+
/** Open lines not attested this month, and of those the ones never attested. Fields, rebuilt with the rows. */
|
|
336
|
+
DueCount = 0;
|
|
337
|
+
NeverCount = 0;
|
|
338
|
+
/** The totals row. A field: a getter would hand the table a new object on every pass. */
|
|
339
|
+
Totals = null;
|
|
340
|
+
/** The column the list is sorted on; a null key is the order the operation returned. */
|
|
341
|
+
Sort = { Key: null, Descending: false };
|
|
342
|
+
/** The line open in the side panel. */
|
|
195
343
|
Selected = null;
|
|
196
344
|
MeasurementDate = Today();
|
|
197
345
|
PercentInput = null;
|
|
198
346
|
/** The last preview for the current inputs; cleared whenever they change. */
|
|
199
347
|
Draft = null;
|
|
348
|
+
address = {};
|
|
349
|
+
companyKey = new AddressKey(COMPANY_ADDRESS_KEY);
|
|
350
|
+
/** Counts loads, so a slow answer to an earlier read cannot overwrite a later one. */
|
|
351
|
+
loadSeq = 0;
|
|
352
|
+
ready = false;
|
|
200
353
|
Columns = [
|
|
201
|
-
{ Key: 'OrderNumber', Label: 'Order', Kind: '
|
|
202
|
-
{ Key: 'ProductName', Label: 'Project' },
|
|
203
|
-
{ Key: 'CustomerName', Label: 'Customer', HideBelow: 760 },
|
|
204
|
-
{ Key: 'CompanyName', Label: 'Sold by', HideBelow: 1000 },
|
|
205
|
-
{ Key: 'LineAmount', Label: 'Contract', Kind: 'money', Width: '120px', Format: (r) => FormatMoney(r.LineAmount) },
|
|
206
|
-
{ Key: 'LastMeasurementDate', Label: 'Last attested', Kind: 'date', Width: '130px', Format: (r) => (r.LastMeasurementDate ?
|
|
207
|
-
{ Key: 'LastPercentComplete', Label: 'Complete', Kind: 'chip', Width: '
|
|
208
|
-
{ Key: 'RecognizedToDate', Label: 'Recognized', Kind: 'money', Width: '
|
|
354
|
+
{ Key: 'OrderNumber', Label: 'Order', Kind: 'link', LinkHint: 'Open the order', Width: '130px', Sortable: true, Secondary: (r) => `line ${r.LineNumber}` },
|
|
355
|
+
{ Key: 'ProductName', Label: 'Project', Sortable: true },
|
|
356
|
+
{ Key: 'CustomerName', Label: 'Customer', HideBelow: 760, Sortable: true },
|
|
357
|
+
{ Key: 'CompanyName', Label: 'Sold by', HideBelow: 1000, Sortable: true },
|
|
358
|
+
{ Key: 'LineAmount', Label: 'Contract', Kind: 'money', Width: '120px', Sortable: true, Format: (r) => FormatMoney(r.LineAmount) },
|
|
359
|
+
{ Key: 'LastMeasurementDate', Label: 'Last attested', Kind: 'date', Width: '130px', Sortable: true, Format: (r) => (r.LastMeasurementDate ? this.date(r.LastMeasurementDate) : 'Never'), Secondary: (r) => (r.LastAttestedBy ? `by ${r.LastAttestedBy}` : null) },
|
|
360
|
+
{ Key: 'LastPercentComplete', Label: 'Complete', Kind: 'chip', Width: '110px', Sortable: true, Format: (r) => this.percent(r.LastPercentComplete), ChipClass: (r) => (r.LastPercentComplete > 0 ? 'mjo-chip--success' : 'mjo-chip--outline') },
|
|
361
|
+
{ Key: 'RecognizedToDate', Label: 'Recognized', Kind: 'money', Width: '130px', HideBelow: 560, Sortable: true, Format: (r) => FormatMoney(r.RecognizedToDate) },
|
|
362
|
+
];
|
|
363
|
+
exportFields = [
|
|
364
|
+
{ Name: 'OrderNumber', Label: 'Order', Value: (r) => r.OrderNumber },
|
|
365
|
+
{ Name: 'LineNumber', Label: 'Line', Type: 'number', Value: (r) => r.LineNumber },
|
|
366
|
+
{ Name: 'ProductName', Label: 'Project', Value: (r) => r.ProductName },
|
|
367
|
+
{ Name: 'CustomerName', Label: 'Customer', Value: (r) => r.CustomerName },
|
|
368
|
+
{ Name: 'CompanyName', Label: 'Sold by', Value: (r) => r.CompanyName },
|
|
369
|
+
{ Name: 'LineAmount', Label: 'Contract', Type: 'money', Value: (r) => r.LineAmount },
|
|
370
|
+
{ Name: 'LastMeasurementDate', Label: 'Last attested', Type: 'date', Value: (r) => r.LastMeasurementDate },
|
|
371
|
+
{ Name: 'LastAttestedBy', Label: 'Attested by', Value: (r) => r.LastAttestedBy },
|
|
372
|
+
{ Name: 'PercentComplete', Label: 'Complete (%)', Type: 'number', Value: (r) => Math.round(r.LastPercentComplete * 10000) / 100 },
|
|
373
|
+
{ Name: 'RecognizedToDate', Label: 'Recognized', Type: 'money', Value: (r) => r.RecognizedToDate },
|
|
374
|
+
{ Name: 'StillDeferred', Label: 'Still deferred', Type: 'money', Value: (r) => Math.round((r.LineAmount - r.RecognizedToDate) * 100) / 100 },
|
|
375
|
+
{ Name: 'ServicePeriodStart', Label: 'Service starts', Type: 'date', Value: (r) => r.ServicePeriodStart },
|
|
376
|
+
{ Name: 'ServicePeriodEnd', Label: 'Service ends', Type: 'date', Value: (r) => r.ServicePeriodEnd },
|
|
209
377
|
];
|
|
378
|
+
/** The lines listed, as an export file. A field, so the bar is handed the same function every pass. */
|
|
379
|
+
BuildExport = (format) => ({
|
|
380
|
+
FileName: ExportFileName('progress-attestation', this.CompanyPicks, this.Companies, Today()),
|
|
381
|
+
...BuildWorklistExport(this.exportFields, this.Rows, format),
|
|
382
|
+
});
|
|
210
383
|
async ngOnInit() {
|
|
384
|
+
const saved = ReadWorklistState(globalThis.localStorage, PROGRESS_STATE_KEY);
|
|
385
|
+
if (saved)
|
|
386
|
+
this.Sort = RestoreSort(saved.Sort, this.Columns);
|
|
387
|
+
this.adoptAddress();
|
|
211
388
|
await this.load();
|
|
389
|
+
// An address that arrived while that first load was out was kept, not followed. Follow it now.
|
|
390
|
+
this.adoptAddress();
|
|
391
|
+
this.applyView();
|
|
392
|
+
this.ready = true;
|
|
393
|
+
this.cdr.detectChanges();
|
|
394
|
+
}
|
|
395
|
+
/** The tab's address, from the section: `company` is the company choice every Receivables page shares. */
|
|
396
|
+
ApplyAddress(params) {
|
|
397
|
+
this.address = params;
|
|
398
|
+
if (!this.ready)
|
|
399
|
+
return;
|
|
400
|
+
this.adoptAddress();
|
|
401
|
+
this.applyView();
|
|
402
|
+
// Back, Forward and links arrive outside any event of this page's own, so nothing else repaints it.
|
|
212
403
|
this.cdr.detectChanges();
|
|
213
404
|
}
|
|
214
405
|
/* ── Tiles ──────────────────────────────────────────────────────────── */
|
|
215
406
|
/** The lines still below 100% — what the tiles describe, whether or not completed lines are shown. */
|
|
216
407
|
get OpenRows() {
|
|
217
|
-
return this.
|
|
408
|
+
return this.Scoped.filter((r) => r.LastPercentComplete < 1);
|
|
409
|
+
}
|
|
410
|
+
/** "3 of 12 lines shown", beside the filters. */
|
|
411
|
+
get Summary() {
|
|
412
|
+
return this.LoadError || (this.Loading && !this.AllRows.length) ? '' : ShownSummary(this.Rows.length, this.AllRows.length, 'line');
|
|
218
413
|
}
|
|
219
414
|
get TotalAmount() {
|
|
220
415
|
return this.OpenRows.reduce((s, r) => s + r.LineAmount, 0);
|
|
@@ -229,19 +424,52 @@ export class MJOProgressPageComponent {
|
|
|
229
424
|
const p = Number(this.PercentInput);
|
|
230
425
|
return !!this.Selected && !!this.MeasurementDate && this.PercentInput !== null && Number.isFinite(p) && p >= 0 && p <= 100;
|
|
231
426
|
}
|
|
427
|
+
/* ── Filters ────────────────────────────────────────────────────────── */
|
|
428
|
+
OnCompanies(picks) {
|
|
429
|
+
this.companyChoice = picks;
|
|
430
|
+
WriteSharedCompanies(globalThis.localStorage, picks);
|
|
431
|
+
this.AddressChanged.emit(this.companyKey.Write(CompaniesToAddress(picks)));
|
|
432
|
+
this.applyView();
|
|
433
|
+
}
|
|
434
|
+
OnSearch(text) {
|
|
435
|
+
this.Search = text;
|
|
436
|
+
this.applyView();
|
|
437
|
+
}
|
|
438
|
+
OnDueOnly(on) {
|
|
439
|
+
this.DueOnly = on;
|
|
440
|
+
this.applyView();
|
|
441
|
+
}
|
|
442
|
+
OnSort(key) {
|
|
443
|
+
this.Sort = NextSort(this.Sort, key, this.Columns);
|
|
444
|
+
WriteWorklistState(globalThis.localStorage, PROGRESS_STATE_KEY, { Window: null, Sort: this.Sort });
|
|
445
|
+
this.applyView();
|
|
446
|
+
}
|
|
447
|
+
async Refresh() {
|
|
448
|
+
this.Notice = null;
|
|
449
|
+
await this.load();
|
|
450
|
+
this.cdr.detectChanges();
|
|
451
|
+
}
|
|
232
452
|
/* ── Actions ────────────────────────────────────────────────────────── */
|
|
453
|
+
/** Clicking a line opens it beside the list with its last percent ready to change; clicking the open line closes it. */
|
|
233
454
|
Select(row) {
|
|
455
|
+
if (this.Selected?.OrderLineID === row.OrderLineID) {
|
|
456
|
+
this.Close();
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
234
459
|
this.Selected = row;
|
|
235
460
|
this.PercentInput = Math.round(row.LastPercentComplete * 10000) / 100;
|
|
236
461
|
this.Supersede = false;
|
|
237
462
|
this.Draft = null;
|
|
238
463
|
this.Notice = null;
|
|
239
464
|
}
|
|
240
|
-
|
|
241
|
-
this.ShowComplete = !this.ShowComplete;
|
|
465
|
+
Close() {
|
|
242
466
|
this.Selected = null;
|
|
243
467
|
this.Supersede = false;
|
|
244
468
|
this.Draft = null;
|
|
469
|
+
}
|
|
470
|
+
async ToggleShowComplete() {
|
|
471
|
+
this.ShowComplete = !this.ShowComplete;
|
|
472
|
+
this.Close();
|
|
245
473
|
await this.load();
|
|
246
474
|
this.cdr.detectChanges();
|
|
247
475
|
}
|
|
@@ -249,9 +477,8 @@ export class MJOProgressPageComponent {
|
|
|
249
477
|
this.Supersede = !this.Supersede;
|
|
250
478
|
this.Draft = null;
|
|
251
479
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
this.OrderOpened.emit({ ID: this.Selected.OrderHeaderID });
|
|
480
|
+
OpenOrder(row) {
|
|
481
|
+
this.OrderOpened.emit({ ID: row.OrderHeaderID });
|
|
255
482
|
}
|
|
256
483
|
async PreviewSelected() {
|
|
257
484
|
const output = await this.record(true);
|
|
@@ -266,19 +493,19 @@ export class MJOProgressPageComponent {
|
|
|
266
493
|
const draft = this.Draft ?? (await this.record(true));
|
|
267
494
|
if (!draft)
|
|
268
495
|
return;
|
|
269
|
-
const superseding = this.Supersede && row.LastMeasurementDate ? `,
|
|
496
|
+
const superseding = this.Supersede && row.LastMeasurementDate ? `, replacing the ${this.date(row.LastMeasurementDate)} observation` : '';
|
|
270
497
|
const warnings = [this.reversalNote(draft, row), draft.FutureDateWarning, draft.BackDatedWarning].filter((w) => !!w);
|
|
271
498
|
const proceed = await this.confirm.Confirm({
|
|
272
499
|
title: `Attest ${row.OrderNumber} line ${row.LineNumber} at ${this.percent(Number(this.PercentInput) / 100)}${superseding}?`,
|
|
273
500
|
message: draft.Message ?? '',
|
|
274
|
-
// THE WARNING RIDES THE CONFIRM, not just the
|
|
501
|
+
// THE WARNING RIDES THE CONFIRM, not just the panel beside the table. It is advisory —
|
|
275
502
|
// an unusual date is not blocked — so the one place it has to be unmissable is the
|
|
276
503
|
// moment before the entry is written, which is exactly where this dialog sits.
|
|
277
|
-
detail: `Signed by you, dated ${
|
|
278
|
-
(this.CanSupersede ? ', or a
|
|
504
|
+
detail: `Signed by you, dated ${this.date(this.MeasurementDate)}. A posted observation cannot be changed; a correction is a new observation in a later period` +
|
|
505
|
+
(this.CanSupersede ? ', or a replacement of this one.' : '.') +
|
|
279
506
|
warnings.map((w) => `\n\n${w}`).join(''),
|
|
280
507
|
type: 'warning',
|
|
281
|
-
confirmText: 'Attest
|
|
508
|
+
confirmText: 'Attest and post',
|
|
282
509
|
cancelText: 'Not yet',
|
|
283
510
|
});
|
|
284
511
|
if (!proceed)
|
|
@@ -290,9 +517,7 @@ export class MJOProgressPageComponent {
|
|
|
290
517
|
this.Notice = after.length
|
|
291
518
|
? { Tone: 'warning', Text: `${output.Message ?? 'Posted.'} ${after.join(' ')}` }
|
|
292
519
|
: { Tone: 'success', Text: output.Message ?? 'Posted.' };
|
|
293
|
-
this.
|
|
294
|
-
this.Supersede = false;
|
|
295
|
-
this.Draft = null;
|
|
520
|
+
this.Close();
|
|
296
521
|
await this.load();
|
|
297
522
|
this.cdr.detectChanges();
|
|
298
523
|
}
|
|
@@ -305,10 +530,10 @@ export class MJOProgressPageComponent {
|
|
|
305
530
|
return null;
|
|
306
531
|
const replaced = row.LastMeasurementDate ? row.LastMeasurementDate.slice(0, 10) : null;
|
|
307
532
|
const amount = this.money(Math.abs(draft.ReversalAmount));
|
|
308
|
-
const on =
|
|
533
|
+
const on = this.date(draft.ReversalDate);
|
|
309
534
|
return !replaced || replaced === draft.ReversalDate
|
|
310
535
|
? `The ${amount} reversal is dated ${on}, the replaced observation's own date.`
|
|
311
|
-
: `The ${amount} reversal is dated ${on}: finance has closed the ${
|
|
536
|
+
: `The ${amount} reversal is dated ${on}: finance has closed the ${this.date(replaced)} observation's month, ` +
|
|
312
537
|
`so the reversal books on the first open day.`;
|
|
313
538
|
}
|
|
314
539
|
/** One call shape for both buttons. Returns null (and shows why) when the operation refused. */
|
|
@@ -340,21 +565,77 @@ export class MJOProgressPageComponent {
|
|
|
340
565
|
}
|
|
341
566
|
/* ── Loading ────────────────────────────────────────────────────────── */
|
|
342
567
|
async load() {
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
568
|
+
const seq = ++this.loadSeq;
|
|
569
|
+
this.Loading = true;
|
|
570
|
+
this.cdr.detectChanges();
|
|
571
|
+
try {
|
|
572
|
+
const result = await new OrdersGetProgressWorklistOperation().Execute({ IncludeComplete: this.ShowComplete });
|
|
573
|
+
if (seq !== this.loadSeq)
|
|
574
|
+
return;
|
|
575
|
+
const output = result.Output;
|
|
576
|
+
if (!result.Success || !output?.Success) {
|
|
577
|
+
// SAY SO. An empty worklist and a failed one look identical, and "nothing to attest" is
|
|
578
|
+
// the most reassuring sentence on the screen.
|
|
579
|
+
this.LoadError = output?.Message?.trim() || result.ErrorMessage?.trim() || 'The progress worklist could not be loaded.';
|
|
580
|
+
this.AllRows = [];
|
|
581
|
+
this.applyView();
|
|
582
|
+
this.cdr.detectChanges();
|
|
583
|
+
return;
|
|
584
|
+
}
|
|
585
|
+
this.LoadError = null;
|
|
586
|
+
this.AllRows = output.Rows;
|
|
587
|
+
this.Truncated = output.Truncated;
|
|
588
|
+
this.CanSupersede = output.CanSupersede;
|
|
589
|
+
this.applyView();
|
|
350
590
|
this.cdr.detectChanges();
|
|
351
|
-
return;
|
|
352
591
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
592
|
+
finally {
|
|
593
|
+
if (seq === this.loadSeq)
|
|
594
|
+
this.Loading = false;
|
|
595
|
+
this.cdr.detectChanges();
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
/** Take the company choice from the tab's address; see the Billing worklist for the rule. */
|
|
599
|
+
adoptAddress() {
|
|
600
|
+
const picks = AdoptCompanyChoice(this.companyKey, this.address, globalThis.localStorage);
|
|
601
|
+
if (!SameChoice(picks, this.companyChoice))
|
|
602
|
+
this.companyChoice = picks;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Rebuild what is listed from what was loaded: company and search narrow the lines the tiles
|
|
606
|
+
* count; the quick filter and the sort then decide what the table shows. An open line the
|
|
607
|
+
* filters hide is closed with its draft, so nothing is attested against a row that is not on screen.
|
|
608
|
+
*/
|
|
609
|
+
applyView() {
|
|
610
|
+
const companies = ReconcileCompanies(this.AllRows, { ID: (r) => r.CompanyID, Name: (r) => r.CompanyName }, this.companyChoice);
|
|
611
|
+
this.Companies = companies.Options;
|
|
612
|
+
this.CompanyPicks = companies.Picks;
|
|
613
|
+
this.Scoped = FilterByCompanies(this.AllRows, this.CompanyPicks, (r) => r.CompanyID).filter((r) => MatchesText([r.ProductName, r.CustomerName, r.OrderNumber], this.Search));
|
|
614
|
+
const monthStart = `${Today().slice(0, 7)}-01`;
|
|
615
|
+
const open = this.Scoped.filter((r) => r.LastPercentComplete < 1);
|
|
616
|
+
this.DueCount = open.filter((r) => MatchesAttestationFilter(r, 'due', monthStart)).length;
|
|
617
|
+
this.NeverCount = open.filter((r) => MatchesAttestationFilter(r, 'never', monthStart)).length;
|
|
618
|
+
const shown = this.DueOnly ? this.Scoped.filter((r) => r.LastPercentComplete < 1 && MatchesAttestationFilter(r, 'due', monthStart)) : this.Scoped;
|
|
619
|
+
this.Rows = SortRows(shown, this.Columns, this.Sort);
|
|
620
|
+
this.Totals = {
|
|
621
|
+
OrderNumber: 'Total',
|
|
622
|
+
ProductName: `${this.Rows.length} line${this.Rows.length === 1 ? '' : 's'}`,
|
|
623
|
+
LineAmount: FormatMoney(this.Rows.reduce((s, r) => s + r.LineAmount, 0)),
|
|
624
|
+
RecognizedToDate: FormatMoney(this.Rows.reduce((s, r) => s + r.RecognizedToDate, 0)),
|
|
625
|
+
};
|
|
626
|
+
if (this.Selected) {
|
|
627
|
+
const key = this.Selected.OrderLineID;
|
|
628
|
+
const still = this.Rows.find((r) => r.OrderLineID === key) ?? null;
|
|
629
|
+
if (still)
|
|
630
|
+
this.Selected = still;
|
|
631
|
+
else
|
|
632
|
+
this.Close();
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
/* ── Display helpers ────────────────────────────────────────────────── */
|
|
636
|
+
/** Every date on the page reads MM/DD/YYYY, as on Customer A/R. */
|
|
637
|
+
date(value) {
|
|
638
|
+
return value ? FormatDate(value, { Numeric: true }) : '—';
|
|
358
639
|
}
|
|
359
640
|
money(value, round = false) {
|
|
360
641
|
return FormatMoney(value, { Round: round });
|
|
@@ -363,93 +644,100 @@ export class MJOProgressPageComponent {
|
|
|
363
644
|
return `${(Math.round(fraction * 10000) / 100).toString()}%`;
|
|
364
645
|
}
|
|
365
646
|
static ɵfac = function MJOProgressPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOProgressPageComponent)(); };
|
|
366
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOProgressPageComponent, selectors: [["mjo-progress-page"]], outputs: { OrderOpened: "OrderOpened" }, decls:
|
|
367
|
-
i0.ɵɵelementStart(0, "
|
|
368
|
-
i0.ɵɵ
|
|
369
|
-
i0.ɵɵ
|
|
370
|
-
i0.ɵɵconditionalCreate(4, MJOProgressPageComponent_Conditional_4_Template, 4, 1, "mj-alert", 4);
|
|
371
|
-
i0.ɵɵconditionalCreate(5, MJOProgressPageComponent_Conditional_5_Template, 2, 2, "mj-alert", 5);
|
|
372
|
-
i0.ɵɵconditionalCreate(6, MJOProgressPageComponent_Conditional_6_Template, 4, 0, "mj-alert", 6);
|
|
373
|
-
i0.ɵɵelementStart(7, "div", 7)(8, "button", 8);
|
|
374
|
-
i0.ɵɵlistener("click", function MJOProgressPageComponent_Template_button_click_8_listener() { return ctx.OpenSelected(); });
|
|
375
|
-
i0.ɵɵelement(9, "i", 9);
|
|
376
|
-
i0.ɵɵtext(10, " Open order ");
|
|
647
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOProgressPageComponent, selectors: [["mjo-progress-page"]], outputs: { OrderOpened: "OrderOpened", AddressChanged: "AddressChanged" }, decls: 14, vars: 33, consts: [["SearchPlaceholder", "Search project, customer or order number", 3, "CompanyPicksChange", "SearchChange", "ActiveFilterCleared", "RefreshRequested", "Companies", "CompanyPicks", "Search", "ActiveFilter", "Summary", "Loading", "BuildExport", "CanExport"], [1, "mjo-pg__toggle", "small"], [1, "mj-stat-grid", "mjo-pg__tiles"], ["Hint", "Show every open line", "Label", "Open project lines", "Icon", "fa-solid fa-diagram-project", "Detail", "Percentage of completion, below 100%", 1, "mjo-pg__tile", 3, "Clicked", "Value"], ["Hint", "Show lines with no observation this month", "Label", "Not attested this month", "Icon", "fa-regular fa-calendar-xmark", 1, "mjo-pg__tile", 3, "Clicked", "Pressed", "Tone", "Value", "Detail"], ["Label", "Contract value", "Icon", "fa-solid fa-file-signature", "Detail", "Across the open lines", 3, "Value"], ["Label", "Recognized to date", "Icon", "fa-solid fa-chart-line", 3, "Value", "Detail"], ["Variant", "error", "Icon", "fa-solid fa-triangle-exclamation", 1, "mjo-pg__note"], ["Icon", "fa-solid fa-circle-info", 1, "mjo-pg__note", 3, "Variant"], ["Variant", "warning", "Icon", "fa-solid fa-triangle-exclamation", 1, "mjo-pg__note"], [1, "mjo-split"], [1, "mjo-split__main"], ["MaxHeight", "calc(100vh - 290px)", "RowKey", "OrderLineID", "EmptyIcon", "fa-solid fa-diagram-project", 3, "SortChanged", "LinkClicked", "RowClicked", "Columns", "Rows", "Searchable", "Loading", "Totals", "SortKey", "SortDescending", "SelectedKey", "EmptyTitle", "EmptyHint"], [1, "mjo-split__side"], ["type", "checkbox", 3, "change", "checked", "disabled"], ["Icon", "fa-solid fa-diagram-project", 3, "Closed", "Title", "Chip", "ChipClass"], [1, "mjo-side-panel__facts"], ["type", "button", "title", "Open the order", 1, "mjo-side-panel__link", 3, "click"], [1, "mjo-pg__form"], [1, "mjo-pg__field"], [1, "small", "muted"], ["type", "date", "name", "measurementDate", "aria-label", "Measurement date", 1, "mj-input", 3, "ngModelChange", "ngModel"], ["type", "number", "min", "0", "max", "100", "step", "0.01", "name", "percent", "aria-label", "Percent complete", 1, "mj-input", "is-num", 3, "ngModelChange", "ngModel"], [1, "mjo-pg__toggle", "small", "mjo-pg__supersede"], ["role", "status", 1, "mjo-pg__closed"], ["role", "status", 1, "mjo-pg__preview"], [1, "mjo-side-panel__actions"], ["type", "button", "mjButton", "", "variant", "primary", 3, "click", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-signature"], ["type", "button", "mjButton", "", "variant", "outline", 3, "click", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-eye"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock-rotate-left"], ["aria-hidden", "true", 1, "fa-solid", "fa-calendar-day"], ["aria-hidden", "true", 1, "fa-solid", "fa-triangle-exclamation"]], template: function MJOProgressPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
648
|
+
i0.ɵɵelementStart(0, "mjo-worklist-bar", 0);
|
|
649
|
+
i0.ɵɵlistener("CompanyPicksChange", function MJOProgressPageComponent_Template_mjo_worklist_bar_CompanyPicksChange_0_listener($event) { return ctx.OnCompanies($event); })("SearchChange", function MJOProgressPageComponent_Template_mjo_worklist_bar_SearchChange_0_listener($event) { return ctx.OnSearch($event); })("ActiveFilterCleared", function MJOProgressPageComponent_Template_mjo_worklist_bar_ActiveFilterCleared_0_listener() { return ctx.OnDueOnly(false); })("RefreshRequested", function MJOProgressPageComponent_Template_mjo_worklist_bar_RefreshRequested_0_listener() { return ctx.Refresh(); });
|
|
650
|
+
i0.ɵɵconditionalCreate(1, MJOProgressPageComponent_Conditional_1_Template, 3, 2, "label", 1);
|
|
377
651
|
i0.ɵɵelementEnd();
|
|
378
|
-
i0.ɵɵelementStart(
|
|
379
|
-
i0.ɵɵ
|
|
652
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "mjo-stat-tile", 3);
|
|
653
|
+
i0.ɵɵlistener("Clicked", function MJOProgressPageComponent_Template_mjo_stat_tile_Clicked_3_listener() { return ctx.OnDueOnly(false); });
|
|
380
654
|
i0.ɵɵelementEnd();
|
|
381
|
-
i0.ɵɵelementStart(
|
|
382
|
-
i0.ɵɵ
|
|
383
|
-
i0.ɵɵlistener("ngModelChange", function MJOProgressPageComponent_Template_input_ngModelChange_14_listener() { return ctx.Draft = null; });
|
|
384
|
-
i0.ɵɵelementEnd()();
|
|
385
|
-
i0.ɵɵelementStart(15, "label", 10)(16, "span", 11);
|
|
386
|
-
i0.ɵɵtext(17, "Complete to date (%)");
|
|
655
|
+
i0.ɵɵelementStart(4, "mjo-stat-tile", 4);
|
|
656
|
+
i0.ɵɵlistener("Clicked", function MJOProgressPageComponent_Template_mjo_stat_tile_Clicked_4_listener() { return ctx.OnDueOnly(!ctx.DueOnly); });
|
|
387
657
|
i0.ɵɵelementEnd();
|
|
388
|
-
i0.ɵɵ
|
|
389
|
-
i0.ɵɵtwoWayListener("ngModelChange", function MJOProgressPageComponent_Template_input_ngModelChange_18_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.PercentInput, $event) || (ctx.PercentInput = $event); return $event; });
|
|
390
|
-
i0.ɵɵlistener("ngModelChange", function MJOProgressPageComponent_Template_input_ngModelChange_18_listener() { return ctx.Draft = null; });
|
|
391
|
-
i0.ɵɵelementEnd()();
|
|
392
|
-
i0.ɵɵconditionalCreate(19, MJOProgressPageComponent_Conditional_19_Template, 3, 3, "button", 14);
|
|
393
|
-
i0.ɵɵconditionalCreate(20, MJOProgressPageComponent_Conditional_20_Template, 3, 3, "button", 14);
|
|
394
|
-
i0.ɵɵelementStart(21, "button", 8);
|
|
395
|
-
i0.ɵɵlistener("click", function MJOProgressPageComponent_Template_button_click_21_listener() { return ctx.PreviewSelected(); });
|
|
396
|
-
i0.ɵɵelement(22, "i", 15);
|
|
397
|
-
i0.ɵɵtext(23, " Preview ");
|
|
658
|
+
i0.ɵɵelement(5, "mjo-stat-tile", 5)(6, "mjo-stat-tile", 6);
|
|
398
659
|
i0.ɵɵelementEnd();
|
|
399
|
-
i0.ɵɵ
|
|
400
|
-
i0.ɵɵ
|
|
401
|
-
i0.ɵɵ
|
|
402
|
-
i0.ɵɵ
|
|
660
|
+
i0.ɵɵconditionalCreate(7, MJOProgressPageComponent_Conditional_7_Template, 4, 1, "mj-alert", 7);
|
|
661
|
+
i0.ɵɵconditionalCreate(8, MJOProgressPageComponent_Conditional_8_Template, 2, 2, "mj-alert", 8);
|
|
662
|
+
i0.ɵɵconditionalCreate(9, MJOProgressPageComponent_Conditional_9_Template, 4, 0, "mj-alert", 9);
|
|
663
|
+
i0.ɵɵelementStart(10, "div", 10)(11, "div", 11)(12, "mjo-worklist-table", 12);
|
|
664
|
+
i0.ɵɵlistener("SortChanged", function MJOProgressPageComponent_Template_mjo_worklist_table_SortChanged_12_listener($event) { return ctx.OnSort($event); })("LinkClicked", function MJOProgressPageComponent_Template_mjo_worklist_table_LinkClicked_12_listener($event) { return ctx.OpenOrder($event.Row); })("RowClicked", function MJOProgressPageComponent_Template_mjo_worklist_table_RowClicked_12_listener($event) { return ctx.Select($event); });
|
|
403
665
|
i0.ɵɵelementEnd()();
|
|
404
|
-
i0.ɵɵconditionalCreate(
|
|
405
|
-
i0.ɵɵelementStart(28, "mjo-worklist-table", 18);
|
|
406
|
-
i0.ɵɵlistener("RowClicked", function MJOProgressPageComponent_Template_mjo_worklist_table_RowClicked_28_listener($event) { return ctx.Select($event); });
|
|
666
|
+
i0.ɵɵconditionalCreate(13, MJOProgressPageComponent_Conditional_13_Template, 55, 23, "div", 13);
|
|
407
667
|
i0.ɵɵelementEnd();
|
|
408
668
|
} if (rf & 2) {
|
|
409
|
-
let
|
|
669
|
+
let tmp_31_0;
|
|
670
|
+
i0.ɵɵproperty("Companies", ctx.Companies)("CompanyPicks", ctx.CompanyPicks)("Search", ctx.Search)("ActiveFilter", ctx.DueOnly ? "Not attested this month" : null)("Summary", ctx.Summary)("Loading", ctx.Loading)("BuildExport", ctx.BuildExport)("CanExport", ctx.Rows.length > 0);
|
|
410
671
|
i0.ɵɵadvance();
|
|
672
|
+
i0.ɵɵconditional(ctx.CanSupersede ? 1 : -1);
|
|
673
|
+
i0.ɵɵadvance(2);
|
|
411
674
|
i0.ɵɵproperty("Value", ctx.String(ctx.OpenRows.length));
|
|
412
675
|
i0.ɵɵadvance();
|
|
676
|
+
i0.ɵɵclassProp("is-on", ctx.DueOnly);
|
|
677
|
+
i0.ɵɵproperty("Pressed", ctx.DueOnly)("Tone", ctx.DueCount ? "alert" : "default")("Value", ctx.String(ctx.DueCount))("Detail", ctx.DueCount ? ctx.NeverCount + " never attested" : "Every open line is attested");
|
|
678
|
+
i0.ɵɵadvance();
|
|
413
679
|
i0.ɵɵproperty("Value", ctx.money(ctx.TotalAmount, true));
|
|
414
680
|
i0.ɵɵadvance();
|
|
415
681
|
i0.ɵɵproperty("Value", ctx.money(ctx.TotalRecognized, true))("Detail", ctx.RemainingDetail);
|
|
416
682
|
i0.ɵɵadvance();
|
|
417
|
-
i0.ɵɵconditional(ctx.LoadError ?
|
|
683
|
+
i0.ɵɵconditional(ctx.LoadError ? 7 : -1);
|
|
418
684
|
i0.ɵɵadvance();
|
|
419
|
-
i0.ɵɵconditional(ctx.Notice ?
|
|
685
|
+
i0.ɵɵconditional(ctx.Notice ? 8 : -1);
|
|
420
686
|
i0.ɵɵadvance();
|
|
421
|
-
i0.ɵɵconditional(ctx.Truncated ?
|
|
422
|
-
i0.ɵɵadvance(2);
|
|
423
|
-
i0.ɵɵproperty("disabled", !ctx.Selected);
|
|
424
|
-
i0.ɵɵadvance(6);
|
|
425
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.MeasurementDate);
|
|
426
|
-
i0.ɵɵproperty("disabled", !ctx.Selected);
|
|
427
|
-
i0.ɵɵadvance(4);
|
|
428
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.PercentInput);
|
|
429
|
-
i0.ɵɵproperty("disabled", !ctx.Selected);
|
|
430
|
-
i0.ɵɵadvance();
|
|
431
|
-
i0.ɵɵconditional(ctx.CanSupersede ? 19 : -1);
|
|
432
|
-
i0.ɵɵadvance();
|
|
433
|
-
i0.ɵɵconditional(ctx.CanSupersede && (ctx.Selected == null ? null : ctx.Selected.LastMeasurementID) ? 20 : -1);
|
|
434
|
-
i0.ɵɵadvance();
|
|
435
|
-
i0.ɵɵproperty("disabled", !ctx.CanSubmit || ctx.Busy);
|
|
687
|
+
i0.ɵɵconditional(ctx.Truncated ? 9 : -1);
|
|
436
688
|
i0.ɵɵadvance(3);
|
|
437
|
-
i0.ɵɵproperty("
|
|
438
|
-
i0.ɵɵadvance(2);
|
|
439
|
-
i0.ɵɵtextInterpolate1(" ", ctx.Busy ? "Working\u2026" : "Attest & post", " ");
|
|
689
|
+
i0.ɵɵproperty("Columns", ctx.Columns)("Rows", ctx.Rows)("Searchable", false)("Loading", ctx.Loading)("Totals", ctx.Totals)("SortKey", ctx.Sort.Key)("SortDescending", ctx.Sort.Descending)("SelectedKey", (ctx.Selected == null ? null : ctx.Selected.OrderLineID) ?? null)("EmptyTitle", ctx.AllRows.length ? "Nothing matches" : "Nothing to attest")("EmptyHint", ctx.AllRows.length ? "No project line matches these filters. Clear one to see more." : "No booked percentage-of-completion line is below 100%.");
|
|
440
690
|
i0.ɵɵadvance();
|
|
441
|
-
i0.ɵɵconditional((
|
|
442
|
-
|
|
443
|
-
i0.ɵɵproperty("Columns", ctx.Columns)("Rows", ctx.Rows)("Searchable", false)("SelectedKey", (ctx.Selected == null ? null : ctx.Selected.OrderLineID) ?? null);
|
|
444
|
-
} }, dependencies: [CommonModule, FormsModule, i1.DefaultValueAccessor, i1.NumberValueAccessor, i1.NgControlStatus, i1.MinValidator, i1.MaxValidator, i1.NgModel, MJButtonDirective, MJAlertComponent, MJOStatTileComponent, MJOWorklistTableComponent], styles: ["[_nghost-%COMP%] { display: block; height: 100%; overflow: auto; padding: var(--mj-space-6); }\n .mjo-pg__tiles[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pg__note[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pg__actions[_ngcontent-%COMP%] { align-items: flex-end; gap: var(--mj-space-3); margin-bottom: var(--mj-space-3); flex-wrap: wrap; }\n .mjo-pg__field[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 2px; }\n .mjo-pg__field[_ngcontent-%COMP%] .mj-input[_ngcontent-%COMP%] { width: 160px; }\n .mjo-pg__context[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pg__closed[_ngcontent-%COMP%] {\n margin-bottom: var(--mj-space-4);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-left: 3px solid var(--mj-status-warning);\n background: var(--mj-status-warning-bg);\n border-radius: var(--mj-radius-sm, 4px);\n font-size: 0.9rem;\n }\n @media (max-width: 760px) { [_nghost-%COMP%] { padding: var(--mj-space-4); } }"] });
|
|
691
|
+
i0.ɵɵconditional((tmp_31_0 = ctx.Selected) ? 13 : -1, tmp_31_0);
|
|
692
|
+
} }, dependencies: [CommonModule, FormsModule, i1.DefaultValueAccessor, i1.NumberValueAccessor, i1.NgControlStatus, i1.MinValidator, i1.MaxValidator, i1.NgModel, MJButtonDirective, MJAlertComponent, MJOSidePanelComponent, MJOStatTileComponent, MJOWorklistBarComponent, MJOWorklistTableComponent], styles: ["[_nghost-%COMP%] { display: block; height: 100%; overflow: auto; padding: var(--mj-space-6); }\n .mjo-pg__tiles[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pg__tile[_ngcontent-%COMP%] { display: block; border-radius: var(--mj-radius-md); transition: box-shadow 140ms ease; }\n .mjo-pg__tile.is-on[_ngcontent-%COMP%] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 55%, transparent); }\n .mjo-pg__note[_ngcontent-%COMP%] { display: block; margin-bottom: var(--mj-space-4); }\n .mjo-pg__toggle[_ngcontent-%COMP%] { display: inline-flex; align-items: center; gap: var(--mj-space-2); cursor: pointer; }\n .mjo-pg__supersede[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-3); }\n .mjo-pg__form[_ngcontent-%COMP%] { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-3); margin-bottom: var(--mj-space-3); }\n .mjo-pg__field[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n .mjo-pg__field[_ngcontent-%COMP%] .mj-input[_ngcontent-%COMP%] { width: 100%; box-sizing: border-box; }\n .mjo-pg__preview[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin-bottom: var(--mj-space-3);\n padding: var(--mj-space-3);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n font-size: 0.9rem;\n }\n .mjo-pg__closed[_ngcontent-%COMP%] {\n margin-bottom: var(--mj-space-3);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-left: 3px solid var(--mj-status-warning);\n background: var(--mj-status-warning-bg);\n border-radius: var(--mj-radius-sm, 4px);\n font-size: 0.9rem;\n }\n @media (max-width: 760px) { [_nghost-%COMP%] { padding: var(--mj-space-4); } }\n @media (prefers-reduced-motion: reduce) { .mjo-pg__tile[_ngcontent-%COMP%] { transition: none; } }"] });
|
|
445
693
|
}
|
|
446
694
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOProgressPageComponent, [{
|
|
447
695
|
type: Component,
|
|
448
|
-
args: [{ selector: 'mjo-progress-page', standalone: true, imports: [CommonModule, FormsModule, MJButtonDirective, MJAlertComponent, MJOStatTileComponent, MJOWorklistTableComponent], template: `
|
|
696
|
+
args: [{ selector: 'mjo-progress-page', standalone: true, imports: [CommonModule, FormsModule, MJButtonDirective, MJAlertComponent, MJOSidePanelComponent, MJOStatTileComponent, MJOWorklistBarComponent, MJOWorklistTableComponent], template: `
|
|
697
|
+
<mjo-worklist-bar
|
|
698
|
+
[Companies]="Companies"
|
|
699
|
+
[CompanyPicks]="CompanyPicks"
|
|
700
|
+
[Search]="Search"
|
|
701
|
+
SearchPlaceholder="Search project, customer or order number"
|
|
702
|
+
[ActiveFilter]="DueOnly ? 'Not attested this month' : null"
|
|
703
|
+
[Summary]="Summary"
|
|
704
|
+
[Loading]="Loading"
|
|
705
|
+
[BuildExport]="BuildExport"
|
|
706
|
+
[CanExport]="Rows.length > 0"
|
|
707
|
+
(CompanyPicksChange)="OnCompanies($event)"
|
|
708
|
+
(SearchChange)="OnSearch($event)"
|
|
709
|
+
(ActiveFilterCleared)="OnDueOnly(false)"
|
|
710
|
+
(RefreshRequested)="Refresh()">
|
|
711
|
+
@if (CanSupersede) {
|
|
712
|
+
<label class="mjo-pg__toggle small">
|
|
713
|
+
<input type="checkbox" [checked]="ShowComplete" [disabled]="Busy" (change)="ToggleShowComplete()" />
|
|
714
|
+
Show completed lines
|
|
715
|
+
</label>
|
|
716
|
+
}
|
|
717
|
+
</mjo-worklist-bar>
|
|
718
|
+
|
|
449
719
|
<div class="mj-stat-grid mjo-pg__tiles">
|
|
450
|
-
<mjo-stat-tile
|
|
720
|
+
<mjo-stat-tile
|
|
721
|
+
class="mjo-pg__tile"
|
|
722
|
+
Hint="Show every open line"
|
|
723
|
+
Label="Open project lines"
|
|
724
|
+
Icon="fa-solid fa-diagram-project"
|
|
725
|
+
[Value]="String(OpenRows.length)"
|
|
726
|
+
Detail="Percentage of completion, below 100%"
|
|
727
|
+
(Clicked)="OnDueOnly(false)" />
|
|
728
|
+
<mjo-stat-tile
|
|
729
|
+
class="mjo-pg__tile"
|
|
730
|
+
[class.is-on]="DueOnly"
|
|
731
|
+
[Pressed]="DueOnly"
|
|
732
|
+
Hint="Show lines with no observation this month"
|
|
733
|
+
Label="Not attested this month"
|
|
734
|
+
Icon="fa-regular fa-calendar-xmark"
|
|
735
|
+
[Tone]="DueCount ? 'alert' : 'default'"
|
|
736
|
+
[Value]="String(DueCount)"
|
|
737
|
+
[Detail]="DueCount ? NeverCount + ' never attested' : 'Every open line is attested'"
|
|
738
|
+
(Clicked)="OnDueOnly(!DueOnly)" />
|
|
451
739
|
<mjo-stat-tile Label="Contract value" Icon="fa-solid fa-file-signature" [Value]="money(TotalAmount, true)" Detail="Across the open lines" />
|
|
452
|
-
<mjo-stat-tile Label="Recognized to date" Icon="fa-solid fa-chart-line"
|
|
740
|
+
<mjo-stat-tile Label="Recognized to date" Icon="fa-solid fa-chart-line" [Value]="money(TotalRecognized, true)" [Detail]="RemainingDetail" />
|
|
453
741
|
</div>
|
|
454
742
|
|
|
455
743
|
@if (LoadError) {
|
|
@@ -464,82 +752,120 @@ export class MJOProgressPageComponent {
|
|
|
464
752
|
<mj-alert Variant="warning" Icon="fa-solid fa-triangle-exclamation" class="mjo-pg__note"><strong>List truncated.</strong> Not every open line is shown.</mj-alert>
|
|
465
753
|
}
|
|
466
754
|
|
|
467
|
-
<div class="
|
|
468
|
-
<
|
|
469
|
-
<
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
<i class="fa-solid fa-clock-rotate-left" aria-hidden="true"></i> Supersede last
|
|
487
|
-
</button>
|
|
488
|
-
}
|
|
489
|
-
<button type="button" mjButton variant="outline" [disabled]="!CanSubmit || Busy" (click)="PreviewSelected()">
|
|
490
|
-
<i class="fa-solid fa-eye" aria-hidden="true"></i> Preview
|
|
491
|
-
</button>
|
|
492
|
-
<button type="button" mjButton variant="primary" [disabled]="!CanSubmit || Busy" (click)="PostSelected()">
|
|
493
|
-
<i class="fa-solid fa-file-signature" aria-hidden="true"></i> {{ Busy ? 'Working…' : 'Attest & post' }}
|
|
494
|
-
</button>
|
|
495
|
-
</div>
|
|
496
|
-
|
|
497
|
-
@if (Selected; as row) {
|
|
498
|
-
<div class="small muted mjo-pg__context">
|
|
499
|
-
{{ row.OrderNumber }} line {{ row.LineNumber }} · {{ row.ProductName }} · {{ money(row.LineAmount) }} ·
|
|
500
|
-
last attested {{ row.LastMeasurementDate ? FormatDate(row.LastMeasurementDate, { Short: true }) + ' at ' + percent(row.LastPercentComplete) : 'never' }}
|
|
501
|
-
· recognized {{ money(row.RecognizedToDate) }}
|
|
502
|
-
@if (Draft) {
|
|
503
|
-
<strong> → {{ Draft.Message }}</strong>
|
|
504
|
-
}
|
|
755
|
+
<div class="mjo-split">
|
|
756
|
+
<div class="mjo-split__main">
|
|
757
|
+
<mjo-worklist-table
|
|
758
|
+
[Columns]="Columns"
|
|
759
|
+
[Rows]="Rows"
|
|
760
|
+
[Searchable]="false"
|
|
761
|
+
[Loading]="Loading"
|
|
762
|
+
[Totals]="Totals"
|
|
763
|
+
MaxHeight="calc(100vh - 290px)"
|
|
764
|
+
[SortKey]="Sort.Key"
|
|
765
|
+
[SortDescending]="Sort.Descending"
|
|
766
|
+
RowKey="OrderLineID"
|
|
767
|
+
[SelectedKey]="Selected?.OrderLineID ?? null"
|
|
768
|
+
[EmptyTitle]="AllRows.length ? 'Nothing matches' : 'Nothing to attest'"
|
|
769
|
+
[EmptyHint]="AllRows.length ? 'No project line matches these filters. Clear one to see more.' : 'No booked percentage-of-completion line is below 100%.'"
|
|
770
|
+
EmptyIcon="fa-solid fa-diagram-project"
|
|
771
|
+
(SortChanged)="OnSort($event)"
|
|
772
|
+
(LinkClicked)="OpenOrder($event.Row)"
|
|
773
|
+
(RowClicked)="Select($event)" />
|
|
505
774
|
</div>
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
775
|
+
|
|
776
|
+
@if (Selected; as row) {
|
|
777
|
+
<div class="mjo-split__side">
|
|
778
|
+
<mjo-side-panel
|
|
779
|
+
Icon="fa-solid fa-diagram-project"
|
|
780
|
+
[Title]="row.OrderNumber + ' · line ' + row.LineNumber"
|
|
781
|
+
[Chip]="percent(row.LastPercentComplete) + ' complete'"
|
|
782
|
+
[ChipClass]="row.LastPercentComplete > 0 ? 'mjo-chip--success' : 'mjo-chip--outline'"
|
|
783
|
+
(Closed)="Close()">
|
|
784
|
+
<dl class="mjo-side-panel__facts">
|
|
785
|
+
<dt>Project</dt>
|
|
786
|
+
<dd>{{ row.ProductName }}</dd>
|
|
787
|
+
<dt>Customer</dt>
|
|
788
|
+
<dd>{{ row.CustomerName }}</dd>
|
|
789
|
+
<dt>Order</dt>
|
|
790
|
+
<dd><button type="button" class="mjo-side-panel__link" (click)="OpenOrder(row)" title="Open the order">{{ row.OrderNumber }}</button></dd>
|
|
791
|
+
<dt>Sold by</dt>
|
|
792
|
+
<dd>{{ row.CompanyName || '—' }}</dd>
|
|
793
|
+
<dt>Contract</dt>
|
|
794
|
+
<dd>{{ money(row.LineAmount) }}</dd>
|
|
795
|
+
<dt>Recognized</dt>
|
|
796
|
+
<dd>{{ money(row.RecognizedToDate) }} · {{ money(row.LineAmount - row.RecognizedToDate) }} still deferred</dd>
|
|
797
|
+
<dt>Last attested</dt>
|
|
798
|
+
<dd>
|
|
799
|
+
{{ row.LastMeasurementDate ? date(row.LastMeasurementDate) + ' at ' + percent(row.LastPercentComplete) : 'Never' }}
|
|
800
|
+
@if (row.LastAttestedBy) {
|
|
801
|
+
· by {{ row.LastAttestedBy }}
|
|
802
|
+
}
|
|
803
|
+
</dd>
|
|
804
|
+
</dl>
|
|
805
|
+
|
|
806
|
+
<div class="mjo-pg__form">
|
|
807
|
+
<label class="mjo-pg__field">
|
|
808
|
+
<span class="small muted">Period</span>
|
|
809
|
+
<input class="mj-input" type="date" [(ngModel)]="MeasurementDate" name="measurementDate" (ngModelChange)="Draft = null" aria-label="Measurement date">
|
|
810
|
+
</label>
|
|
811
|
+
<label class="mjo-pg__field">
|
|
812
|
+
<span class="small muted">Complete to date (%)</span>
|
|
813
|
+
<input class="mj-input is-num" type="number" min="0" max="100" step="0.01" [(ngModel)]="PercentInput" name="percent" (ngModelChange)="Draft = null" aria-label="Percent complete">
|
|
814
|
+
</label>
|
|
815
|
+
</div>
|
|
816
|
+
@if (CanSupersede && row.LastMeasurementID) {
|
|
817
|
+
<label class="mjo-pg__toggle small mjo-pg__supersede">
|
|
818
|
+
<input type="checkbox" [checked]="Supersede" [disabled]="Busy" (change)="ToggleSupersede()" />
|
|
819
|
+
Replace the last observation
|
|
820
|
+
</label>
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
@if (Supersede && row.LastMeasurementDate) {
|
|
824
|
+
<div class="mjo-pg__closed" role="status">
|
|
825
|
+
<i class="fa-solid fa-clock-rotate-left" aria-hidden="true"></i>
|
|
826
|
+
Replaces the {{ date(row.LastMeasurementDate) }} observation at {{ percent(row.LastPercentComplete) }}.
|
|
827
|
+
Its recognition is reversed on its own date, or on the first open day if finance has closed that month, and the new catch-up books on the date you enter; nothing is edited. Keep its date to correct the percent, or choose any date after the observation before it.
|
|
828
|
+
</div>
|
|
829
|
+
}
|
|
830
|
+
@if (Draft) {
|
|
831
|
+
<div class="mjo-pg__preview" role="status">
|
|
832
|
+
<span class="small muted">Preview</span>
|
|
833
|
+
<strong>{{ Draft.Message }}</strong>
|
|
834
|
+
</div>
|
|
835
|
+
}
|
|
836
|
+
@if (reversalNote(Draft, row); as reversalText) {
|
|
837
|
+
<div class="mjo-pg__closed" role="status">
|
|
838
|
+
<i class="fa-solid fa-calendar-day" aria-hidden="true"></i> {{ reversalText }}
|
|
839
|
+
</div>
|
|
840
|
+
}
|
|
841
|
+
@if (Draft?.FutureDateWarning; as future) {
|
|
842
|
+
<div class="mjo-pg__closed" role="status">
|
|
843
|
+
<i class="fa-solid fa-triangle-exclamation" aria-hidden="true"></i> {{ future }}
|
|
844
|
+
</div>
|
|
845
|
+
}
|
|
846
|
+
@if (Draft?.BackDatedWarning; as backDated) {
|
|
847
|
+
<div class="mjo-pg__closed" role="status">
|
|
848
|
+
<i class="fa-solid fa-triangle-exclamation" aria-hidden="true"></i> {{ backDated }}
|
|
849
|
+
</div>
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
<div class="mjo-side-panel__actions">
|
|
853
|
+
<button type="button" mjButton variant="primary" [disabled]="!CanSubmit || Busy" (click)="PostSelected()">
|
|
854
|
+
<i class="fa-solid fa-file-signature" aria-hidden="true"></i> {{ Busy ? 'Working…' : 'Attest and post' }}
|
|
855
|
+
</button>
|
|
856
|
+
<button type="button" mjButton variant="outline" [disabled]="!CanSubmit || Busy" (click)="PreviewSelected()">
|
|
857
|
+
<i class="fa-solid fa-eye" aria-hidden="true"></i> Preview
|
|
858
|
+
</button>
|
|
859
|
+
</div>
|
|
860
|
+
</mjo-side-panel>
|
|
526
861
|
</div>
|
|
527
862
|
}
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
<mjo-worklist-table
|
|
531
|
-
[Columns]="Columns"
|
|
532
|
-
[Rows]="Rows"
|
|
533
|
-
[Searchable]="false"
|
|
534
|
-
RowKey="OrderLineID"
|
|
535
|
-
[SelectedKey]="Selected?.OrderLineID ?? null"
|
|
536
|
-
EmptyTitle="Nothing to attest"
|
|
537
|
-
EmptyHint="No booked percentage-of-completion line is below 100%."
|
|
538
|
-
EmptyIcon="fa-solid fa-diagram-project"
|
|
539
|
-
(RowClicked)="Select($event)" />
|
|
540
|
-
`, styles: ["\n :host { display: block; height: 100%; overflow: auto; padding: var(--mj-space-6); }\n .mjo-pg__tiles { margin-bottom: var(--mj-space-4); }\n .mjo-pg__note { margin-bottom: var(--mj-space-4); }\n .mjo-pg__actions { align-items: flex-end; gap: var(--mj-space-3); margin-bottom: var(--mj-space-3); flex-wrap: wrap; }\n .mjo-pg__field { display: flex; flex-direction: column; gap: 2px; }\n .mjo-pg__field .mj-input { width: 160px; }\n .mjo-pg__context { margin-bottom: var(--mj-space-4); }\n .mjo-pg__closed {\n margin-bottom: var(--mj-space-4);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-left: 3px solid var(--mj-status-warning);\n background: var(--mj-status-warning-bg);\n border-radius: var(--mj-radius-sm, 4px);\n font-size: 0.9rem;\n }\n @media (max-width: 760px) { :host { padding: var(--mj-space-4); } }\n "] }]
|
|
863
|
+
</div>
|
|
864
|
+
`, styles: ["\n :host { display: block; height: 100%; overflow: auto; padding: var(--mj-space-6); }\n .mjo-pg__tiles { margin-bottom: var(--mj-space-4); }\n .mjo-pg__tile { display: block; border-radius: var(--mj-radius-md); transition: box-shadow 140ms ease; }\n .mjo-pg__tile.is-on { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mj-brand-primary) 55%, transparent); }\n .mjo-pg__note { display: block; margin-bottom: var(--mj-space-4); }\n .mjo-pg__toggle { display: inline-flex; align-items: center; gap: var(--mj-space-2); cursor: pointer; }\n .mjo-pg__supersede { margin-bottom: var(--mj-space-3); }\n .mjo-pg__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-3); margin-bottom: var(--mj-space-3); }\n .mjo-pg__field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n .mjo-pg__field .mj-input { width: 100%; box-sizing: border-box; }\n .mjo-pg__preview {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin-bottom: var(--mj-space-3);\n padding: var(--mj-space-3);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n font-size: 0.9rem;\n }\n .mjo-pg__closed {\n margin-bottom: var(--mj-space-3);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-left: 3px solid var(--mj-status-warning);\n background: var(--mj-status-warning-bg);\n border-radius: var(--mj-radius-sm, 4px);\n font-size: 0.9rem;\n }\n @media (max-width: 760px) { :host { padding: var(--mj-space-4); } }\n @media (prefers-reduced-motion: reduce) { .mjo-pg__tile { transition: none; } }\n "] }]
|
|
541
865
|
}], null, { OrderOpened: [{
|
|
542
866
|
type: Output
|
|
867
|
+
}], AddressChanged: [{
|
|
868
|
+
type: Output
|
|
543
869
|
}] }); })();
|
|
544
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOProgressPageComponent, { className: "MJOProgressPageComponent", filePath: "lib/pages/receivables/progress.page.ts", lineNumber:
|
|
870
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOProgressPageComponent, { className: "MJOProgressPageComponent", filePath: "lib/pages/receivables/progress.page.ts", lineNumber: 305 }); })();
|
|
545
871
|
//# sourceMappingURL=progress.page.js.map
|