Commit Graph

40 Commits

Author SHA1 Message Date
Amritanshu Agrawal d39712a347 Feature: Made a Menu Engineering Report 2023-03-18 23:20:11 +05:30
Amritanshu Agrawal efa2af396d Chore: Moved from css to sass, god knows what to do now.
Chore: Prettier line length changed to 120 from 100
Fix: Hard coded the face as the primary color to make the buttons stand out
2023-03-13 23:52:44 +05:30
Amritanshu Agrawal e46fe7f90e Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST
Chore: Model relationships updated to make them simpler
Chore: Bill printing majorly refactored for it

Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
2023-03-05 23:50:41 +05:30
Amritanshu Agrawal 5c7985e392 Chore:
Moved to sqlalchemy 2.0
Added type checking as much as possible
Updated angular to 15
Moved from Angular flex layout to tailwind css

Started developing on vscode with devcontainers
2023-02-20 18:49:17 +05:30
Amritanshu Agrawal 124cf4d9ff Fix: Username unique index was case sensitive and this allowed duplicate names.
Feature: Moved temporal products into their own module and reverted the products module
2021-10-27 09:27:47 +05:30
Amritanshu Agrawal 73850560aa Customer discount with prefill discount in sales. 2021-04-02 14:34:07 +05:30
Amritanshu Agrawal 0da16e9548 Feature: Added the customer module to list / edit customers. This is needed to add the customer discount functionality 2021-04-02 06:34:31 +05:30
Amritanshu Agrawal 27aa4d12a6 Settle Options are now stored in the Database and can be updated 2020-12-13 09:45:24 +05:30
Amritanshu Agrawal 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30
Amritanshu Agrawal 163b40e9e5 Simplified some permissions
Renamed Accounts Audit to Audit
Renamed Machines to Devices as it made sense
Sections and Tables are now under Sections Permission
Guest Book is now under Customers Permission
Renamed Beer Consumption Report to Beer Sale Report
Fix: Move Kot and Table to check what the final effect is
2020-11-15 12:26:24 +05:30
Amritanshu Agrawal 5e180f48d5 Update Product Prices built 2020-11-12 12:32:16 +05:30
Amritanshu Agrawal d5b2da4388 Product updates report. 2020-11-11 12:18:10 +05:30
Amritanshu Agrawal 8db9a7d757 Header / Footer editor added - Right now linked to products permission, which should be changed 2020-11-11 09:56:16 +05:30
Amritanshu Agrawal d677cfb1ea Blacked and isorted the python files
Prettied and eslinted the typescript/html files
2020-10-11 10:56:29 +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 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 70d31fea5e Feature: Sale Analysis is working
Fix: Cashier Checkout multiple entries
2019-08-20 23:02:42 +05:30
Amritanshu f9e784b12f Cashier checkout should now work 2019-08-19 15:58:02 +05:30
Amritanshu 4513e8b263 Bills initially working just as proof of concept
ng linted
modifier categories list is better at displaying data sanely now
2019-07-11 12:17:41 +05:30
Amritanshu d69ab0063a Big Chunk of updates on way to making the sales portion working 2019-07-06 13:46:18 +05:30
Amritanshu 7b08fe611f Feature:
SectionPrinter is now working
Migration:
Section, Printers, SectionPrinters working
2019-06-25 16:44:59 +05:30
Amritanshu 142a0f5a8a Section 2019-06-23 19:29:33 +05:30
Amritanshu 20801afc8a Removed IsModifierCompulsory from MenuCategory as it is now not needed and minimum in ModifierCategory set to non-zero to achieve the same.
Fix: DiscountLimit was not scaled to 100 in MenuCategory detail. So it is now chaled in the json and scaled back in the frontend for the list as that was not supposed to be scaled.
Feature: Modifier is now done
Fix: In product save, it was checking menu_category second time again instead of sale_category
2019-06-22 08:49:33 +05:30
Amritanshu e1c42d4470 Modifier Category table added as a parent of modifiers
They are also linked to products / menu categroies as to which products they can be used on
The linking to menu categories is done in the frontend, database is linked directly to products
Treeview for menu categories yet to be done in modifier category detail form
2019-06-20 17:45:28 +05:30
Amritanshu 05f8058a15 Product Group renamed to Menu Category
Extracted Product Group -> Group_type to a a new object called Sale Category.
Moved tax from product to Sale Category for uniform taxes on types of sales.
2019-06-20 13:15:23 +05:30
Amritanshu 16455fdcac TODO: Refactor the product and productgroup tables as per the comments added.
rename the product group table to either product category or menu category
move the group_type field from productgroup to products and name it sales category eg. Food, beverage, etc. also, set the tax for sales category and not individual product
Added the printers permission to end of permissions and only for owner, set them right
2019-06-20 01:59:11 +05:30
Amritanshu 93743bdc8e Users 2019-06-20 00:17:44 +05:30
Amritanshu 2b2624c9c2 Roles 2019-06-19 23:55:42 +05:30
Amritanshu 63f5f60842 Still in progress 2019-06-17 13:23:00 +05:30
Amritanshu bcb158b837 Product Error on *ngIf, new a dealbreaker, but not sure. 2019-06-16 20:50:38 +05:30
Amritanshu 52e978b3b0 Product Group 2019-06-16 10:14:10 +05:30
Amritanshu 459ab244ff Tax done 2019-06-15 23:09:43 +05:30
Amritanshu 3dcf1c4c42 Running tables: Initial working sample just shows a row of buttons 2019-06-15 13:04:25 +05:30
Amritanshu 5093bdc391 Tables List and Detail working
TODO: Save SortOrder also, Drag and Drop ordering
2019-06-14 09:28:30 +05:30
Amritanshu d59c60e81d Initial commit for the Angular part. We are nowhere yet. 2019-06-14 00:32:34 +05:30