Loan product extend schedule setting (#1866)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
b6efd0e08a
commit
c8703adbc1
@@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user