Chore: Renamed the Ledger Table to Account

Chore: Renamed the Ledger Model to Account
Chore: Renamed LedgerType to AccountType
Chore: Renamed all properties of Account table to lowercase with underscores

Feature: Starred Accounts and their entries do not delete during a rebase.
Info: Starred Vouchers still delete. They can be starred, but have no effect.
This commit is contained in:
tanshu
2018-07-07 16:31:44 +05:30
parent 739c872815
commit 9f4eb334d7
49 changed files with 791 additions and 455 deletions

View File

@ -125,8 +125,8 @@ export class EmployeeDetailComponent implements OnInit, AfterViewInit {
const formModel = this.form.value;
this.item.name = formModel.name;
this.item.designation = formModel.designation;
this.item.salary = formModel.salary;
this.item.points = formModel.points;
this.item.salary = +formModel.salary;
this.item.points = +formModel.points;
this.item.isActive = formModel.isActive;
this.item.costCentre.id = formModel.costCentre;
this.item.joiningDate = moment(formModel.joiningDate).format('DD-MMM-YYYY');