Allow Chargeback option for Downpayment Transaction type
This commit is contained in:
committed by
Adam Saghy
parent
ba7a5dbca9
commit
4a7fbcb334
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,6 +13,7 @@ export interface LoanTransactionType {
|
||||
contra: boolean;
|
||||
creditBalanceRefund: boolean;
|
||||
disbursement: boolean;
|
||||
downPayment: boolean;
|
||||
goodwillCredit: boolean;
|
||||
initiateTransfer: boolean;
|
||||
merchantIssuedRefund: boolean;
|
||||
|
||||
Reference in New Issue
Block a user