Loan product extend schedule setting (#1866)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-09-14 11:29:09 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent b6efd0e08a
commit c8703adbc1
7 changed files with 114 additions and 57 deletions
+15
View File
@@ -0,0 +1,15 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'yesNo'
})
export class YesnoPipe implements PipeTransform {
transform(value: boolean, ...args: unknown[]): string {
if (value == null) {
return null;
}
return value ? 'Yes' : 'No';
}
}