Commit Graph

39 Commits

Author SHA1 Message Date
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 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 414a1717a5 Feature: Account rebasing built. 2013-10-01 16:52:21 +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 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 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 6990131bf2 Trial Balanced was ignoring last date, fixed.
Salary Deduction fixed.
2013-01-02 19:18:25 +05:30
Tanshu 86aa1642d0 LedgerCtrl and ProductLedgerCtrl is minifiable.
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.
2012-12-07 14:22:37 +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 c8ea23ca13 Removed redundant routes in pyramid.
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.
2012-11-05 16:37:30 +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 0ad7dbbcb5 resolve: Daybook.js
Fixed incorrect css in a few forms
Resolve problem in Controllers where was wrongly returning the resource
Added permissions to controllers
2012-10-26 22:44:58 +05:30
Tanshu 4ee55a43aa Attendance and employee attendance working now.
Upgraded to twitter bootstrap 2.1.1
Table formatting using twitter table
Cleaned up old cruft.
Had accidently misplaced BaseController, fixed.
base.mako made fully html.
Changed certain permissions from specific to authenticated, need to check further such problems and change them.
They prevented the user from vieweing lists in other forms.
2012-10-26 01:03:57 +05:30
Tanshu 71c30ca04c Auth worked into Angular services.
Removed the templates of the nav bar and integrated into the base page
Removed helper module
Fixed auth model for wrong username.
Updated to anuglar 1.0.2
Closing stock with resolve.
Login with controller
2012-10-25 15:41:33 +05:30
Tanshu 27c97cbf88 Auth Group done.
Employee done.
ACL dynamically done.
VoucherFactory to be done.
2012-10-23 17:09:55 +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 a9aa9bd6ae Profit and Loss working / but working on a major rewrite. 2012-10-17 16:23:55 +05:30
Tanshu 83a87c799d Daybook done.
Unposted Entries done.
2012-10-17 01:32:01 +05:30
Tanshu d221a4f4e9 Cash flow done. 2012-10-17 00:21:43 +05:30
Tanshu 16b2e8dd51 Split the App js out or autocomplete.js into its own file.
Removed dead routes not in use.
Made the Home view angular.
Product Ledger is not Angular
2012-10-16 15:02:36 +05:30
Tanshu 9efcefe31e Purchase working
Issue sort of working, have to set the location for date and costcenters, but otherwise working mostly
updated product service to confirm with new db structure
2012-10-14 04:36:34 +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 0be9ce91d9 Added route for user management
Removed route for user groups and related views / templates
User management created.
Updated journal to full angular with routes
Added User service in angular
Added Journal Route.
Changed auth in BaseCtrl to use Permission service and do away with function.
2012-10-11 23:31:04 +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 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 d1e654649b Journal migrated to AngularJS with ID in Autocomplete (ledger), saving not yet implemented 2012-08-21 08:25:13 +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
unknown c6266bba74 Commit before moving back to Accounting Software Branching 2012-06-02 15:05:58 +05:30
unknown c2262aa87b Added missing applications to setup.py so that they are automatically installed.
Copied old project to new install.
2012-05-02 03:10:01 +05:30
unknown 4fd697dc90 Initial Commit of Pyramid 1.3 starter project named brewman 2012-05-02 02:12:10 +05:30