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:
José Alberto Hernández
2023-02-28 23:48:58 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 180264e5f4
commit 814bb87c16
2 changed files with 6 additions and 2 deletions
@@ -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();