gunsmith-common 2.1.11 → 2.1.15
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/bundles/gunsmith-common.umd.js +4 -1
- package/bundles/gunsmith-common.umd.js.map +1 -1
- package/esm2015/shared/pipes/new-line.pipe.js +1 -1
- package/esm2015/shared/services/inventory.service.js +1 -1
- package/esm2015/shared/services/material.service.js +1 -1
- package/esm2015/shared/services/purchase-order.service.js +2 -2
- package/esm2015/shared/services/user.service.js +1 -1
- package/esm2015/shared/types/dealer.js +2 -1
- package/esm2015/shared/types/report-refinish-item.js +1 -1
- package/esm2015/shared/types/work-order-status.js +3 -1
- package/fesm2015/gunsmith-common.js +4 -1
- package/fesm2015/gunsmith-common.js.map +1 -1
- package/package.json +1 -1
- package/shared/types/report-refinish-item.d.ts +1 -0
- package/shared/types/work-order-status.d.ts +2 -0
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
|
|
84
84
|
var Dealer = /** @class */ (function () {
|
|
85
85
|
function Dealer() {
|
|
86
|
+
this.couponDiscount = 20;
|
|
86
87
|
this.active = true;
|
|
87
88
|
this.contacts = [];
|
|
88
89
|
}
|
|
@@ -243,6 +244,8 @@
|
|
|
243
244
|
WorkOrderStatus[WorkOrderStatus["OutOfShop"] = 2] = "OutOfShop";
|
|
244
245
|
WorkOrderStatus[WorkOrderStatus["WaitingOnCustomer"] = 3] = "WaitingOnCustomer";
|
|
245
246
|
WorkOrderStatus[WorkOrderStatus["CustomerNotified"] = 4] = "CustomerNotified";
|
|
247
|
+
WorkOrderStatus[WorkOrderStatus["ShippingPostponed"] = 10] = "ShippingPostponed";
|
|
248
|
+
WorkOrderStatus[WorkOrderStatus["FflNeeded"] = 11] = "FflNeeded";
|
|
246
249
|
WorkOrderStatus[WorkOrderStatus["ReadyToShip"] = 5] = "ReadyToShip";
|
|
247
250
|
WorkOrderStatus[WorkOrderStatus["Completed"] = 6] = "Completed";
|
|
248
251
|
WorkOrderStatus[WorkOrderStatus["Cancelled"] = 7] = "Cancelled";
|
|
@@ -1516,7 +1519,7 @@
|
|
|
1516
1519
|
params['id'] = id;
|
|
1517
1520
|
}
|
|
1518
1521
|
if (date) {
|
|
1519
|
-
params['date'] = date;
|
|
1522
|
+
params['date'] = date.toUTCString();
|
|
1520
1523
|
}
|
|
1521
1524
|
if (vendorId) {
|
|
1522
1525
|
params['vendorId'] = vendorId;
|