Fix: Post voucher was not working. Replace command had borked the url.
Fix: Attendace report file name contained single quotes and did not open in excel
This commit is contained in:
@ -60,7 +60,7 @@ export class VoucherService {
|
||||
|
||||
post(id: string): Observable<Voucher> {
|
||||
return this.http
|
||||
.post<Voucher>(`${url}/post as Observable<Voucher>-voucher/${id}`, {})
|
||||
.post<Voucher>(`${url}/post-voucher/${id}`, {})
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'Post Voucher'))) as Observable<Voucher>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user