Merge pull request #1550 from josehernandezfintecheandomx/enhancement/allow_undo_loan_transactions
Allow undo for new Loan Transactions
This commit is contained in:
+4
-2
@@ -83,10 +83,12 @@ export class ViewTransactionComponent implements OnInit {
|
||||
this.allowChargeback = this.transactionData.type.repayment && !this.isFullRelated;
|
||||
}
|
||||
}
|
||||
if (!this.allowChargeback || this.existTransactionRelations) {
|
||||
this.allowUndo = false;
|
||||
if (!this.allowChargeback) {
|
||||
this.allowEdition = false;
|
||||
}
|
||||
if (this.existTransactionRelations) {
|
||||
this.allowUndo = false;
|
||||
}
|
||||
});
|
||||
this.clientId = this.route.snapshot.params['clientId'];
|
||||
this.loanId = this.route.snapshot.params['loanId'];
|
||||
|
||||
Reference in New Issue
Block a user