Renamed Service Charges to Incentives including account fixture and permission
replaced my custom ValidationErro with FastAPI HTTPException Fixed?: Attendance Employee Attendance
This commit is contained in:
@@ -16,7 +16,7 @@ export class IncentiveResolver implements Resolve<Voucher> {
|
||||
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<Voucher> {
|
||||
const id = route.paramMap.get('id');
|
||||
if (id === null) {
|
||||
return this.ser.getOfType('Service Charge');
|
||||
return this.ser.getOfType('Incentive');
|
||||
} else {
|
||||
return this.ser.get(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user