Commit Graph

386 Commits

Author SHA1 Message Date
Tanshu ac11133f97 Added batch display in issue. 2013-02-09 19:22:31 +05:30
Tanshu 0f29356f0d Fixed errors where matchdict.get[] was used.
Checking in delete product while updating purchase changed to proper checking instead of just full value.
2013-02-09 18:52:05 +05:30
Tanshu 89f2457749 Updated Bootstrap to v2.2.2
Fixed broken voucher.delete where it was not going in specific kinds of vouchers.
2013-02-07 18:52:58 +05:30
Tanshu bfa9702a23 Ledger was wrongly adding the opening to the total of debit / credit, fixed. 2013-01-16 19:13:08 +05:30
Tanshu a9176f783d Cache perms in session.
Cache auth in session.
Error in update issue voucher where departments could never change fixed.
Added logging for sqlalchemy in development.ini
2013-01-02 22:47:39 +05:30
Tanshu fc06aab741 Fingerprint route not changed 2013-01-02 19:21:36 +05:30
Tanshu 6990131bf2 Trial Balanced was ignoring last date, fixed.
Salary Deduction fixed.
2013-01-02 19:18:25 +05:30
Tanshu 6b89a93bde Trying to catch database locked error 2012-12-25 13:55:28 +05:30
Tanshu f0e3ba19e8 Added try/catch on ledger report. 2012-12-20 14:28:50 +05:30
Tanshu d28029672f Added TryCatch to get_grid as it may generate errors. 2012-12-18 17:55:57 +05:30
Tanshu f9bd95733b Updated all (I think functions using try / catch to user the decorator. 2012-12-17 15:08:12 +05:30
Tanshu 211b8cee2a Added extended validation in Post. 2012-12-17 14:34:27 +05:30
Tanshu 4833a96ba9 Added AttributeError to be caught in save / update voucher. 2012-12-17 14:20:21 +05:30
Tanshu fa809b4225 Updated voucher save/update to catch more exceptions.
Updated ValidatinException to return message on str().
2012-12-17 00:09:45 +05:30
Tanshu 6bbf79a1db Tried to capture an error in purchase form where no ProductID key maybe locked the whole app on webfaction. 2012-12-16 23:01:42 +05:30
Tanshu bb1858fe88 views/login.py cleaned up 2012-12-13 14:03:51 +05:30
Tanshu 3ccf641756 removed unused js files. 2012-12-07 23:58:43 +05:30
Tanshu 2e2e59315f Had deleted MANIFEST.in which screwed up installation.
Added author info into setup.py
2012-12-07 23:40:21 +05:30
Tanshu ee307e0e2c Fixed error where voucher could not be deleted because of wrong route for delete function. 2012-12-07 21:15:40 +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 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