Commit Graph

32 Commits

Author SHA1 Message Date
Amritanshu Agrawal ba4f8a4831 Fix:
Update password works
 Updated the precision and nullability for models
 Batch was sending non round quantity_available
 Amounts were not being displayed in daybook

 Moved dockerfile from root to have a consistent build environment
2020-11-03 21:50:30 +05:30
Amritanshu Agrawal d9eb335ef3 Blacked, isorted, etc the python file
Was also moving the validation from schemas to models/validations
2020-11-02 23:18:56 +05:30
Amritanshu Agrawal 14930954a2 Fix: Batch autocomplete would bork on empty string as it would try to split Null
v8.0.1
2020-10-11 16:02:41 +05:30
Amritanshu Agrawal 889cac237c Moved brewman python project down a level into its own folder 2020-10-10 11:19:15 +05:30
Amritanshu bc7b4217cd Rebase: Moved the whole structure down one directory depth. 2013-10-14 09:29:57 +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 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 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 d452e2ada9 Added: Support for fixtures in Ledger, Employee, Product, ProductGroup and CostCenter.
Database updated accordingly.
2013-10-01 16:52:18 +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 eaa32d9c3a removed database trasfer code. 2013-04-15 00:24:57 +05:30
Tanshu 9b868ca71e Error Ledger.can_delete() did not return reason if delete allowed. 2012-12-07 19:02:19 +05:30
Tanshu 9c744cd6d4 Check implemented if Account cannot be deleted.
Delete button added to account-detail.html
Account.py was not updated to serve api routes, fixed.
2012-12-07 18:56:26 +05:30
Tanshu 8331b18cce Added fingerprint import.
Fingerprint shows in attendance forms.
Upated the fingerprint table.  MUST EXECUTE SQL.
2012-11-30 22:53:16 +05:30
Tanshu f60cca97e6 Added salary deductions model / route.
Updated import queries to support deductions.
Added esi_pf expense and payable ledgers to LedgerBase.
2012-11-28 13:28:16 +05:30
Tanshu bb820febff Added client list, full management pending.
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.
2012-11-09 00:13:04 +05:30
Tanshu 48c4d79bdf Removed redundant routes.
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.
2012-11-06 20:37:53 +05:30
Tanshu 16bbf37601 Added the Clents table to restrict the webapp on allowed clients via 10 yr long cookies and otp for intitial activation.
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
2012-11-04 15:27:46 +05:30
Tanshu 4ffa033fd3 Drop Tax table.
Closing Stock and Raw Material Cost Reports working.
Added spinner for long ajax operations with interceptor.
2012-10-22 19:23:58 +05:30
Tanshu 6edd04b817 Dropped Taxes table and changed script to modify ledgers.
Profit and loss fully done in new style.
2012-10-18 00:07:32 +05:30
Tanshu a9aa9bd6ae Profit and Loss working / but working on a major rewrite. 2012-10-17 16:23:55 +05:30
Tanshu f627fb1303 Employee list/add/edit done. 2012-10-17 13:27:14 +05:30
Tanshu cf0da7e309 Purchase, Trial Balance, Journal, Product Group done.
Voucher Posting fixed.
2012-10-13 19:36:34 +05:30
Tanshu eb8568b471 Dropped many columns for Prodct Table.
Merged product and account menu on page top.
Product working now.
2012-10-12 02:30:36 +05:30
Tanshu a71999e3c8 Cost Center Done 2012-10-12 00:29:11 +05:30
Tanshu 427f667f3a Altered the convert sql to drop ParentLedgerID from Ledgers
Changed Ledger to Account in ui and made the list and detail form + view angular.
Added partial static view for AngularJS templates
Added services / routes for user permissions and account types
Removed post_voucher and delete_voucher route as they are no longer needed
Added Account / Ledger / Permission / Cost Center / Account Type service in angular
Added routes for /Accounts
Disabled the debug toolbar
2012-10-11 17:26:51 +05:30
unknown 9ef3f751f9 Voucher Service moved into its own directory.
Journal / Payment / Reciept / Purchase / Issue should be complete.
2012-09-12 13:52:28 +05:30
unknown d2dc97695f 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.
2012-09-10 17:52:24 +05:30
unknown f5e47ef3ac changed json renderer to allow proper encoding uuid and decimal.
updated the database.
added sql server to sqlite converter and change scripts.
removed code from batch.
journal/payment/receipt/purchase should be working fully.
updated bootstrap to 2.1.0
removed rootscope to add intital data to the controller via global variables.
cannot update the environment because distribute on windows does not update on virtualenv.
2012-08-28 13:19:21 +05:30
unknown 4c9df75b65 Switched Journal, Payment and Receipt to Backbone.
Working on Purchase, but now planning to switch to AngularJS
2012-08-06 22:36:10 +05:30