Commit Graph

568 Commits

Author SHA1 Message Date
Amritanshu
69071182a3 Feature: The app checks if the database schema is not created and creates it automatially on first run.
Fix: While user login try to catch None password error.
Fix: Rename Yeild to the correct spelling Yield.
Fix: Wrong column type for IsReconciled in Voucher.
Fix: Redirect user on login to last page.
Fix: Validate input in save/update of employee and product
2014-03-12 22:49:29 +05:30
Amritanshu
f4551c8b5a Fix: Error in purchase return where the check for batch date was wrong.
Fix: Added some common validation for inputs
Feature: created a to_uuid function which will return uuid if the string is correct else None to parse uuid inputs.
Fix: Proper modal template so that the modal is proper width
2014-02-08 14:42:57 +05:30
Amritanshu
89e1443b48 Feature: Charts in the dashboard for Cash Flow and Creditors using nvd3.js and d3.js
It is still a work in progress with not all charts supporting dynamic data.  But working enough to be put in production use.
2013-12-17 15:56:36 +05:30
Amritanshu
e5f8a4f86f Feature: Added timeout / loading button for vouchers and a few other forms. 2013-12-17 15:48:22 +05:30
Amritanshu
66aca999e2 Fixed: Attendance update was broken due to wrong comparison. 2013-12-07 11:39:04 +05:30
Amritanshu
835e20bd30 Update: AngularJS 1.2.3, AngularUI 0.7.0, Loading bar 0.1.0 2013-12-03 04:03:06 +05:30
Amritanshu
4a65c58aed Fixed: Error is voucher_post and check_delete_permission due to changing from lock_date to lock_info
Fixed (maybe): Save product updated to gather better information in case of an error during save.

Signed-off-by: Amritanshu <tanshu@gmail.com>
2013-11-26 15:50:50 +05:30
Amritanshu
d566493787 Fix: type in get_lock_info view 2013-11-26 13:58:38 +05:30
Amritanshu
8d5d7e6601 Feature: Added lock date from before/after and rolling lock dates. 2013-11-26 13:55:04 +05:30
Amritanshu
7ec55eb0aa Fixed: Update purchase failed when date was changed
Signed-off-by: Amritanshu <tanshu@gmail.com>
2013-11-26 12:55:27 +05:30
Amritanshu
1498e46302 Fix: Added try/catch to product delete as it would bork at times deleting products where narration would exceed the field length 2013-11-20 18:44:11 +05:30
Amritanshu
536bf27403 Feature: Created a tanClick directive which disables button on click while loading
Fix: Could not change the main ledger in payment/receipt edit
Fix: Added try/catch to client delete
2013-11-20 18:24:38 +05:30
Amritanshu
d1a4fc1164 Updated: Angularjs to v1.2.0 final.
Updated: Loading-bar to v0.0.5
Updated: Using the $promise of function to return promises instead of $q and callback function.
2013-11-12 00:29:23 +05:30
Amritanshu
4ace61cdee Added: Purchases report 2013-10-30 12:50:32 +05:30
Amritanshu
76c7a7218b Fixed: Create user
Fixed: Delete client
2013-10-30 11:23:48 +05:30
Amritanshu
3fe3a7f7f3 Feature: Product deletion created including advanced delete.
Feature: Product list filtering created.
2013-10-14 23:23:00 +05:30
Amritanshu
2c714dfe98 Fixed: Issues were negative in Stock Movement 2013-10-14 15:16:21 +05:30
Amritanshu
8df9298724 Fixed: Stock Movement report showed purchase instead of issue 2013-10-14 15:11:33 +05:30
Amritanshu
cc89a548a5 Feature: Created stock movement report. 2013-10-14 15:03:26 +05:30
Amritanshu
bc7b4217cd Rebase: Moved the whole structure down one directory depth. 2013-10-14 09:29:57 +05:30
Tanshu
88b641b4f2 Feature: Debounced the filtering of employees to 350ms to make it smoother. 2013-10-07 13:21:59 +05:30
Tanshu
ff3c375295 Fixed: Issue batch update failed because of wrong date check. 2013-10-06 16:14:54 +05:30
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