Loan account transaction tab enhacements

This commit is contained in:
Jose Alberto Hernandez
2024-03-20 21:18:11 -06:00
committed by Jose Alberto Hernandez
parent 2f863c42a1
commit bb7f084138
30 changed files with 395 additions and 180 deletions
@@ -15,4 +15,18 @@ export class TransactionPaymentDetailComponent implements OnInit {
ngOnInit(): void {}
hasSomeValue(): boolean {
return (
this.isNotNullOrEmpty(this.paymentDetailData.accountNumber) ||
this.isNotNullOrEmpty(this.paymentDetailData.bankNumber) ||
this.isNotNullOrEmpty(this.paymentDetailData.checkNumber) ||
this.isNotNullOrEmpty(this.paymentDetailData.receiptNumber) ||
this.isNotNullOrEmpty(this.paymentDetailData.routingCode)
);
}
isNotNullOrEmpty(value: any): boolean {
return (value !== null && value !== '');
}
}