Allow Chargeback option for Downpayment Transaction type

This commit is contained in:
Jose Alberto Hernandez
2024-01-23 14:08:04 +01:00
committed by Adam Saghy
parent ba7a5dbca9
commit 4a7fbcb334
2 changed files with 3 additions and 2 deletions
@@ -118,13 +118,13 @@ export class ViewTransactionComponent implements OnInit {
allowTransactionEdition(transactionType: number): boolean {
return (transactionType === 20
|| transactionType === 21 || transactionType === 22
|| transactionType === 23);
|| transactionType === 23 || transactionType === 28);
}
allowChargebackTransaction(transactionType: LoanTransactionType): boolean {
return (transactionType.repayment
|| transactionType.goodwillCredit || transactionType.payoutRefund
|| transactionType.merchantIssuedRefund);
|| transactionType.merchantIssuedRefund || transactionType.downPayment);
}
/**