Commit Graph

87 Commits

Author SHA1 Message Date
00fe2410b7 blacked, isorted, flake8ed and moved to arq/redis from celery/rabbitmq 2020-10-24 11:53:12 +05:30
1d6baa9d1d fix: Worker command 2020-10-14 09:29:44 +05:30
fc6eebed19 Infrastructure to build the worker docker and run it. 2020-10-14 08:19:42 +05:30
99f5f09c17 Bump to v2.0.0 2020-10-11 21:02:51 +05:30
b7f382cac8 Bill change should be working
Reduce quantity should be working.
2020-10-11 20:53:43 +05:30
73f83f1aa7 Show proper error messages on Save Bill / Save Kot 2020-10-11 11:59:37 +05:30
7baf79c3fa Fix: ValueErrors should be HTTPException 2020-10-11 11:20:12 +05:30
9ecf0b5cc9 Display frontend / backend version at the homescreen 2020-10-11 11:13:06 +05:30
d677cfb1ea Blacked and isorted the python files
Prettied and eslinted the typescript/html files
2020-10-11 10:56:29 +05:30
b31db593c2 Updated to angular 10
Moved to eslint for linting
Added prettier for formatting
Fixed minor errors
2020-10-11 09:34:35 +05:30
066d43a373 Moved barker one level down and using poetry for setup 2020-10-11 09:06:51 +05:30
3f2a06c2cf Feature:
Print kot and print bill are working now using celery

Now also need to install RabbitMQ for clery to work
2020-10-01 11:43:43 +05:30
aaac5efea2 Feature:
Basic infra to print stuff, not working
2020-09-29 11:18:24 +05:30
046504e097 Ported:
Change (Reprint bill)

Chore:
  Refactored save voucher so that the save function can be reused in change voucher route

Fix:
  Show voucher sent modifiers in a wrong format
  Inventory schema used rate instead of price
2020-09-29 11:03:03 +05:30
f8778fee74 Ported:
Split bill done - TODO: If the products have different price due to paid modifiers
2020-09-28 08:09:38 +05:30
cf34c2b855 Ported:
Table Merge/Move and Kot Merge/Move
2020-09-25 08:50:39 +05:30
bf09471e9e Fix:
Discount button was greyed out due to wrong check.
  Show was sending customer as empty dictionary which triggered an error in input as id was a required column
2020-09-24 09:18:58 +05:30
578385f866 Chore:
Deduplicated the settle options function for save/update/void/receive payment

Ported:
  Void
  Receive payment
2020-09-24 08:47:09 +05:30
6c06271315 Ported:
Guest Book
  Save bill
  Update bill
  Show bill

Fix:
  Tax details was sending the rate multiplied by 100 but not dividing it on save/update

Feature:
  Updated the auth service to check local storage for the latest user token
2020-09-24 07:39:46 +05:30
b19d8cc030 Ported:
Guest Book

Chore:
  Added New Day Offset and Timezone Offset in settings so that they can be shared consistently and also set in runtime.
2020-09-22 10:53:31 +05:30
cabdd505e0 Ported:
Customer
  Device
  Role
  Settings
2020-09-22 08:12:41 +05:30
7b6c09cea3 All Reports done!! 2020-06-17 09:57:41 +05:30
938bb67e0a All Masters Done!! 2020-06-15 21:40:12 +05:30
fdfd3dcbfb Added: Alembic for migrations
Moving from Pyramid to FastAPI
2020-06-14 18:43:10 +05:30
Amritanshu
0c0a2990a8 In case of a table with no guest, it will ask for pax 2019-08-26 15:11:28 +05:30
Amritanshu
a12f093828 Renamed void_reason to reason so that we can store the employee name in case of Staff and NC reason in case of NC bills.
Settling NC and Staff bills now asks for Staff name / NC reason
2019-08-25 23:22:50 +05:30
Amritanshu
6d0f30503a Renamed Report permissions to make more sense
Removed the void and reprints report and added it to the bill settlement report
updated the import to add a new sql to be executed later to update the settlements and report permission names
Export works on all reports
2019-08-25 15:08:59 +05:30
Amritanshu
05860fb0b9 Added nav-bar to show home link and user status 2019-08-22 14:15:02 +05:30
Amritanshu
04fb6dfcab Fix: Move table was checking !x instead of !!x and so was not working
Added checks to void bill, split bill and move table
2019-08-21 17:02:06 +05:30
Amritanshu
ee54e36dda Added routes for serving index.html for various routes.
Depreciated: Customers
TODO: Reprint, Setting, Change (ie. voucher void and reprint)
2019-08-21 16:16:46 +05:30
Amritanshu
461db9d8fa Fix: Wrong permission of sales 2019-08-21 15:40:46 +05:30
Amritanshu
2c0c91b136 Modifiers popup not scrolling fixed 2019-08-21 15:39:01 +05:30
Amritanshu
992a6b6767 Fix: Checkout was broken 2019-08-21 14:37:46 +05:30
Amritanshu
5603c5d8fb Fix: Product units 2019-08-21 14:27:11 +05:30
Amritanshu
fd1111f378 Display units in Sale / Product and don't show brackets when no units entered 2019-08-21 14:13:53 +05:30
Amritanshu
b898e26dc6 Added the final missing Voids or Reprints report aslo.
Ready for beta 1.
Removed voucher.is_void in favour voucher_type == void
2019-08-21 13:23:41 +05:30
Amritanshu
2b04b624b3 Discount Report Done 2019-08-21 12:31:52 +05:30
Amritanshu
8f6c5930ee Beer consumption report done 2019-08-21 11:12:30 +05:30
Amritanshu
243c3cb280 Bill Settlement Report Done (Bill Details)
TODO: Rename Bill Details Permission to Bill Settlement Report
2019-08-21 10:02:28 +05:30
Amritanshu
0f00d96dc9 Product Sale Module done (Sales Detail) -- need to rename the permission 2019-08-21 09:27:19 +05:30
Amritanshu
241568622e Feature: Tax Analysis 2019-08-21 08:32:12 +05:30
Amritanshu
abc29844d3 Fixed a lot of permissions 2019-08-21 00:07:46 +05:30
Amritanshu
70d31fea5e Feature: Sale Analysis is working
Fix: Cashier Checkout multiple entries
2019-08-20 23:02:42 +05:30
Amritanshu
c6b907061e Updated version 2019-08-20 14:44:12 +05:30
Amritanshu
63c7a541dc Fix: Importing was messed up
Fix: Cashier checkout kept changing the date
2019-08-20 14:42:43 +05:30
Amritanshu
aa81743ce7 Make the build distributable 2019-08-20 08:41:44 +05:30
Amritanshu
f41a0f4045 Following Semantic Versioning and setup.py updated for it 2019-08-20 08:23:28 +05:30
Amritanshu
29850e367e Fix: Sales was not working as it was checking the wrong permission
Fix: Type in title of cashier checkout html
Fix: Import was adding everthing to first user as initially users were not being imported
2019-08-20 00:12:01 +05:30
Amritanshu
c7f464ebc2 Now we are also getting the roles, etc from the old db 2019-08-19 18:02:41 +05:30
Amritanshu
2474e3ef25 Fixed a few errors which showed up when ng build --prod was used
Removed the loading bar component as it was giving build troubles and can be added back later
Added the HttpClientModule import to app.module without which it will not run
2019-08-19 17:50:04 +05:30