gunsmith-common 2.2.14 → 2.2.16

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.
@@ -302,6 +302,7 @@ class MillingDetail {
302
302
  constructor() {
303
303
  this.barrelCrown = false;
304
304
  this.bushingInstallation = false;
305
+ this.opticPulled = false;
305
306
  }
306
307
  }
307
308
 
@@ -345,6 +346,9 @@ class MillingType {
345
346
  }
346
347
 
347
348
  class MillingItem {
349
+ constructor() {
350
+ this.opticPulled = false;
351
+ }
348
352
  }
349
353
 
350
354
  class WorkOrderRefinishItem {
@@ -392,6 +396,8 @@ class InventoryItem {
392
396
  this.price = 0;
393
397
  this.count = 0;
394
398
  this.orderPoint = 0;
399
+ this.bulk = false;
400
+ this.kit = false;
395
401
  this.active = true;
396
402
  }
397
403
  }
@@ -1209,6 +1215,9 @@ class OpticService {
1209
1215
  deleteOptic(opticId) {
1210
1216
  return this.http.delete(`${this.url}/${opticId}`);
1211
1217
  }
1218
+ readOpticReport() {
1219
+ return this.http.get(`${this.url}/report`);
1220
+ }
1212
1221
  }
1213
1222
  OpticService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpticService, deps: [{ token: i1.HttpClient }, { token: 'env' }], target: i0.ɵɵFactoryTarget.Injectable });
1214
1223
  OpticService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpticService, providedIn: 'root' });