Fix: Account save error
This commit is contained in:
parent
4530052a22
commit
8c9a1a2191
@ -112,7 +112,7 @@ export class AccountDetailComponent implements OnInit, AfterViewInit {
|
||||
getItem(): Account {
|
||||
const formModel = this.form.value;
|
||||
this.item.name = formModel.name;
|
||||
this.item.type.id = formModel.type;
|
||||
this.item.type = formModel.type;
|
||||
this.item.isActive = formModel.isActive;
|
||||
this.item.isReconcilable = formModel.isReconcilable;
|
||||
this.item.costCentre.id = formModel.costCentre;
|
||||
|
Loading…
Reference in New Issue
Block a user