Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST
Chore: Model relationships updated to make them simpler Chore: Bill printing majorly refactored for it Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
This commit is contained in:
@@ -12,8 +12,8 @@ export class ProductSaleReportResolver implements Resolve<ProductSaleReport> {
|
||||
constructor(private ser: ProductSaleReportService) {}
|
||||
|
||||
resolve(route: ActivatedRouteSnapshot): Observable<ProductSaleReport> {
|
||||
const startDate = route.queryParamMap.get('startDate') || null;
|
||||
const finishDate = route.queryParamMap.get('finishDate') || null;
|
||||
const startDate = route.queryParamMap.get('startDate') ?? null;
|
||||
const finishDate = route.queryParamMap.get('finishDate') ?? null;
|
||||
return this.ser.get(startDate, finishDate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user