marketplacepos 2.2.8 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/Marketplace/126.9c69aee32875d325.js +1 -0
  2. package/Marketplace/185.1b988f70ad8b4f58.js +1 -0
  3. package/Marketplace/22.3829c474fb5bad35.js +1 -0
  4. package/Marketplace/231.231da11ec44f3fe8.js +1 -0
  5. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  6. package/Marketplace/3rdpartylicenses.txt +490 -0
  7. package/Marketplace/46.502e626256bc5b7c.js +1 -0
  8. package/Marketplace/472.974dc0a1dade2b29.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.3ea4f72f7ca0ce3c.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  14. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  15. package/Marketplace/739.82b92600f9519019.js +1 -0
  16. package/Marketplace/763.42fa4c0d665819d3.js +1 -0
  17. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  18. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  19. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  20. package/Marketplace/index.html +22 -23
  21. package/Marketplace/main.6481a1f35d927562.js +1 -0
  22. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  23. package/Marketplace/runtime.307954efca5e3eeb.js +1 -0
  24. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  25. package/Marketplace/styles.d8aa52b2e9cd02ae.css +39 -0
  26. package/package.json +1 -1
  27. package/Marketplace/common.js +0 -46
  28. package/Marketplace/common.js.map +0 -1
  29. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  31. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  33. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  35. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  39. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  41. package/Marketplace/main.js +0 -617
  42. package/Marketplace/main.js.map +0 -1
  43. package/Marketplace/polyfills.js +0 -3398
  44. package/Marketplace/polyfills.js.map +0 -1
  45. package/Marketplace/runtime.js +0 -346
  46. package/Marketplace/runtime.js.map +0 -1
  47. package/Marketplace/scripts.js +0 -2634
  48. package/Marketplace/scripts.js.map +0 -1
  49. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  50. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  51. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  53. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  55. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  57. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  59. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  60. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  61. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  63. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  65. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  67. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  68. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  69. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  70. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  71. package/Marketplace/styles.css +0 -30612
  72. package/Marketplace/styles.css.map +0 -1
  73. package/Marketplace/vendor.js +0 -71753
  74. package/Marketplace/vendor.js.map +0 -1
@@ -1,1060 +0,0 @@
1
- "use strict";
2
- (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["src_app_menu_ReportOrder_report_module_ts"],{
3
-
4
- /***/ 7545:
5
- /*!*****************************************************************!*\
6
- !*** ./src/app/menu/ReportOrder/delivery/delivery.component.ts ***!
7
- \*****************************************************************/
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- __webpack_require__.r(__webpack_exports__);
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "DeliveryComponent": () => (/* binding */ DeliveryComponent)
13
- /* harmony export */ });
14
- /* harmony import */ var _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../model/Report/FilterSyncOrder */ 8204);
15
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2560);
16
- /* harmony import */ var _services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../services/report-http-service.service */ 4016);
17
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 4666);
18
- /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
19
- /* harmony import */ var _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../sharing-module/datepicker-range/datepicker-range.component */ 5171);
20
- /* harmony import */ var _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../table-report/table-report.component */ 7393);
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
- function DeliveryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
29
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
30
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-table-report", 7);
31
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
32
- } if (rf & 2) {
33
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
34
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
35
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("result", ctx_r0.result)("header", ctx_r0.header)("from", ctx_r0.from)("to", ctx_r0.to)("type", 3);
36
- } }
37
- class DeliveryComponent {
38
- constructor(http, datePipe) {
39
- this.http = http;
40
- this.datePipe = datePipe;
41
- //Filter Date From and To
42
- this.model = new _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__.FilterSyncOrder();
43
- let today = new Date();
44
- this.maxDate = today;
45
- this.minDate = this.addDays(today, 6);
46
- this.model.From = today;
47
- this.model.To = today;
48
- this.updatePageTitle();
49
- }
50
- updatePageTitle() {
51
- const from = this.datePipe.transform(this.model.From, "dd MMM");
52
- const to = this.datePipe.transform(this.model.To, "dd MMM yyyy");
53
- this.PageTitle = `Shipped (${from} - ${to})`;
54
- }
55
- //Source : https://codewithhugo.com/add-date-days-js/
56
- addDays(date, days) {
57
- const copy = new Date(Number(date));
58
- copy.setDate(date.getDate() - days);
59
- return copy;
60
- }
61
- //Function: getDayDiff() will get the difference between two dates
62
- //Source: https://www.geeksforgeeks.org/how-to-calculate-the-number-of-days-between-two-dates-in-javascript/
63
- getDayDiff(dateStart, dateEnd) {
64
- var timeDiff = dateEnd.getTime() - dateStart.getTime();
65
- var dayDiff = timeDiff / (1000 * 60 * 60 * 24);
66
- return dayDiff;
67
- }
68
- ngOnInit() {
69
- this.Load();
70
- }
71
- Load() {
72
- this.http.GetLoader().then((response) => {
73
- this.model = response;
74
- this.from = this.model.From.toString();
75
- this.to = this.model.To.toString();
76
- this.http.GetSyncDelivery(this.model).then((result) => {
77
- this.header = result.Header;
78
- this.result = result.Body;
79
- });
80
- });
81
- }
82
- GetData(filter) {
83
- this.model.From = filter.from;
84
- this.model.To = filter.to;
85
- this.updatePageTitle();
86
- this.http.GetSyncDelivery(this.model).then((result) => {
87
- this.header = result.Header;
88
- this.result = result.Body;
89
- this.from = this.model.From.toJSON();
90
- this.to = this.model.To.toJSON();
91
- });
92
- }
93
- }
94
- DeliveryComponent.ɵfac = function DeliveryComponent_Factory(t) { return new (t || DeliveryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__.ReportHttpServiceService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DatePipe)); };
95
- DeliveryComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: DeliveryComponent, selectors: [["app-delivery"]], decls: 7, vars: 7, consts: [[3, "Title", "hideSearchBox", "hideSearchDropdown"], [1, "filterDate"], [3, "minDate", "from", "to", "dateChange"], [1, "container-fluid"], ["class", "row mt-4", 4, "ngIf"], [1, "row", "mt-4"], [1, "col-md-12"], [3, "result", "header", "from", "to", "type"]], template: function DeliveryComponent_Template(rf, ctx) { if (rf & 1) {
96
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mainpanel", 0)(1, "actions")(2, "div", 1)(3, "app-datepicker-range", 2);
97
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("dateChange", function DeliveryComponent_Template_app_datepicker_range_dateChange_3_listener($event) { return ctx.GetData($event); });
98
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
99
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "content")(5, "div", 3);
100
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, DeliveryComponent_div_6_Template, 3, 5, "div", 4);
101
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
102
- } if (rf & 2) {
103
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("Title", ctx.PageTitle)("hideSearchBox", true)("hideSearchDropdown", true);
104
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
105
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("minDate", ctx.minDate)("from", ctx.model.From)("to", ctx.model.To);
106
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
107
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.result);
108
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.NgIf, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelComponent, _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__.DatepickerRangeComponent, _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__.TableReportComponent], styles: [".filterDate[_ngcontent-%COMP%] {\n position: absolute;\n right: 10px;\n top: 2px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRlbGl2ZXJ5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksa0JBQUE7RUFDQSxXQUFBO0VBQ0EsUUFBQTtBQUNKIiwiZmlsZSI6ImRlbGl2ZXJ5LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZpbHRlckRhdGUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgcmlnaHQ6IDEwcHg7XHJcbiAgICB0b3A6IDJweDtcclxufSJdfQ== */"] });
109
-
110
-
111
- /***/ }),
112
-
113
- /***/ 697:
114
- /*!***************************************************************!*\
115
- !*** ./src/app/menu/ReportOrder/invoice/invoice.component.ts ***!
116
- \***************************************************************/
117
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
118
-
119
- __webpack_require__.r(__webpack_exports__);
120
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
121
- /* harmony export */ "InvoiceComponent": () => (/* binding */ InvoiceComponent)
122
- /* harmony export */ });
123
- /* harmony import */ var _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../model/Report/FilterSyncOrder */ 8204);
124
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2560);
125
- /* harmony import */ var _services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../services/report-http-service.service */ 4016);
126
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 4666);
127
- /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
128
- /* harmony import */ var _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../sharing-module/datepicker-range/datepicker-range.component */ 5171);
129
- /* harmony import */ var _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../table-report/table-report.component */ 7393);
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- function InvoiceComponent_div_6_Template(rf, ctx) { if (rf & 1) {
138
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
139
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-table-report", 7);
140
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
141
- } if (rf & 2) {
142
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
143
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
144
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("result", ctx_r0.result)("header", ctx_r0.header)("from", ctx_r0.from)("to", ctx_r0.to)("type", 1);
145
- } }
146
- class InvoiceComponent {
147
- constructor(http, datePipe) {
148
- this.http = http;
149
- this.datePipe = datePipe;
150
- //Filter Date From and To
151
- this.model = new _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__.FilterSyncOrder();
152
- this.PageTitle = "Ready to Ship";
153
- let today = new Date();
154
- this.maxDate = today;
155
- this.minDate = this.addDays(today, 6);
156
- this.model.From = today;
157
- this.model.To = today;
158
- this.updatePageTitle();
159
- }
160
- updatePageTitle() {
161
- const from = this.datePipe.transform(this.model.From, "dd MMM");
162
- const to = this.datePipe.transform(this.model.To, "dd MMM yyyy");
163
- this.PageTitle = `Ready to Ship (${from} - ${to})`;
164
- }
165
- //Source : https://codewithhugo.com/add-date-days-js/
166
- addDays(date, days) {
167
- const copy = new Date(Number(date));
168
- copy.setDate(date.getDate() - days);
169
- return copy;
170
- }
171
- //Function: getDayDiff() will get the difference between two dates
172
- //Source: https://www.geeksforgeeks.org/how-to-calculate-the-number-of-days-between-two-dates-in-javascript/
173
- getDayDiff(dateStart, dateEnd) {
174
- var timeDiff = dateEnd.getTime() - dateStart.getTime();
175
- var dayDiff = timeDiff / (1000 * 60 * 60 * 24);
176
- return dayDiff;
177
- }
178
- ngOnInit() {
179
- this.Load();
180
- }
181
- Load() {
182
- this.http.GetLoader().then((response) => {
183
- this.model = response;
184
- this.from = this.model.From.toString();
185
- this.to = this.model.To.toString();
186
- this.http.GetSyncInvoice(this.model).then((result) => {
187
- this.header = result.Header;
188
- this.result = result.Body;
189
- });
190
- });
191
- }
192
- GetData(filter) {
193
- this.model.From = filter.from;
194
- this.model.To = filter.to;
195
- this.updatePageTitle();
196
- this.http.GetSyncInvoice(this.model).then((result) => {
197
- this.header = result.Header;
198
- this.result = result.Body;
199
- this.from = this.model.From.toJSON();
200
- this.to = this.model.To.toJSON();
201
- });
202
- }
203
- }
204
- InvoiceComponent.ɵfac = function InvoiceComponent_Factory(t) { return new (t || InvoiceComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__.ReportHttpServiceService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DatePipe)); };
205
- InvoiceComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: InvoiceComponent, selectors: [["app-invoice"]], decls: 7, vars: 7, consts: [[3, "Title", "hideSearchBox", "hideSearchDropdown"], [1, "filterDate"], [3, "minDate", "from", "to", "dateChange"], [1, "container-fluid"], ["class", "row mt-4", 4, "ngIf"], [1, "row", "mt-4"], [1, "col-md-12"], [3, "result", "header", "from", "to", "type"]], template: function InvoiceComponent_Template(rf, ctx) { if (rf & 1) {
206
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mainpanel", 0)(1, "actions")(2, "div", 1)(3, "app-datepicker-range", 2);
207
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("dateChange", function InvoiceComponent_Template_app_datepicker_range_dateChange_3_listener($event) { return ctx.GetData($event); });
208
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
209
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "content")(5, "div", 3);
210
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, InvoiceComponent_div_6_Template, 3, 5, "div", 4);
211
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
212
- } if (rf & 2) {
213
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("Title", ctx.PageTitle)("hideSearchBox", true)("hideSearchDropdown", true);
214
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
215
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("minDate", ctx.minDate)("from", ctx.model.From)("to", ctx.model.To);
216
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
217
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.result);
218
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.NgIf, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelComponent, _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__.DatepickerRangeComponent, _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__.TableReportComponent], styles: [".filterDate[_ngcontent-%COMP%] {\n position: absolute;\n right: 10px;\n top: 2px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImludm9pY2UuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxrQkFBQTtFQUNBLFdBQUE7RUFDQSxRQUFBO0FBQ0oiLCJmaWxlIjoiaW52b2ljZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5maWx0ZXJEYXRlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgdG9wOiAycHg7XHJcbn0iXX0= */"] });
219
-
220
-
221
- /***/ }),
222
-
223
- /***/ 94:
224
- /*!***************************************************************!*\
225
- !*** ./src/app/menu/ReportOrder/payment/payment.component.ts ***!
226
- \***************************************************************/
227
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
228
-
229
- __webpack_require__.r(__webpack_exports__);
230
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
231
- /* harmony export */ "PaymentComponent": () => (/* binding */ PaymentComponent)
232
- /* harmony export */ });
233
- /* harmony import */ var _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../model/Report/FilterSyncOrder */ 8204);
234
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2560);
235
- /* harmony import */ var _services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../services/report-http-service.service */ 4016);
236
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 4666);
237
- /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
238
- /* harmony import */ var _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../sharing-module/datepicker-range/datepicker-range.component */ 5171);
239
- /* harmony import */ var _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../table-report/table-report.component */ 7393);
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
- function PaymentComponent_div_6_Template(rf, ctx) { if (rf & 1) {
248
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
249
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-table-report", 7);
250
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
251
- } if (rf & 2) {
252
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
253
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
254
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("result", ctx_r0.result)("header", ctx_r0.header)("from", ctx_r0.from)("to", ctx_r0.to)("type", 4);
255
- } }
256
- class PaymentComponent {
257
- constructor(http, datePipe) {
258
- this.http = http;
259
- this.datePipe = datePipe;
260
- //Filter Date From and To
261
- this.model = new _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__.FilterSyncOrder();
262
- this.PageTitle = "Completed";
263
- let today = new Date();
264
- this.minDate = this.addDays(today, 6);
265
- this.model.From = today;
266
- this.model.To = today;
267
- this.updatePageTitle();
268
- }
269
- updatePageTitle() {
270
- const from = this.datePipe.transform(this.model.From, "dd MMM");
271
- const to = this.datePipe.transform(this.model.To, "dd MMM yyyy");
272
- this.PageTitle = `Completed (${from} - ${to})`;
273
- }
274
- //Source : https://codewithhugo.com/add-date-days-js/
275
- addDays(date, days) {
276
- const copy = new Date(Number(date));
277
- copy.setDate(date.getDate() - days);
278
- return copy;
279
- }
280
- //Function: getDayDiff() will get the difference between two dates
281
- //Source: https://www.geeksforgeeks.org/how-to-calculate-the-number-of-days-between-two-dates-in-javascript/
282
- getDayDiff(dateStart, dateEnd) {
283
- var timeDiff = dateEnd.getTime() - dateStart.getTime();
284
- var dayDiff = timeDiff / (1000 * 60 * 60 * 24);
285
- return dayDiff;
286
- }
287
- ngOnInit() {
288
- this.Load();
289
- }
290
- Load() {
291
- this.http.GetLoader().then((response) => {
292
- this.model = response;
293
- this.from = this.model.From.toString();
294
- this.to = this.model.To.toString();
295
- this.http.GetSyncPayment(this.model).then((result) => {
296
- this.header = result.Header;
297
- this.result = result.Body;
298
- });
299
- });
300
- }
301
- GetData(filter) {
302
- this.model.From = filter.from;
303
- this.model.To = filter.to;
304
- this.updatePageTitle();
305
- this.http.GetSyncPayment(this.model).then((result) => {
306
- this.header = result.Header;
307
- this.result = result.Body;
308
- this.from = this.model.From.toJSON();
309
- this.to = this.model.To.toJSON();
310
- });
311
- }
312
- }
313
- PaymentComponent.ɵfac = function PaymentComponent_Factory(t) { return new (t || PaymentComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__.ReportHttpServiceService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DatePipe)); };
314
- PaymentComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: PaymentComponent, selectors: [["app-payment"]], decls: 7, vars: 7, consts: [[3, "Title", "hideSearchBox", "hideSearchDropdown"], [1, "filterDate"], [3, "minDate", "from", "to", "dateChange"], [1, "container-fluid"], ["class", "row mt-4", 4, "ngIf"], [1, "row", "mt-4"], [1, "col-md-12"], [3, "result", "header", "from", "to", "type"]], template: function PaymentComponent_Template(rf, ctx) { if (rf & 1) {
315
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mainpanel", 0)(1, "actions")(2, "div", 1)(3, "app-datepicker-range", 2);
316
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("dateChange", function PaymentComponent_Template_app_datepicker_range_dateChange_3_listener($event) { return ctx.GetData($event); });
317
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
318
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "content")(5, "div", 3);
319
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, PaymentComponent_div_6_Template, 3, 5, "div", 4);
320
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
321
- } if (rf & 2) {
322
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("Title", ctx.PageTitle)("hideSearchBox", true)("hideSearchDropdown", true);
323
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
324
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("minDate", ctx.minDate)("from", ctx.model.From)("to", ctx.model.To);
325
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
326
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.result);
327
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.NgIf, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelComponent, _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__.DatepickerRangeComponent, _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__.TableReportComponent], styles: [".filterDate[_ngcontent-%COMP%] {\n position: absolute;\n right: 10px;\n top: 2px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBheW1lbnQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxrQkFBQTtFQUNBLFdBQUE7RUFDQSxRQUFBO0FBQ0oiLCJmaWxlIjoicGF5bWVudC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5maWx0ZXJEYXRlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgdG9wOiAycHg7XHJcbn0iXX0= */"] });
328
-
329
-
330
- /***/ }),
331
-
332
- /***/ 7074:
333
- /*!************************************************************!*\
334
- !*** ./src/app/menu/ReportOrder/report-order.component.ts ***!
335
- \************************************************************/
336
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
337
-
338
- __webpack_require__.r(__webpack_exports__);
339
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
340
- /* harmony export */ "ReportOrderComponent": () => (/* binding */ ReportOrderComponent)
341
- /* harmony export */ });
342
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
343
- /* harmony import */ var _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../nav-tab/nav-tab.component */ 7398);
344
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 124);
345
-
346
-
347
-
348
- class ReportOrderComponent {
349
- constructor() {
350
- this.ReportTabs = [
351
- { Title: '1 - New Order', Url: '/menu/report/order' },
352
- { Title: '2 - Ready to Ship', Url: '/menu/report/invoice' },
353
- { Title: '3 - Shipped', Url: '/menu/report/delivery' },
354
- { Title: '4 - Completed', Url: '/menu/report/payment' }
355
- ];
356
- }
357
- ngOnInit() {
358
- }
359
- }
360
- ReportOrderComponent.ɵfac = function ReportOrderComponent_Factory(t) { return new (t || ReportOrderComponent)(); };
361
- ReportOrderComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ReportOrderComponent, selectors: [["app-report"]], decls: 5, vars: 1, consts: [[1, "navbar", "page-nav", "navbar-default", "py-0", "navbar-expand-lg"], [1, "container-fluid"], [3, "Tabs"]], template: function ReportOrderComponent_Template(rf, ctx) { if (rf & 1) {
362
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav", 0)(1, "div", 1)(2, "div");
363
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "nav-tab", 2);
364
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()();
365
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "router-outlet");
366
- } if (rf & 2) {
367
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
368
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("Tabs", ctx.ReportTabs);
369
- } }, dependencies: [_nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_0__.NavTabComponent, _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterOutlet], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJyZXBvcnQtb3JkZXIuY29tcG9uZW50LnNjc3MifQ== */"] });
370
-
371
-
372
- /***/ }),
373
-
374
- /***/ 1159:
375
- /*!***********************************************************!*\
376
- !*** ./src/app/menu/ReportOrder/report-routing.module.ts ***!
377
- \***********************************************************/
378
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
379
-
380
- __webpack_require__.r(__webpack_exports__);
381
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
382
- /* harmony export */ "ReportRoutingModule": () => (/* binding */ ReportRoutingModule)
383
- /* harmony export */ });
384
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 4666);
385
- /* harmony import */ var _report_order_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./report-order.component */ 7074);
386
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 124);
387
- /* harmony import */ var _sales_order_sales_order_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sales-order/sales-order.component */ 4404);
388
- /* harmony import */ var _invoice_invoice_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./invoice/invoice.component */ 697);
389
- /* harmony import */ var _delivery_delivery_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./delivery/delivery.component */ 7545);
390
- /* harmony import */ var _payment_payment_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./payment/payment.component */ 94);
391
- /* harmony import */ var src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/auth.guard */ 8063);
392
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 2560);
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
- const routes = [
404
- {
405
- path: "",
406
- component: _report_order_component__WEBPACK_IMPORTED_MODULE_0__.ReportOrderComponent,
407
- children: [
408
- {
409
- path: "",
410
- redirectTo: "order",
411
- pathMatch: "full",
412
- },
413
- {
414
- path: "order",
415
- component: _sales_order_sales_order_component__WEBPACK_IMPORTED_MODULE_1__.SalesOrderComponent,
416
- canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_5__.AuthGuard],
417
- data: { title: "Sync Order" },
418
- },
419
- {
420
- path: "invoice",
421
- component: _invoice_invoice_component__WEBPACK_IMPORTED_MODULE_2__.InvoiceComponent,
422
- canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_5__.AuthGuard],
423
- data: { title: "Sync Invoice" },
424
- },
425
- {
426
- path: "delivery",
427
- component: _delivery_delivery_component__WEBPACK_IMPORTED_MODULE_3__.DeliveryComponent,
428
- canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_5__.AuthGuard],
429
- data: { title: "Sync Delivery" },
430
- },
431
- {
432
- path: "payment",
433
- component: _payment_payment_component__WEBPACK_IMPORTED_MODULE_4__.PaymentComponent,
434
- canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_5__.AuthGuard],
435
- data: { title: "Sync Payment" },
436
- },
437
- ],
438
- },
439
- ];
440
- class ReportRoutingModule {
441
- }
442
- ReportRoutingModule.ɵfac = function ReportRoutingModule_Factory(t) { return new (t || ReportRoutingModule)(); };
443
- ReportRoutingModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineNgModule"]({ type: ReportRoutingModule });
444
- ReportRoutingModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule,
445
- _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule.forChild(routes)] });
446
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsetNgModuleScope"](ReportRoutingModule, { imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule] }); })();
447
-
448
-
449
- /***/ }),
450
-
451
- /***/ 6670:
452
- /*!***************************************************!*\
453
- !*** ./src/app/menu/ReportOrder/report.module.ts ***!
454
- \***************************************************/
455
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
456
-
457
- __webpack_require__.r(__webpack_exports__);
458
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
459
- /* harmony export */ "ReportModule": () => (/* binding */ ReportModule)
460
- /* harmony export */ });
461
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ 4666);
462
- /* harmony import */ var _report_order_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./report-order.component */ 7074);
463
- /* harmony import */ var _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../nav-tab/nav-tab.component */ 7398);
464
- /* harmony import */ var _report_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./report-routing.module */ 1159);
465
- /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ 2508);
466
- /* harmony import */ var _sales_order_sales_order_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./sales-order/sales-order.component */ 4404);
467
- /* harmony import */ var _invoice_invoice_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./invoice/invoice.component */ 697);
468
- /* harmony import */ var _delivery_delivery_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./delivery/delivery.component */ 7545);
469
- /* harmony import */ var _payment_payment_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./payment/payment.component */ 94);
470
- /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
471
- /* harmony import */ var src_app_sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/sharing-module/datepicker-range/datepicker-range.component */ 5171);
472
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/router */ 124);
473
- /* harmony import */ var _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./table-report/table-report.component */ 7393);
474
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 2560);
475
-
476
-
477
-
478
-
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
- class ReportModule {
490
- }
491
- ReportModule.ɵfac = function ReportModule_Factory(t) { return new (t || ReportModule)(); };
492
- ReportModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineNgModule"]({ type: ReportModule });
493
- ReportModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_11__.CommonModule,
494
- _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_1__.NavTabModule,
495
- _report_routing_module__WEBPACK_IMPORTED_MODULE_2__.ReportRoutingModule,
496
- _angular_forms__WEBPACK_IMPORTED_MODULE_12__.FormsModule,
497
- _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_7__.MainPanelModule,
498
- src_app_sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_8__.DatepickerRangeModule,
499
- _angular_router__WEBPACK_IMPORTED_MODULE_13__.RouterModule] });
500
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵsetNgModuleScope"](ReportModule, { declarations: [_report_order_component__WEBPACK_IMPORTED_MODULE_0__.ReportOrderComponent,
501
- _sales_order_sales_order_component__WEBPACK_IMPORTED_MODULE_3__.SalesOrderComponent,
502
- _invoice_invoice_component__WEBPACK_IMPORTED_MODULE_4__.InvoiceComponent,
503
- _delivery_delivery_component__WEBPACK_IMPORTED_MODULE_5__.DeliveryComponent,
504
- _payment_payment_component__WEBPACK_IMPORTED_MODULE_6__.PaymentComponent,
505
- _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_9__.TableReportComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_11__.CommonModule,
506
- _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_1__.NavTabModule,
507
- _report_routing_module__WEBPACK_IMPORTED_MODULE_2__.ReportRoutingModule,
508
- _angular_forms__WEBPACK_IMPORTED_MODULE_12__.FormsModule,
509
- _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_7__.MainPanelModule,
510
- src_app_sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_8__.DatepickerRangeModule,
511
- _angular_router__WEBPACK_IMPORTED_MODULE_13__.RouterModule] }); })();
512
-
513
-
514
- /***/ }),
515
-
516
- /***/ 4404:
517
- /*!***********************************************************************!*\
518
- !*** ./src/app/menu/ReportOrder/sales-order/sales-order.component.ts ***!
519
- \***********************************************************************/
520
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
521
-
522
- __webpack_require__.r(__webpack_exports__);
523
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
524
- /* harmony export */ "SalesOrderComponent": () => (/* binding */ SalesOrderComponent)
525
- /* harmony export */ });
526
- /* harmony import */ var _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../model/Report/FilterSyncOrder */ 8204);
527
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2560);
528
- /* harmony import */ var _services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../services/report-http-service.service */ 4016);
529
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 4666);
530
- /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
531
- /* harmony import */ var _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../sharing-module/datepicker-range/datepicker-range.component */ 5171);
532
- /* harmony import */ var _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../table-report/table-report.component */ 7393);
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
- function SalesOrderComponent_div_6_Template(rf, ctx) { if (rf & 1) {
541
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
542
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-table-report", 7);
543
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
544
- } if (rf & 2) {
545
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
546
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
547
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("result", ctx_r0.result)("header", ctx_r0.header)("from", ctx_r0.from)("to", ctx_r0.to)("type", 0);
548
- } }
549
- class SalesOrderComponent {
550
- constructor(http, datePipe) {
551
- this.http = http;
552
- this.datePipe = datePipe;
553
- //Filter Date From and To
554
- this.model = new _model_Report_FilterSyncOrder__WEBPACK_IMPORTED_MODULE_0__.FilterSyncOrder();
555
- this.PageTitle = "New Order";
556
- let today = new Date();
557
- this.maxDate = today;
558
- this.minDate = this.addDays(today, 6);
559
- this.model.From = today;
560
- this.model.To = today;
561
- this.updatePageTitle();
562
- }
563
- updatePageTitle() {
564
- const from = this.datePipe.transform(this.model.From, "dd MMM");
565
- const to = this.datePipe.transform(this.model.To, "dd MMM yyyy");
566
- this.PageTitle = `New Order (${from} - ${to})`;
567
- }
568
- //Source : https://codewithhugo.com/add-date-days-js/
569
- addDays(date, days) {
570
- const copy = new Date(Number(date));
571
- copy.setDate(date.getDate() - days);
572
- return copy;
573
- }
574
- //Function: getDayDiff() will get the difference between two dates
575
- //Source: https://www.geeksforgeeks.org/how-to-calculate-the-number-of-days-between-two-dates-in-javascript/
576
- getDayDiff(dateStart, dateEnd) {
577
- var timeDiff = dateEnd.getTime() - dateStart.getTime();
578
- var dayDiff = timeDiff / (1000 * 60 * 60 * 24);
579
- return dayDiff;
580
- }
581
- ngOnInit() {
582
- this.Load();
583
- }
584
- Load() {
585
- this.http.GetLoader().then((response) => {
586
- this.model = response;
587
- this.from = this.model.From.toString();
588
- this.to = this.model.To.toString();
589
- this.http.GetSyncOrder(this.model).then((result) => {
590
- this.header = result.Header;
591
- this.result = result.Body;
592
- });
593
- });
594
- }
595
- GetData(filter) {
596
- this.model.From = filter.from;
597
- this.model.To = filter.to;
598
- this.updatePageTitle();
599
- this.http.GetSyncOrder(this.model).then((result) => {
600
- this.header = result.Header;
601
- this.result = result.Body;
602
- this.from = this.model.From.toJSON();
603
- this.to = this.model.To.toJSON();
604
- });
605
- }
606
- }
607
- SalesOrderComponent.ɵfac = function SalesOrderComponent_Factory(t) { return new (t || SalesOrderComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_report_http_service_service__WEBPACK_IMPORTED_MODULE_1__.ReportHttpServiceService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DatePipe)); };
608
- SalesOrderComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: SalesOrderComponent, selectors: [["app-sales-order"]], decls: 7, vars: 7, consts: [[3, "Title", "hideSearchBox", "hideSearchDropdown"], [1, "filterDate"], [3, "minDate", "from", "to", "dateChange"], [1, "container-fluid"], ["class", "row mt-4", 4, "ngIf"], [1, "row", "mt-4"], [1, "col-md-12"], [3, "result", "header", "from", "to", "type"]], template: function SalesOrderComponent_Template(rf, ctx) { if (rf & 1) {
609
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mainpanel", 0)(1, "actions")(2, "div", 1)(3, "app-datepicker-range", 2);
610
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("dateChange", function SalesOrderComponent_Template_app_datepicker_range_dateChange_3_listener($event) { return ctx.GetData($event); });
611
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
612
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "content")(5, "div", 3);
613
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, SalesOrderComponent_div_6_Template, 3, 5, "div", 4);
614
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
615
- } if (rf & 2) {
616
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("Title", ctx.PageTitle)("hideSearchBox", true)("hideSearchDropdown", true);
617
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
618
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("minDate", ctx.minDate)("from", ctx.model.From)("to", ctx.model.To);
619
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
620
- _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.result);
621
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.NgIf, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelComponent, _sharing_module_datepicker_range_datepicker_range_component__WEBPACK_IMPORTED_MODULE_3__.DatepickerRangeComponent, _table_report_table_report_component__WEBPACK_IMPORTED_MODULE_4__.TableReportComponent], styles: [".filterDate[_ngcontent-%COMP%] {\n position: absolute;\n right: 10px;\n top: 2px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNhbGVzLW9yZGVyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksa0JBQUE7RUFDQSxXQUFBO0VBQ0EsUUFBQTtBQUNKIiwiZmlsZSI6InNhbGVzLW9yZGVyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZpbHRlckRhdGUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgcmlnaHQ6IDEwcHg7XHJcbiAgICB0b3A6IDJweDtcclxufSJdfQ== */"] });
622
-
623
-
624
- /***/ }),
625
-
626
- /***/ 7342:
627
- /*!********************************************************************!*\
628
- !*** ./src/app/menu/ReportOrder/table-report/HeaderStatus.enum.ts ***!
629
- \********************************************************************/
630
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
631
-
632
- __webpack_require__.r(__webpack_exports__);
633
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
634
- /* harmony export */ "HeaderStatus": () => (/* binding */ HeaderStatus)
635
- /* harmony export */ });
636
- var HeaderStatus;
637
- (function (HeaderStatus) {
638
- HeaderStatus[HeaderStatus["OK"] = 200] = "OK";
639
- HeaderStatus[HeaderStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
640
- HeaderStatus[HeaderStatus["CONFLICT"] = 409] = "CONFLICT";
641
- HeaderStatus[HeaderStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
642
- })(HeaderStatus || (HeaderStatus = {}));
643
-
644
-
645
- /***/ }),
646
-
647
- /***/ 7393:
648
- /*!*************************************************************************!*\
649
- !*** ./src/app/menu/ReportOrder/table-report/table-report.component.ts ***!
650
- \*************************************************************************/
651
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
652
-
653
- __webpack_require__.r(__webpack_exports__);
654
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
655
- /* harmony export */ "TableReportComponent": () => (/* binding */ TableReportComponent)
656
- /* harmony export */ });
657
- /* harmony import */ var _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HeaderStatus.enum */ 7342);
658
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
659
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 4666);
660
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 124);
661
-
662
-
663
-
664
-
665
- function TableReportComponent_th_6_Template(rf, ctx) { if (rf & 1) {
666
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "th", 6)(1, "div", 7)(2, "h4");
667
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
668
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
669
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "small", 8);
670
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
671
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()();
672
- } if (rf & 2) {
673
- const h_r2 = ctx.$implicit;
674
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
675
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
676
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](h_r2);
677
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
678
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r0.getTextBgColor(h_r2));
679
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
680
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.getHeaderStatusDesc(h_r2));
681
- } }
682
- function TableReportComponent_tr_8_a_2_Template(rf, ctx) { if (rf & 1) {
683
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 10);
684
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 12);
685
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
686
- } if (rf & 2) {
687
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
688
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
689
- } }
690
- function TableReportComponent_tr_8_a_3_Template(rf, ctx) { if (rf & 1) {
691
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 10);
692
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 13);
693
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
694
- } if (rf & 2) {
695
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
696
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
697
- } }
698
- function TableReportComponent_tr_8_a_4_Template(rf, ctx) { if (rf & 1) {
699
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 10);
700
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 14);
701
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
702
- } if (rf & 2) {
703
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
704
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
705
- } }
706
- function TableReportComponent_tr_8_a_5_Template(rf, ctx) { if (rf & 1) {
707
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 10);
708
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 15);
709
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
710
- } if (rf & 2) {
711
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
712
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
713
- } }
714
- function TableReportComponent_tr_8_a_6_Template(rf, ctx) { if (rf & 1) {
715
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 10);
716
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "img", 16);
717
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
718
- } if (rf & 2) {
719
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
720
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
721
- } }
722
- const _c0 = function () { return ["/menu/log/order"]; };
723
- const _c1 = function (a0, a1, a2, a3, a4) { return { responseCode: a0, From: a1, to: a2, actionType: a3, ChannelID: a4 }; };
724
- function TableReportComponent_tr_8_td_13_Template(rf, ctx) { if (rf & 1) {
725
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "td", 17)(1, "a", 18);
726
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
727
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
728
- } if (rf & 2) {
729
- const x_r16 = ctx.$implicit;
730
- const order_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
731
- const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
732
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
733
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](3, _c0))("queryParams", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction5"](4, _c1, x_r16.Key, ctx_r10.from, ctx_r10.to, ctx_r10.type, order_r3.ChannelID));
734
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
735
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", x_r16.Value, " ");
736
- } }
737
- function TableReportComponent_tr_8_Template(rf, ctx) { if (rf & 1) {
738
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "tr")(1, "td");
739
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TableReportComponent_tr_8_a_2_Template, 2, 1, "a", 9);
740
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TableReportComponent_tr_8_a_3_Template, 2, 1, "a", 9);
741
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, TableReportComponent_tr_8_a_4_Template, 2, 1, "a", 9);
742
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, TableReportComponent_tr_8_a_5_Template, 2, 1, "a", 9);
743
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, TableReportComponent_tr_8_a_6_Template, 2, 1, "a", 9);
744
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
745
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "td")(8, "div")(9, "a", 10);
746
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
747
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
748
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "div");
749
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](12);
750
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
751
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](13, TableReportComponent_tr_8_td_13_Template, 3, 10, "td", 11);
752
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
753
- } if (rf & 2) {
754
- const order_r3 = ctx.$implicit;
755
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
756
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", order_r3.Type == 0 || order_r3.Type == 5);
757
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
758
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", order_r3.Type == 1);
759
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
760
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", order_r3.Type == 2);
761
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
762
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", order_r3.Type == 4);
763
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
764
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", order_r3.Type == 6);
765
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
766
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", order_r3.Url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
767
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
768
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](order_r3.Name);
769
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
770
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](order_r3.Url);
771
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
772
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", order_r3.list);
773
- } }
774
- class TableReportComponent {
775
- constructor() {
776
- this.headerStatus = _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus;
777
- }
778
- getHeaderStatusDesc(status) {
779
- let statusDescription = null;
780
- switch (status) {
781
- case _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus.BAD_REQUEST:
782
- statusDescription = "BAD REQUEST";
783
- break;
784
- case _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus.CONFLICT:
785
- statusDescription = "CONFLICT";
786
- break;
787
- case _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus.INTERNAL_SERVER_ERROR:
788
- statusDescription = "INTERNAL SERVER ERROR";
789
- break;
790
- default:
791
- statusDescription = "OK";
792
- break;
793
- }
794
- return statusDescription;
795
- }
796
- getTextBgColor(status) {
797
- let classColor = null;
798
- switch (status) {
799
- case _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus.OK:
800
- classColor = "bg-success";
801
- break;
802
- case _HeaderStatus_enum__WEBPACK_IMPORTED_MODULE_0__.HeaderStatus.INTERNAL_SERVER_ERROR:
803
- classColor = "bg-danger";
804
- break;
805
- default:
806
- classColor = "bg-warning";
807
- break;
808
- }
809
- return classColor;
810
- }
811
- }
812
- TableReportComponent.ɵfac = function TableReportComponent_Factory(t) { return new (t || TableReportComponent)(); };
813
- TableReportComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: TableReportComponent, selectors: [["app-table-report"]], inputs: { header: "header", result: "result", from: "from", to: "to", type: "type" }, decls: 9, vars: 2, consts: [[1, "table"], [1, "thead-light", "sticky-top-thead"], [2, "width", "0%"], [2, "width", "3%"], ["class", "text-start", "style", "width: 5%;", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [1, "text-start", 2, "width", "5%"], [1, "d-block"], [1, "text-white", "p-1", "rounded", "response-desc"], ["target", "_blank", 3, "href", 4, "ngIf"], ["target", "_blank", 3, "href"], ["class", "text-start", 4, "ngFor", "ngForOf"], ["src", "https://res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png"], ["src", "https://res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png"], ["src", "https://res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp"], ["src", "https://res.cloudinary.com/pos/image/upload/v1639725279/icons/marketplace_icons/kalcare.png"], ["src", "https://res.cloudinary.com/pos/image/upload/w_40/v1645761611/icons/Marketplace%20logo/tiktok.png"], [1, "text-start"], [1, "h3", "text-primary", "fw-bold", 3, "routerLink", "queryParams"]], template: function TableReportComponent_Template(rf, ctx) { if (rf & 1) {
814
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "table", 0)(1, "thead", 1)(2, "tr");
815
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "th", 2);
816
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "th", 3);
817
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "Name");
818
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
819
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, TableReportComponent_th_6_Template, 6, 4, "th", 4);
820
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
821
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "tbody");
822
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, TableReportComponent_tr_8_Template, 14, 9, "tr", 5);
823
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
824
- } if (rf & 2) {
825
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](6);
826
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.header);
827
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
828
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.result);
829
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterLinkWithHref], styles: [".response-desc[_ngcontent-%COMP%] {\n font-size: 12px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRhYmxlLXJlcG9ydC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGVBQUE7QUFDSiIsImZpbGUiOiJ0YWJsZS1yZXBvcnQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucmVzcG9uc2UtZGVzYyB7XHJcbiAgICBmb250LXNpemU6IDEycHg7XHJcbn0iXX0= */"] });
830
-
831
-
832
- /***/ }),
833
-
834
- /***/ 8204:
835
- /*!*************************************************!*\
836
- !*** ./src/app/model/Report/FilterSyncOrder.ts ***!
837
- \*************************************************/
838
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
839
-
840
- __webpack_require__.r(__webpack_exports__);
841
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
842
- /* harmony export */ "FilterSyncOrder": () => (/* binding */ FilterSyncOrder)
843
- /* harmony export */ });
844
- class FilterSyncOrder {
845
- }
846
-
847
-
848
- /***/ }),
849
-
850
- /***/ 4016:
851
- /*!*********************************************************!*\
852
- !*** ./src/app/services/report-http-service.service.ts ***!
853
- \*********************************************************/
854
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
855
-
856
- __webpack_require__.r(__webpack_exports__);
857
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
858
- /* harmony export */ "ReportHttpServiceService": () => (/* binding */ ReportHttpServiceService)
859
- /* harmony export */ });
860
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
861
- /* harmony import */ var _http_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.service */ 6858);
862
-
863
-
864
- class ReportHttpServiceService {
865
- constructor(http) {
866
- this.http = http;
867
- }
868
- /**
869
- * Get Api Sales Order
870
- * @param model
871
- * @returns
872
- */
873
- GetLoader() {
874
- return new Promise((resolve, reject) => {
875
- this.http.post('/api/Report/GetLoader', {}).subscribe(result => {
876
- resolve(result);
877
- });
878
- });
879
- }
880
- /**
881
- * Get Api Sales Order
882
- * @param model
883
- * @returns
884
- */
885
- GetSyncOrder(model) {
886
- return new Promise((resolve, reject) => {
887
- this.http.post('/api/Report/Salesorder', JSON.stringify(model)).subscribe(result => {
888
- resolve(result);
889
- });
890
- });
891
- }
892
- /**
893
- * Get Api Invoice
894
- * @param model
895
- * @returns
896
- */
897
- GetSyncInvoice(model) {
898
- return new Promise((resolve, reject) => {
899
- this.http.post('/api/Report/Invoice', JSON.stringify(model)).subscribe(result => {
900
- resolve(result);
901
- });
902
- });
903
- }
904
- /**
905
- *
906
- * @param model Get Api Delivery
907
- * @returns
908
- */
909
- GetSyncDelivery(model) {
910
- return new Promise((resolve, reject) => {
911
- this.http.post('/api/Report/Delivery', JSON.stringify(model)).subscribe(result => {
912
- resolve(result);
913
- });
914
- });
915
- }
916
- /**
917
- * Get Api Payment
918
- * @param model
919
- * @returns
920
- */
921
- GetSyncPayment(model) {
922
- return new Promise((resolve, reject) => {
923
- this.http.post('/api/Report/Payment', JSON.stringify(model)).subscribe(result => {
924
- resolve(result);
925
- });
926
- });
927
- }
928
- }
929
- ReportHttpServiceService.ɵfac = function ReportHttpServiceService_Factory(t) { return new (t || ReportHttpServiceService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_http_service__WEBPACK_IMPORTED_MODULE_0__.HttpService)); };
930
- ReportHttpServiceService.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: ReportHttpServiceService, factory: ReportHttpServiceService.ɵfac, providedIn: 'root' });
931
-
932
-
933
- /***/ }),
934
-
935
- /***/ 5171:
936
- /*!*******************************************************************************!*\
937
- !*** ./src/app/sharing-module/datepicker-range/datepicker-range.component.ts ***!
938
- \*******************************************************************************/
939
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
940
-
941
- __webpack_require__.r(__webpack_exports__);
942
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
943
- /* harmony export */ "DatepickerRangeComponent": () => (/* binding */ DatepickerRangeComponent),
944
- /* harmony export */ "DatepickerRangeModule": () => (/* binding */ DatepickerRangeModule),
945
- /* harmony export */ "MY_FORMATS": () => (/* binding */ MY_FORMATS)
946
- /* harmony export */ });
947
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
948
- /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 2508);
949
- /* harmony import */ var _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material-moment-adapter */ 7118);
950
- /* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/button */ 4522);
951
- /* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/core */ 9121);
952
- /* harmony import */ var _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/datepicker */ 2298);
953
- /* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/form-field */ 5074);
954
- /* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/input */ 8562);
955
- /* harmony import */ var _datepicker_datepicker_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../datepicker/datepicker.component */ 5585);
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
- const MY_FORMATS = {
970
- parse: {
971
- dateInput: "DD MMM YYYY",
972
- },
973
- display: {
974
- dateInput: "DD MMM YYYY",
975
- monthYearLabel: "MMM YYYY",
976
- dateA11yLabel: "LL",
977
- monthYearA11yLabel: "MMMM YYYY",
978
- },
979
- };
980
- class DatepickerRangeComponent {
981
- constructor() {
982
- this.disabled = false;
983
- this.widthClass = "w-100";
984
- this.dateChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter();
985
- }
986
- fromDateChange(momentValue) {
987
- let date = momentValue.toDate();
988
- this.from = date;
989
- }
990
- toDateChange(momentValue) {
991
- let date = momentValue.toDate();
992
- this.to = date;
993
- }
994
- onSelectDate() {
995
- this.dateChange.emit({
996
- from: this.from,
997
- to: this.to,
998
- });
999
- }
1000
- }
1001
- DatepickerRangeComponent.ɵfac = function DatepickerRangeComponent_Factory(t) { return new (t || DatepickerRangeComponent)(); };
1002
- DatepickerRangeComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: DatepickerRangeComponent, selectors: [["app-datepicker-range"]], inputs: { placeholder: "placeholder", displayToggle: "displayToggle", date: "date", disabled: "disabled", minDate: "minDate", widthClass: "widthClass", from: "from", to: "to" }, outputs: { dateChange: "dateChange" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵProvidersFeature"]([
1003
- {
1004
- provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.DateAdapter,
1005
- useClass: _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_3__.MomentDateAdapter,
1006
- deps: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MAT_DATE_LOCALE],
1007
- },
1008
- { provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MAT_DATE_FORMATS, useValue: MY_FORMATS },
1009
- ])], decls: 12, vars: 7, consts: [["appearance", "outline"], ["id", "dates", 3, "min", "rangePicker"], ["matStartDate", "", "placeholder", "Start date", 3, "value", "dateChange", "click"], ["matEndDate", "", "placeholder", "End date", 3, "value", "dateChange", "click"], ["matPrefix", "", 3, "for"], ["picker", ""], ["mat-button", "", "matDateRangePickerCancel", ""], ["mat-raised-button", "", "color", "primary", "matDateRangePickerApply", "", 3, "click"]], template: function DatepickerRangeComponent_Template(rf, ctx) { if (rf & 1) {
1010
- const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
1011
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-form-field", 0)(1, "mat-date-range-input", 1)(2, "input", 2);
1012
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("dateChange", function DatepickerRangeComponent_Template_input_dateChange_2_listener($event) { return ctx.fromDateChange($event.value); })("click", function DatepickerRangeComponent_Template_input_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r1); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](_r0.open()); });
1013
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
1014
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "input", 3);
1015
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("dateChange", function DatepickerRangeComponent_Template_input_dateChange_3_listener($event) { return ctx.toDateChange($event.value); })("click", function DatepickerRangeComponent_Template_input_click_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r1); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](_r0.open()); });
1016
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
1017
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "mat-datepicker-toggle", 4);
1018
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "mat-date-range-picker", null, 5)(7, "mat-date-range-picker-actions")(8, "button", 6);
1019
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9, "Cancel");
1020
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
1021
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "button", 7);
1022
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function DatepickerRangeComponent_Template_button_click_10_listener() { return ctx.onSelectDate(); });
1023
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](11, "Search");
1024
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()();
1025
- } if (rf & 2) {
1026
- const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](6);
1027
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.widthClass);
1028
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
1029
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("min", ctx.minDate)("rangePicker", _r0);
1030
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
1031
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", ctx.from);
1032
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
1033
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", ctx.to);
1034
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
1035
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("for", _r0);
1036
- } }, dependencies: [_angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerToggle, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDateRangeInput, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatStartDate, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatEndDate, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDateRangePicker, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerActions, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerCancel, _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerApply, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.MatFormField, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.MatPrefix, _angular_material_button__WEBPACK_IMPORTED_MODULE_6__.MatButton], styles: ["mat-date-range-input[_ngcontent-%COMP%] {\n font-size: 0.875rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRhdGVwaWNrZXItcmFuZ2UuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKIiwiZmlsZSI6ImRhdGVwaWNrZXItcmFuZ2UuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJtYXQtZGF0ZS1yYW5nZS1pbnB1dCB7XHJcbiAgICBmb250LXNpemU6IDAuODc1cmVtO1xyXG59Il19 */"] });
1037
- class DatepickerRangeModule {
1038
- }
1039
- DatepickerRangeModule.ɵfac = function DatepickerRangeModule_Factory(t) { return new (t || DatepickerRangeModule)(); };
1040
- DatepickerRangeModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: DatepickerRangeModule });
1041
- DatepickerRangeModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ providers: [_angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerModule], imports: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatNativeDateModule,
1042
- _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerModule,
1043
- _angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.MatFormFieldModule,
1044
- _datepicker_datepicker_component__WEBPACK_IMPORTED_MODULE_0__.DatepickerModule,
1045
- _angular_material_input__WEBPACK_IMPORTED_MODULE_7__.MatInputModule,
1046
- _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormsModule,
1047
- _angular_material_button__WEBPACK_IMPORTED_MODULE_6__.MatButtonModule] });
1048
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](DatepickerRangeModule, { declarations: [DatepickerRangeComponent], imports: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatNativeDateModule,
1049
- _angular_material_datepicker__WEBPACK_IMPORTED_MODULE_4__.MatDatepickerModule,
1050
- _angular_material_form_field__WEBPACK_IMPORTED_MODULE_5__.MatFormFieldModule,
1051
- _datepicker_datepicker_component__WEBPACK_IMPORTED_MODULE_0__.DatepickerModule,
1052
- _angular_material_input__WEBPACK_IMPORTED_MODULE_7__.MatInputModule,
1053
- _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormsModule,
1054
- _angular_material_button__WEBPACK_IMPORTED_MODULE_6__.MatButtonModule], exports: [DatepickerRangeComponent] }); })();
1055
-
1056
-
1057
- /***/ })
1058
-
1059
- }]);
1060
- //# sourceMappingURL=src_app_menu_ReportOrder_report_module_ts.js.map