gunsmith-common 2.3.24 → 2.3.25

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.
@@ -1979,7 +1979,7 @@ class FinishDateHelperService {
1979
1979
  }
1980
1980
  return this.adjustHoliday(finishDate.toJSDate());
1981
1981
  }
1982
- calculate(receivedDate, workOrderType) {
1982
+ calculate(receivedDate, workOrderType, hasRefinish) {
1983
1983
  if (!receivedDate) {
1984
1984
  return EMPTY;
1985
1985
  }
@@ -1990,10 +1990,10 @@ class FinishDateHelperService {
1990
1990
  ]).pipe(switchMap$1(([configs, holidays]) => {
1991
1991
  this.configs = configs;
1992
1992
  this.holidays = holidays;
1993
- return of(this.calculateFinishDate(receivedDate, workOrderType));
1993
+ return of(this.calculateFinishDate(receivedDate, workOrderType, hasRefinish));
1994
1994
  }));
1995
1995
  }
1996
- return of(this.calculateFinishDate(receivedDate, workOrderType));
1996
+ return of(this.calculateFinishDate(receivedDate, workOrderType, hasRefinish));
1997
1997
  }
1998
1998
  }
1999
1999
  FinishDateHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FinishDateHelperService, deps: [{ token: ConfigurationService }, { token: WorkHolidayService }], target: i0.ɵɵFactoryTarget.Injectable });