Commit Graph
100 Commits
Author SHA1 Message Date
Amritanshu 403b9a207a Fix: ProductLedger was crapping out because of ambiguous join in opening balace. (Probably triggered by upgrade in sqlalchemy)
Chore: Updated the dev dependencies as Angular 7 does not support Typescript 3.2 and further
2019-04-15 13:34:16 +05:30
Amritanshu 72e8801472 Fix: Error in navbar, didn't do anything, but showed up in the errors. 2019-04-13 12:12:08 +05:30
Amritanshu c341e58d63 Fix: Handle uploading of new fingerprint file
Chore: Used Black formatter
2019-04-06 09:43:12 +05:30
Amritanshu dd59bfdfb4 Fix: On row edit, the value of the control was set as number and not text, leding to error on add row. 2018-11-26 09:07:58 +05:30
Amritanshu bdb8bc7005 Refactor: Flush opening vouchers to database before cleaning of lint.
This removes the need to keep of list of accounts/batches to not be deleted.
Do not delete employees with attendance and fingerprints.
2018-11-26 08:54:39 +05:30
Amritanshu cfdd49f96f Fix: Layout was getting squashed, now working properly 2018-11-26 08:46:23 +05:30
Amritanshu 75ea08f678 Chore: Update to Angular 7.1.0, Angular Material 7.1.0 and Angular Flex Layout 7.0.0-beta.19
Fix: Prod build will now build properly
TODO: The width of content is very less and everything is squashed
2018-11-26 08:46:03 +05:30
Amritanshu 1984c1fc90 Fix: Rebase url error, double slash before date 2018-09-05 00:09:37 +05:30
Amritanshu eb22eace69 Fix: Incentives was not saving
Fix: Employee edit was not working
2018-08-25 11:28:23 +05:30
Amritanshu cd20982753 Feature: Download Products
Fix: Add user
Fix: Added 5000 page size in products
Fix: Local Time Pipe was showing the wrong time
2018-07-29 23:43:26 +05:30
tanshu a77293e0b2 Fix: Would not navigate as the search was referencing unresolved variables. 2017-02-10 13:33:40 +05:30
tanshu 5b562051e7 Fix: Ledger (Alt+R/U) was not working because the $watchGroup does not
do object equality.  Reverted the change.
Fix: Major parts for keyboard navigation were missing.  Added.
Fix: Autocomplete="off" added to major parts
2016-04-15 00:02:28 +05:30
tanshu 9b516fa41c Fix: Ledger was not updating because $watch was not firing. 2016-04-13 15:56:38 +05:30
tanshu e868a213b1 Update: Changed the Reconcile report so that it shows all the unreconciled entries and also shows the balance according to the reconcile date. 2016-04-12 13:57:24 +05:30
tanshu 33c385ea91 Fix: Typo 2016-03-22 13:23:27 +05:30
tanshu 3f7ae4225d Fix: New Recipe would not recognize that is product is sold. 2016-03-22 13:22:06 +05:30
tanshu e9504753a5 Feature: Recipe list shows the group and is also sortable on name, group and dates, etc. 2016-03-17 18:18:09 +05:30
tanshu 1439befc46 Fix: Errors in the comparators in Tokenizer
Feature: Product list shows more information
2016-03-16 21:11:08 +05:30
tanshu 3df2146ba2 Fix: Date filtering works properly in Tokenizer (requires moment.js)
Feature: Selecting Start/Finish Date in Recipe list updates the search string.
2016-03-16 14:41:58 +05:30
tanshu 3c4f24989c Fix: Accidentally had another Sale Price inputbox (readonly) 2016-03-15 16:18:46 +05:30
tanshu bf79638d4b Fix: Recipe edit never showed is_sold as it was not part of the json 2016-03-15 16:13:40 +05:30
tanshu 99439b63e8 Fix: Recipe details shows the current sale price of product and also lets you edit the sale price. 2016-03-15 16:11:19 +05:30
tanshu 1b80c52763 Fix: Recipe Ingredient autocomplete focusing and clearing properly 2016-03-14 16:48:36 +05:30
tanshu 6653121a6f Fix: l18n link was broken.
Fix: disabled cacheing in autocomplete
2016-03-14 16:22:44 +05:30
tanshu abc77fb5a6 Chore: Using angularjs 1.5.0 online hosted.
Refactor: Simplified MenuItem and Hierarchical Product table.
Feature: Recipe now follows temporat (Point in time) feature.
It should be fully working and records the recipe cost for a period based on the issue price and as on date.
Feature: Using Angular Material for recipe form and also or product form.
2016-03-14 15:28:17 +05:30
tanshu 2e670c06ec Fix: Updated to match the fingerprint uploader to the new attendance machine 2016-02-29 23:41:08 +05:30
Tanshu 33b14b1ec0 Feature: Take some of the parameters from the Environment so that it can work in a containerized environment 2016-01-31 13:58:15 +05:30
Tanshu 4b795a6f5d Merge branch 'master' of http://git.tanshu.com/tanshu/brewman 2016-01-29 19:58:56 +05:30
Tanshu 0ef8696d65 Added a seperate requirements file for PIP and updated setup.py to use with while reading README and CHANGES 2016-01-29 19:58:36 +05:30
tanshu 8e8cc78489 Fix: Dr/Cr did not show in Journal Voucher because of Type error with the debit filter. 2015-08-11 17:01:01 +05:30
tanshu 1cc9ba6a01 Removed unused AttendanceTypes 2015-03-16 14:52:27 +05:30
tanshu 6a815692bd Feature: Credit Service Charge with adjustable service points
Refactor: Renamed column, table, and uses of Cost Center to Cost Centre
Refactor: Renamed costcenter to cost_centre
2015-02-12 17:42:46 +05:30
tanshu fdcedb262c Feature: Added a maintenance mode which locks all other users out 2015-02-12 16:12:32 +05:30
tanshu cb7e6e89a5 Fix: Added a 5 minute timeout for rebase 2015-02-02 15:44:29 +05:30
tanshu 9c70286258 Fix: The new focusing directive wanted exclusive scope and it conflicted at times. Fixed. 2015-01-11 12:28:27 +05:30
tanshu 948b45b2ce Feature: Check Db Integrity
- Right now it only checks for duplicate attendances.
2015-01-09 12:31:08 +05:30
tanshu e0d3887fa9 Chore: Replaced jQuery.focus() with a focus-on directive 2015-01-09 12:29:42 +05:30
tanshu e27424c41e Fix: SubControllers not working due to breaking changes in AngularJS 1.3 where global functions as controllers are no longer allowed. Overrode the setting with allowGlobals() config. 2014-12-27 12:39:29 +05:30
tanshu 7c54e4b0c7 Feature: Automatic Crediting of Service Points. Plus now service points can be decimals 2014-12-25 16:40:47 +05:30
tanshu c27276cc05 Fix: Removed link in base.html for removed hack.css 2014-12-25 16:28:14 +05:30
tanshu 8347a3e603 Updates: Bootstrap updated to 3.3.1
Chosen updated to 1.3.0
AngularJS updated to 1.3.8
jQuery updated to 2.1.3
angular-loading-bar updated to 0.6.0
ui-bootstrap updated to 0.12.0
  -- All the datepickers updated for is-open so that they open on focus.
Chore: Replaces this in controllers with $scope. Don't know the downsides of using "this", but to prevent any unknown side-effects.
Chore: Rename Crtl to Controller for all controllers.
2014-12-25 16:26:41 +05:30
tanshu b323a85f3a PF Limit reaised to 15,000 as per new law 2014-12-10 12:37:49 +05:30
tanshu 666613fb54 Fix: came_from with query string was not being properly interpreted 2014-10-03 15:41:13 +05:30
tanshu 91b60fa76d Feature: Maybe? Login redirect now supports query string 2014-10-03 15:34:49 +05:30
Amritanshu d86880396d Fix: Allow enabled clients to be deleted and also delete the history to enable deletion 2014-09-12 12:59:09 +05:30
Amritanshu fcef417dfc Feature: Clients can be enabled from the client detail page. 2014-09-12 12:52:54 +05:30
Amritanshu 62c8b64370 Fix: Error in checking disabled clients which made new clients impossible 2014-09-12 12:46:09 +05:30
Tanshu fe811d9887 Fix: On new clients, trying to get Client.by_code(None) would raise an error 2014-09-01 21:59:42 +05:30
Amritanshu 78a064a723 Feature: Client list shows last login time. 2014-08-30 18:08:17 +05:30
Amritanshu f3b4e95072 Feature: Login history logging
Feature: Clear out old/unused clients using Creation Date
Breakage: Change in structure of Clients table and addition of Login History table
2014-08-30 17:46:43 +05:30
Amritanshu 25a82a2027 Fix: Catch DBApi error so that timeout errors don't lock up the software. 2014-08-23 16:52:57 +05:30
Amritanshu da6997afc6 Fix: Unable to change Employee Cost Center
Fix: Do not add 0 amount Journals to Salary Voucher
2014-08-12 13:17:41 +05:30
Amritanshu 09a27e099e Fix: Error in ledger where show results were not updated as the $watch was only for hidden items and did not detect and filter the change in the list.
Fix: Error in ledger where if an entry was selected, if show button was triggered using the return key, it would open that entry instead of loading data
2014-06-12 01:30:21 +05:30
Amritanshu d99fc89e34 Chore: Variable renaming in JavaScript to camelCase
Feature: Keyboard navigation in Accounts, Employees and Product List.
Chore: Removing unused JavasScript variables in function for JSHint
2014-06-09 13:08:36 +05:30
Amritanshu 1989c54e92 Fix: Spelling in ProductYield 2014-06-07 13:37:19 +05:30
Amritanshu 791b41437d Feature: Search on Yield in Product List 2014-06-07 13:35:33 +05:30
Amritanshu 2fa7e33383 Fix: Error in Product Detail Controller 2014-06-07 13:27:10 +05:30
Amritanshu 1d03a590ec Fix: journalDebit comparison was wrong 2014-06-07 12:28:55 +05:30
Amritanshu f667481d71 Chore: Major variable renaming from python style underscores to camel case.
Chore: Replace undefined checks with angular.isUndefined
2014-06-06 16:09:32 +05:30
Amritanshu 358b235d8f Chore: Removed redundant Running Total calculation from Ledger python view as it is not calculated client side. 2014-06-04 19:07:58 +05:30
Amritanshu 248a841695 Feature: Keyboard navigation in ledger with Remove and Undo. 2014-06-04 16:02:33 +05:30
Amritanshu 4e85d97e47 Feature: Images of vouchers can be uploaded with vouchers for verification.
Note: Massive breaking changes in how vouchers are uploaded.  Make sure that the client-side code is not cached.
Also, need to implement Database Integrity to check for orphan images.
2014-06-03 17:12:52 +05:30
Amritanshu 2201a90278 Fix: Do not throw error if not flags are allowed. 2014-05-28 16:47:03 +05:30
Amritanshu e8f4931d29 Fix/Feature: Tokenizer improved to support flags and files missed in last commit updated. 2014-05-28 16:43:52 +05:30
Amritanshu fb8e217c81 Feature: Filtering and sorting in Products and Accounts list pages. 2014-05-28 13:17:06 +05:30
Amritanshu 811ec89c62 Feature: Searching and sorting in product works perfectly. Will work now to refactor it to make it usable. 2014-05-27 19:40:13 +05:30
Amritanshu b1aa130421 Fix: Other instances of Capitalized labels. 2014-05-27 12:18:09 +05:30
Amritanshu eb63166f39 Fix: in the current sqlalchemy non-lowercased labels are not being quoted causing an error. 2014-05-27 12:01:45 +05:30
Amritanshu c419b3ae2e Fix: hopefully the reloading bug on onReturn now fixed 2014-05-24 19:42:44 +05:30
Amritanshu 018391f733 Fix: For some reason, the last commit is not updating the webapp on webfaction. This is to try and fix it.
Chore: Bumped the version to 3.3
2014-05-24 19:15:45 +05:30
Amritanshu 29653b524a Fix: Bug in the onReturn directive which refreshed the page. 2014-05-24 18:51:22 +05:30
Amritanshu 1f8b6f0c63 Fix: Recipe quantity was not having any effect or being updated. 2014-04-30 13:42:31 +05:30
Amritanshu a5ec16b644 Fix: Product Yield needs to be > 0 and <= 1 2014-04-30 13:12:29 +05:30
Amritanshu 0436a5de2c Feature: Product list allows for displaying extended information and search bar shows the legend. 2014-04-30 12:13:21 +05:30
Amritanshu 30442ffecb Fix: Error is recipe quantity
Fix: Update did not change the recipe quantity, units, fraction, fraction_units
2014-04-29 16:54:54 +05:30
Amritanshu 35413166d4 Fix: Units not showing in recipe list
Fix: Recipe update gave error
2014-04-29 16:38:31 +05:30
Amritanshu 1448120941 Removed: Pyramid Debug Toolbar dependency removed.
Recipe: Recipe list and Add / Delete recipe created.
Breaking: Major updates to old databases needed as structure has changed significantly
Product table is not a inherited table similar to ledger table
table prefixes for entities removed
renamed a few tables
removed file types not used from the manifest
README.txt now contains the installation procedure on an Ubuntu 14.04 machine
Product.ShowForPurchase column removed
Product.Discountinued renamed to !Product.IsActive
2014-04-29 15:38:44 +05:30
Amritanshu 246f8465d7 Updates: Twitter Bootstrap updated to v3.1.1
AngularJS updated to v1.2.16
jQuery updated to v2.1.0
angular-loading-bar updated to v0.3.0
Lo-Dash updated to v2.4.1
mousetrap.js updated to v1.4.6
angular-ui bootstrap updated to v0.10.0 (the min file updated to point to the corrected location of the templates and the templates updated to match the latest needed)
chosen updated to v.1.1.0
2014-04-17 00:08:01 +05:30
Amritanshu d2e08d09cc Fix: On update issue, it will update price / discount / tax from the batch (if changed) 2014-04-08 13:13:24 +05:30
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