Chore: Moved from css to sass, god knows what to do now.

Chore: Prettier line length changed to 120 from 100
Fix: Hard coded the face as the primary color to make the buttons stand out
This commit is contained in:
2023-03-13 23:52:44 +05:30
parent b021861ba3
commit efa2af396d
123 changed files with 313 additions and 836 deletions

View File

@ -23,9 +23,7 @@ export class SettleOptionService {
const getUrl: string = id === null ? url : `${url}/${id}`;
return this.http
.get<SettleOption>(getUrl)
.pipe(
catchError(this.log.handleError(serviceName, `get id=${id}`)),
) as Observable<SettleOption>;
.pipe(catchError(this.log.handleError(serviceName, `get id=${id}`))) as Observable<SettleOption>;
}
list(): Observable<SettleOption[]> {
@ -37,9 +35,9 @@ export class SettleOptionService {
listForType(voucherType: VoucherType): Observable<SettleOption[]> {
return this.http
.get<SettleOption[]>(`${url}/for-type/${voucherType}`)
.pipe(
catchError(this.log.handleError(serviceName, `listForType voucherType=${voucherType}`)),
) as Observable<SettleOption[]>;
.pipe(catchError(this.log.handleError(serviceName, `listForType voucherType=${voucherType}`))) as Observable<
SettleOption[]
>;
}
save(settleOption: SettleOption): Observable<SettleOption> {