Created Voucher Service to Get / Update / Delete / Post vouchers.

Moved all code to the service view.
Product Autocomplete Service returns price as well.
Ledger Service simplified.
Cost Center Service updated to return grid for AngularJS.
Moved common code to BaseCtl.
Working on Issue page.
Toasts now working fully.
Need to check for Journal/Inventories as undefined in all forms for all $watches as Service methods replace voucher with new {}.
Removed Code column from Batch.
Routes updated for the changes.
This commit is contained in:
unknown
2012-09-10 17:52:24 +05:30
parent f5e47ef3ac
commit d2dc97695f
31 changed files with 1365 additions and 1119 deletions

View File

@ -1,5 +1,6 @@
UPDATE entities_vouchers SET date = date || ".000000", lasteditdate = lasteditdate || ".000000", creationdate = creationdate || ".000000";
UPDATE entities_attendances SET date = date || ".000000", creationdate = creationdate || ".000000";
UPDATE entities_fingerprints SET date = date || ".000000";
ALTER TABLE "Entities_Ledgers" ADD COLUMN "ledger_type" nvarchar(50) NOT NULL DEFAULT "";
UPDATE "Entities_Ledgers" SET ledger_type = 'employees' where type = 10;