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:
@ -40,7 +40,7 @@ export class VoucherService {
|
||||
}
|
||||
|
||||
getIncentive(date: string): Observable<Voucher> {
|
||||
const options = {params: new HttpParams().set('t', 'Service Charge').set('d', date)};
|
||||
const options = {params: new HttpParams().set('t', 'Incentive').set('d', date)};
|
||||
return <Observable<Voucher>>this.http.get<Voucher>(url, options)
|
||||
.pipe(
|
||||
catchError(this.log.handleError(serviceName, 'list'))
|
||||
|
||||
Reference in New Issue
Block a user