Commit Graph

296 Commits

Author SHA1 Message Date
Tanshu
8bc0950e23 Fix: Right aligned numbers in issue 2013-10-06 13:24:22 +05:30
Tanshu
178fb90a6e Fixed: Issue grid not showing 2013-10-06 13:22:55 +05:30
Tanshu
8bb1579c1b Fix: Issue form had stopped working
Feature: Employee-list search saves query string on navigation.
2013-10-06 13:09:10 +05:30
Tanshu
d3e3584e9b Fix: TryCatch added to Employee.delete view
Feature: Added filtering to employee-list partial
2013-10-06 11:43:23 +05:30
Tanshu
db6b7a4881 Feature: Started using lo-dash for many javascript functions
Feature: Payment and receipt last account selected and choose it instead of cash in hand on history back.
Fix: Focus on account typeahead in payment and receipt.
Refactor: Refactored blank_voucher to use additional info only and to output chosen account in purchase / receipt

Signed-off-by: Tanshu <tanshu@gmail.com>
2013-10-05 17:15:36 +05:30
Tanshu
68a41da5bf Fixed: Batch date check was wrong and was causing and error. 2013-10-04 17:05:58 +05:30
Tanshu
5afe7ddd73 Feature: Stock reset built. It resets last batch for the closing stock value. 2013-10-04 16:53:06 +05:30
Tanshu
1def5873bc Fixed: Employees would not autocomplete. 2013-10-03 17:46:01 +05:30
Tanshu
218a1781a8 Feature: Discontinued Ledgers / Products will not show up in Vouchers reducing confusion. 2013-10-03 15:58:16 +05:30
Tanshu
62918bcee5 Feature: Account reconcilliation built.
Fix: Made most of the columns on entities_vouchers NOT NULL.
Fix: Renamed ReconcilliationDate to ReconcileDate NOT NULL
Fix: IsReconciled is the check on reconcilliation.
Feature: Changed output of formatted currency to numbers with formatting in html.
Feature: Html number formatting with indian locale info enables lakhs and crores formatting of currency.
TODO: Started work on reset stock.  Not working yet
TODO: Satrted work on Server-sent Events directive, not working yet
Feature: Created accounting, clr and percent filters
2013-10-03 15:42:43 +05:30
Tanshu
f8bdf9d731 Feature: Batch is not allowed to be issued to a previous date. Only exception is if purchase is made in a new date, product issued and then the purchase is moved to an old date. Will fix that in future commit. 2013-10-01 16:52:21 +05:30
Tanshu
414a1717a5 Feature: Account rebasing built. 2013-10-01 16:52:21 +05:30
Tanshu
cd3cfa4861 Fix: Fixed errors in purchase / purchase return / issue vouchers due to setting columns non-nullable 2013-10-01 16:52:20 +05:30
Tanshu
64c1820867 Feature: Deletion of active accounts and employees built.
Feature: Many columns made non-nullable to better safeguard data.
Fixed: Employee save/update did not work due to misplaced date check.
2013-10-01 16:52:19 +05:30
Tanshu
9c965727df Fixed: Prouct Ledger is fixed 2013-10-01 16:52:19 +05:30
Tanshu
d452e2ada9 Added: Support for fixtures in Ledger, Employee, Product, ProductGroup and CostCenter.
Database updated accordingly.
2013-10-01 16:52:18 +05:30
Tanshu
55741f49c3 Commented out jQuery UI and Mousetrap as they were not needed.
Fixed: Error in purchase-modal where it picked up the product price and not the new price entered.
2013-10-01 16:52:00 +05:30
Tanshu
8f58f42aef class="pull-right" does not work for right-aligning column data.
Removed from balance-sheet.  Will fix later
2013-10-01 16:51:58 +05:30
Tanshu
ca8004015d Updated to Angular 1.2-rc.1 (at the moment rc.2 is not working with datepicker and typeahead of angular ui)
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
2013-10-01 16:51:41 +05:30
Tanshu
909b468c9d Added a keypress directive.
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>
2013-10-01 16:51:07 +05:30
Tanshu
b3ece30300 Added: Net Transactions report. Need to add roles in the Roles table in db.
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');
2013-07-11 17:55:51 +05:30
Tanshu
d187c1ee2f Added settings table to store user settings.
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>
2013-07-08 01:33:02 +05:30
Tanshu
30a38f7ed9 Updated Thread / Messaging to show unread / read messages
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.
2013-06-24 13:53:51 +05:30
Tanshu
a2587cda60 Fixed critical error in Batch table 2013-06-21 16:27:27 +05:30
Tanshu
5972dd6b75 Updated batch to use a date instead of string as name.
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;
2013-06-21 16:20:50 +05:30
Tanshu
eae7220651 Error updating thread fixed. 2013-06-21 15:34:44 +05:30
Tanshu
1bd079ae74 Error where new thread could not be created because the check of old was wrong. 2013-06-21 15:12:01 +05:30
Tanshu
89e6f347cd Updating subscribers of threads now works. 2013-06-20 19:02:51 +05:30
Tanshu
b9845a2dc1 Allowed superuser to edit posts in threads.
Catch IntegrityError in TryCatchDecorator
Check for duplicate title in threads
2013-06-20 14:28:35 +05:30
Tanshu
c6c091bdcb Fixed error where wrong permission was checked while trying to update users. 2013-06-17 12:23:38 +05:30
Tanshu
69d6a76632 Fixed error where when super_user updated a Thread, it would always be maked closed and public 2013-06-08 14:39:07 +05:30
Tanshu
1fc2127835 Manifest added to MANIFEST.in 2013-06-07 19:15:55 +05:30
Tanshu
4629fbcacf Error in thread show_list fixed.
Updated jquery to 2.0.2
2013-06-07 19:13:58 +05:30
Tanshu
0ff8108ebe Allow filtering of Threads based on open / closed / all on home.html 2013-06-07 18:47:15 +05:30
Tanshu
970eea2979 Thread subscribers working.
TODO: Implement thread read status per user.
TODO: Implemented edit post functionality for privileged user.
2013-06-07 15:55:12 +05:30
Tanshu
6bf884da66 Hopefully now the probem displaying thread age should be fixed.
Default arguments of python funtions are evaluated only on definition time.

Signed-off-by: Tanshu <tanshu@gmail.com>
2013-06-07 14:57:56 +05:30
Tanshu
d111c7b41c Angular_filter for localTime error fixed when input is undefined. 2013-06-06 23:53:53 +05:30
Tanshu
5ceb4e8f0c Hopefully show proper creation / last edit time in vouchers. 2013-06-06 23:47:04 +05:30
Tanshu
7650fffea0 get_age made more robust plus fixed minutes error.
Made Voucher.creation_date, last_edit_date and Attendance.creation_date tz aware
2013-06-06 23:24:27 +05:30
Tanshu
01298ebadb Fixed password change not allowed for non Privilaged users.
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>
2013-06-06 16:56:05 +05:30
Tanshu
d5dcd392f7 Error in message-detail.html partial
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.
2013-05-30 18:28:41 +05:30
Tanshu
86b5beaa0d Added new styles based and layout
Update home list style to use widgets from the unicorn theme.
Creation Date is now formatted using filter to show local time.
2013-05-30 16:52:51 +05:30
Tanshu
37acebca06 Critical error in routes for api_tag_list fixed. 2013-05-29 13:35:12 +05:30
Tanshu
6225da9ec8 Added the full messaging module.
Added ace.ajax.org editor for messaging.
Added showdown for showing markdown in messaging.
Added chosen for multi-select tags.
2013-05-29 13:28:37 +05:30
Tanshu
762ff27ffc Updated json renderer to pyramid 1.4 format 2013-05-19 17:09:14 +05:30
Tanshu
fa95e79e0f Updated the typeahead directive to cache queries. 2013-05-18 15:03:50 +05:30
Tanshu
572a630520 Added client enable / disable / rename form.
Fixed compile error in Purchase Return
2013-05-18 13:22:39 +05:30
Tanshu
1a4a136058 Hopefully fixed purchase return update journal. 2013-05-18 12:42:38 +05:30
Tanshu
9db47afb7a Now hopefully fixed 2013-05-18 12:23:44 +05:30
Tanshu
8985f1213a Fixed again 2013-05-18 12:18:02 +05:30