Commit Graph

66 Commits

Author SHA1 Message Date
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
7999d4cb9d Fixed error in payment and receipt where duplicate entry resulted in corrupted voucher. 2012-12-07 18:18:37 +05:30
Tanshu
68897338f1 EmployeeAttendance controller and subcontroller minifiable. 2012-12-07 16:03:02 +05:30
Tanshu
b5518a7577 Made DaybookCtrl minifiable.
Updated login.html to remove unfocusable error.
2012-12-07 15:59:39 +05:30
Tanshu
56e8e6acb1 Fixed major error where login view was not targeting api_login route 2012-12-07 15:08:57 +05:30
Tanshu
59134c51fa ClientCtrl made minifiable. 2012-12-07 14:59:52 +05:30
Tanshu
428de7f677 CashflowCtrl is minifiable.
ProductLedgerCtrl.Resolve was mistakenly not minifiable, fixed.
Updated appcache file so that cache is updated.
2012-12-07 14:39:16 +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
cbb004e922 Purchase return entry not linked for voucher edit. 2012-12-03 19:33:19 +05:30
Tanshu
a4d8ae3c6a Fixed error on saving attendance where it was sending date as string not datetime.datetime 2012-12-01 14:57:53 +05:30
Tanshu
9a8e504e46 Added Labels to attendance showing hours worked according to fingerprint data.
Table styles made to exclude the fingerprint column.
Bumped version to 3.2
2012-12-01 01:30:55 +05:30
Tanshu
5f4e96be88 Forgot to add fingerprint.py to the repository. 2012-11-30 23:22:32 +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
1cb0347c86 Merge branch 'master' of hopsngrains.com:webapps/git/repos/brewman 2012-11-29 18:40:54 +05:30
Tanshu
93efa15bd1 Added styles and dirty check for attendance.
UserCtrl is minifiable.
User route now works with names.
Fixed Payment / Receipt partials broken due to autocomplete changes.
2012-11-29 18:39:26 +05:30
Tanshu
cd408e3cde Added styles and dirty check for attendance.
UserCtrl is minifiable.
User route now works with names.
2012-11-29 15:47:16 +05:30
Tanshu
ecbbf65feb Merge branch 'typeahead' 2012-11-28 21:37:33 +05:30
Tanshu
5a28d9717b Changed the autocomplete from jQuery to Bootstrap.typeahead
Added DeepLabel factory to get values from inside nested json objects.
Split SalaryDeductionController into its own file.
2012-11-28 21:36:17 +05:30
Tanshu
105f72f50f Updated .gitignore to ignore egg-info 2012-11-28 17:18:04 +05:30
Tanshu
38b7f941d5 Fixed minor errors in SalaryDeduction 2012-11-28 16:11:00 +05:30
Tanshu
73b5520c4c Changed size of narration box. 2012-11-28 13:30:31 +05:30
Tanshu
055b208a08 Merge branch 'esipf' 2012-11-28 13:29:10 +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
517b56431a Removed redundant operations.
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.
2012-11-20 23:21:10 +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
bccad85099 Login was not angular, made it angular.
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.
2012-11-03 14:55:12 +05:30
Tanshu
b990158554 Changed angular-1.0.2 to allow injection in resolve.
Dialog box for delete confirmation.
Fixed forbidden view as it is not compatible with xhr
2012-11-01 18:49:35 +05:30
Tanshu
56f2892c0f Reorganized 2012-10-30 13:35:52 +05:30
Tanshu
3f32344334 Fixed create user.
Fixed bugs in voucher forms.
2012-10-29 22:17:22 +05:30
Tanshu
412704a73e Converted most routes to use resolve.
Issue fixed (hopefully) :).
Error in payment / receipt resolved fixed.
2012-10-29 15:44:41 +05:30
Tanshu
7ab945464b Voucher permissions done (hopefully).
Backdated voucher check still pending
2012-10-29 01:02:22 +05:30
Tanshu
7594fd399a Product Ledger Role missed earlier, fixed.
Almost all reports are using resolve now to prevent flicker when data is loading.
2012-10-28 17:04:05 +05:30
Tanshu
44bab156f3 Employee functions dummy created.
Hopefully client side authorization fixed.
Post voucher fixed.
2012-10-28 15:40:33 +05:30
Tanshu
b1dd396556 database relocated.
Fixed permissions in html partials
2012-10-26 23:24:59 +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
c85b8669bd Fixed to use LedgerBase not Ledger in reports as that excluded salary accounts.
Some cleanup.
2012-10-18 00:18:20 +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
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