Debit and Credit values are not aligned properly on view journal entry view (#1694)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
180264e5f4
commit
814bb87c16
+1
-1
@@ -68,7 +68,7 @@ export class ViewTransactionComponent implements OnInit {
|
||||
this.transactionData = data.loansAccountTransaction;
|
||||
this.allowEdition = !this.transactionData.manuallyReversed && !this.allowTransactionEdition(this.transactionData.type.id);
|
||||
this.allowUndo = !this.transactionData.manuallyReversed;
|
||||
this.allowChargeback = this.transactionData.type.repayment;
|
||||
this.allowChargeback = this.transactionData.type.repayment && !this.transactionData.manuallyReversed;
|
||||
let transactionsChargebackRelated = false;
|
||||
if (this.transactionData.type.repayment) {
|
||||
if (this.transactionData.transactionRelations) {
|
||||
|
||||
@@ -227,7 +227,11 @@ export class CreateDataTableComponent implements OnInit, AfterViewInit {
|
||||
});
|
||||
});
|
||||
this.dataTableForm.value.columns = columns;
|
||||
this.systemService.createDataTable(this.dataTableForm.value).subscribe((response: any) => {
|
||||
const payload = this.dataTableForm.value;
|
||||
if (this.dataTableForm.value.entitySubType == null || this.dataTableForm.value.entitySubType === '') {
|
||||
delete payload.entitySubType;
|
||||
}
|
||||
this.systemService.createDataTable(payload).subscribe((response: any) => {
|
||||
if (this.configurationWizardService.showDatatablesForm === true) {
|
||||
this.configurationWizardService.showDatatablesForm = false;
|
||||
this.openDialog();
|
||||
|
||||
Reference in New Issue
Block a user