Commit Graph

80 Commits

Author SHA1 Message Date
Amritanshu
d7fdf751b9 Made the voucher calls more readable 2019-08-10 19:43:35 +05:30
Amritanshu
40a958a935 Void Bill Working 2019-08-10 18:49:05 +05:30
Amritanshu
2fcff26e34 Move Table with confirm 2019-08-10 17:22:25 +05:30
Amritanshu
4fb8d9118e Bill now displays Net, Tax, Discount and Gross Amounts
Stylings: The bill table rows are properly centred instead of aligned to top
2019-08-10 10:30:27 +05:30
Amritanshu
ff8f4ffb16 Receive payment working.
TODO: Nested subscribe in Receive Payment in sales-home-component.ts should be refactored into something more readable.
2019-08-09 14:55:38 +05:30
Amritanshu
6503982897 Added hasPermission function to the auth service to check for permissions.
Added: Bill Type selection
Fix: Add product would add to old kots if product was added earlier
2019-08-08 16:35:03 +05:30
Amritanshu
c81b92c336 Fix: import script to fit the new structure of voucher table (is_printed field removed, voucher_type != KOT is now assumed to be printed)
Fix: Take-away bill type is now removed
Fix: Table overview now shows the right amounts
Voucher Save and Update should now work
Discounts now working (permissions are not checked)
2019-08-08 13:31:30 +05:30
Amritanshu
7d06a2f961 Save Bill Works 2019-07-13 21:32:18 +05:30
Amritanshu
bcad4cdae3 No automatic signout
Voucher basic working
running tables shifted to cards from buttons, this gives us immense styling oportunities
2019-07-12 12:36:38 +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
87076d9c00 Guest book 2019-06-25 17:13:56 +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
e13ed38640 Modifier categories works 2019-06-21 01:29:54 +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
c51a9bd5ff Users fix 2019-06-20 00:28:39 +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
32500665b5 Table Sort Order Done 2019-06-16 21:08:18 +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