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 {
|
allowTransactionEdition(transactionType: number): boolean {
|
||||||
return (transactionType === 20
|
return (transactionType === 20
|
||||||
|| transactionType === 21 || transactionType === 22
|
|| transactionType === 21 || transactionType === 22
|
||||||
|| transactionType === 23);
|
|| transactionType === 23 || transactionType === 28);
|
||||||
}
|
}
|
||||||
|
|
||||||
allowChargebackTransaction(transactionType: LoanTransactionType): boolean {
|
allowChargebackTransaction(transactionType: LoanTransactionType): boolean {
|
||||||
return (transactionType.repayment
|
return (transactionType.repayment
|
||||||
|| transactionType.goodwillCredit || transactionType.payoutRefund
|
|| transactionType.goodwillCredit || transactionType.payoutRefund
|
||||||
|| transactionType.merchantIssuedRefund);
|
|| transactionType.merchantIssuedRefund || transactionType.downPayment);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ export interface LoanTransactionType {
|
|||||||
contra: boolean;
|
contra: boolean;
|
||||||
creditBalanceRefund: boolean;
|
creditBalanceRefund: boolean;
|
||||||
disbursement: boolean;
|
disbursement: boolean;
|
||||||
|
downPayment: boolean;
|
||||||
goodwillCredit: boolean;
|
goodwillCredit: boolean;
|
||||||
initiateTransfer: boolean;
|
initiateTransfer: boolean;
|
||||||
merchantIssuedRefund: boolean;
|
merchantIssuedRefund: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user