Using angular-ui for datepicker and typeahead. Modified the source to set template folder in the root and not path relative.
Updated to twitter bootstrap 3.0.0
No longer using the offline.appcache method. Using simple resource cacheing.
Profit & Loss split into Profit & Loss / Balance Sheet
Updated the Ledger html and controller to work with keyboard shortcut.
Still have to implement Remove entry and restore entry in ledger.
Signed-off-by: Tanshu <tanshu@gmail.com>
Fixed: Single Client page gave 404 when opened directly
Add role query:
insert into auth_roles ("RoleID", "Name") VALUES ('2c40f7cf-67fc-4efa-a670-8d16a2e7884d', 'Net Transactions');
Added settings page, view, route and controller.
Added lock_date setting to prevent changes to voucher upto and including that date.
The sql for this update is:
CREATE TABLE settings (
"SettingID" UUID NOT NULL,
"Name" VARCHAR(255) NOT NULL,
"Data" BYTEA,
PRIMARY KEY ("SettingID"),
UNIQUE ("Name")
);
INSERT INTO auth_roles ("RoleID", "Name") VALUES ('d52de0be-9388-4b0b-a359-7e122ab6e53a', 'Lock Date');
Signed-off-by: Tanshu <tanshu@gmail.com>
Showing subscribers in main.html
Messages are considered read when the message is opened by the user.
Fixed error left from before where batch date was not updated on updating purchase voucher.
to update this step, also execute the following sql in the database.
update entities_batches set "Name" = '01-Jan-2012' where "Name" = 'Old Products';
alter table entities_batches alter column "Name" type timestamp without time zone using "Name"::date;
Fixed storing utc dates in message tables.
Created utc class for time-aware dates.
Updated home to show age of Threads and open in new window available.
Modified message detail template to show editable by privileged user.
Added subscribers to thread detail.
Improved markup for message-detail to use less space.
Improved the chosen directive for when there is no create option.
Added method 'Names' to user resource for use in message subscribers.
Payment and Receipt clear typeahead on adding ledgers.
TODO: Implement thread read status per user.
TODO: Implemented edit post functionality for privileged user.
TODO: Implement thread filtering on main page for subscribers
Signed-off-by: Tanshu <tanshu@gmail.com>
Public and Closed checkboxes should now be working.
Delete button in message-detail.html was accidentally left, removed.
Removed cacheing from an-autocomplete.
Message list now returns tags list also.
Moved all json calls to /api route and ignore xhr status,
this is because app cache failed to distinguish and was breaking Ledger,
must be doing the same to others as well.
Added offline.appcache to use application cacheing in html5.
Moved favicon.ico to static from views.
Updated all angular resources to use /api route.
Changed voucher.Journals watch to use array functions of ECMAScript5.
Added downloadTable button to product ledger.
ProductLedgerCtrl updates data when route is not being changed on clicking show without changing the parameters.
Added view to serve manifest file.
Removed unused backbone and underscore js files.
Removed Unnecessary update in Journal model.
Added refresh button to Unposted page.
Base, Account, Attendance, Journal, Login, Logout, Unposted, Controllers are Minifiable.
Modal Service and Directives are Minifiable.
Fixed EmployeeAttendanceCtrl.
Fixed Save Account. Added validation to vouchers.
Added rounding to Journal Voucher.
Purchase now updates product price.
Added limiting of clients via cookies.
Added Attendence report download and credit salary in employee functions.
Renamed get_by_id and get_by_name in User, Group and Role models.
Added salary staff account in LedgerBase.
Voucher validation to be checked.
Added csv renderer for downloading csv files.
Added ngCookies module to process ClientID in login form on client side.
Modified the datepicker directive to process model properly.
Fixed Employee Attendance, was broken.
Allowed batch quantity to increase in multiple entries of same product batch in issue.
Ledger report would not reload data if ledger and dates were not changed, fixed that.
Removed code from voucher, cost center,
Changed the clean-table css to only add color and nothing else.
Added Reconcilliation Date to voucher.
Added rounding to two in amount and quantity to combat sqlalchemy storing decimals as floats.
Major changes to the autocomplete directive.
Modified autocomplete to use Angular Resources and target Attributes not Elements.
Edit in Purchase is not showing the right rate or amount.
Removed autobatch directive as it was no longer needed.
Added autocomplete method to resources for use in autocomplete.
Removed redundant print / console.log debug statements.
Purchase Return edit done.
Issue editing done.
Added the reconcilable column to ledgers table for future implementation of reconcile account feature.
Purchase return should work now at.
Changed the class of add button in voucher forms to btn-info
Edit in Payment and Receipt should be working now.
JS Code Cleanup including missing ';', etc.
Added 'use strict'; to all js files
Added came_from in login in AngularJS.
Fixed error in purchase where it would look for purchase_ledger instead of ledger of product.
Added 'Clients' permission which is allowed remote logins and to authorize/deauthroize clients
Added JDBC Sqlite provider for use in PyCharm
Editing entries in journal.html built.
modal-service.js now supports loading partials from urls.
Redirect from login to came_from enabled.
Created getOldJournal in JournalCtrl to enable editting of individual entries.