Commit Graph

371 Commits

Author SHA1 Message Date
Amritanshu Agrawal e685941804 Version Bump v11.5.0 2023-04-09 15:43:00 +05:30
Amritanshu Agrawal 8bc7d66123 Fix: Prevent creation of customer with blank name when adding a guest book item.
Fix: Also prevent creation of customer with blank phone number when adding a guest book.
Feature: Show the old bill of a customer in guest book
Fix: In reprint, allow changing of customer
Chore: Updated dependencies
2023-04-09 15:42:32 +05:30
Amritanshu Agrawal 302ed4a18f Version Bump v11.4.2 2023-03-24 12:46:54 +05:30
Amritanshu Agrawal 2fb2e01ca1 Feature: Allow edit of time in guest book.
Feature: Guest book row color is the same as running table colors
2023-03-24 12:46:42 +05:30
Amritanshu Agrawal 94cc8ccd47 Version Bump v11.4.1 2023-03-24 10:17:16 +05:30
Amritanshu Agrawal c13047e812 Fix: Check if moved/merged kots could lead to negative products of a situation where happy hour products were more than regular products.
Case:
  Kot 1:
    Beer Mug => 2 regular, 2 happy hour
  Kot 2:
    Beer Mug => 2 Regular
  Kot 3:
    Beer Mug => -2 Regular

Then move Kot 2 to new table would leave the voucher with 2 hh and 0 regular
Also, just move did not check if products were going negative.
2023-03-24 10:17:06 +05:30
Amritanshu Agrawal 5c697dd43a Version Bump v11.4.0 2023-03-24 09:10:20 +05:30
Amritanshu Agrawal 56ae7500cc Feature: Allow bills without items so that tables can be seated from the guest book.
Feature: Allow guest book entries to be associated with running vouchers
Feature: Allow removing customer from voucher
2023-03-24 09:09:13 +05:30
Amritanshu Agrawal 1b4c26733d Chore: Refactor nil inventories and kots checking 2023-03-24 08:49:19 +05:30
Amritanshu Agrawal 88bda14002 Fix: Typo 2023-03-24 08:48:33 +05:30
Amritanshu Agrawal 7a8017087b Fix: Update pax if changed
Fix: Tax was associated with inventory, not just tax_id so that if along with adding an inventory, the bill is printed then it can be used to get regime information.
Chore: Refactored checking for nil inventory and kots.
2023-03-24 08:48:18 +05:30
Amritanshu Agrawal 1297a4e7d2 Cancel VoucherType was added 2023-03-24 08:45:52 +05:30
Amritanshu Agrawal 47afb7e29c Always ensure that a "KOT" Bill Number was generated even if the bill was straight printed. 2023-03-24 08:44:48 +05:30
Amritanshu Agrawal 4db26722a3 Fix: Debugging was left in the report 2023-03-24 08:43:54 +05:30
Amritanshu Agrawal b2db7e8f9c Version Bump v11.3.3 2023-03-19 23:08:22 +05:30
Amritanshu Agrawal f6deea265c Fix: Error is checking length of bills 2023-03-19 23:08:14 +05:30
Amritanshu Agrawal f1d145e76f Version Bump v11.3.2 2023-03-19 23:05:00 +05:30
Amritanshu Agrawal 22f61427b0 Fix: Cashier report was only showing the last amount of aggregate items.
When it was not added to info, the amount also got reset to 0

Feature: Disabled total slip for single bills
2023-03-19 22:44:38 +05:30
Amritanshu Agrawal f9fc6dba0d Version Bump v11.3.1 2023-03-19 14:43:45 +05:30
Amritanshu Agrawal e56a753053 Fix: Users without ability of edit printed products where not able to set quantity to zero in the bill 2023-03-19 14:43:40 +05:30
Amritanshu Agrawal 03918fee80 Version Bump v11.3.0 2023-03-19 09:56:58 +05:30
Amritanshu Agrawal c14e64ce85 Feature: The menu engineering report now recalculates the percentages based on filter 2023-03-19 09:56:48 +05:30
Amritanshu Agrawal 4e4cebf5d4 Chore: Moved the formatting to the main style sheet because it was used everywhere.
Also, moved to sass to get theme colors from the material design library
2023-03-18 23:29:10 +05:30
Amritanshu Agrawal d39712a347 Feature: Made a Menu Engineering Report 2023-03-18 23:20:11 +05:30
Amritanshu Agrawal 40a357edc8 Version Bump v11.2.0 2023-03-17 10:18:40 +05:30
Amritanshu Agrawal 1a08066c2d Feature: Cancelled bills are now separate from void bills.
Void bills are automatically generated when printed bills are changed.
Manually cancelled bills are called cancelled bills.
2023-03-17 08:27:30 +05:30
Amritanshu Agrawal a62018ad1f Version Bump v11.1.2 2023-03-14 13:27:40 +05:30
Amritanshu Agrawal da46591313 Fix: Happy hour product button color was being overwritten by the face color 2023-03-14 13:27:05 +05:30
Amritanshu Agrawal a1ccf973cd Version Bump v11.1.1 2023-03-14 00:15:50 +05:30
Amritanshu Agrawal 65700d2760 Fix: Date was not updated when the bill was printed. 2023-03-14 00:15:35 +05:30
Amritanshu Agrawal 77c7b167ef Version Bump v11.1.0 2023-03-13 23:52:56 +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 b021861ba3 Version Bump v11.0.2 2023-03-13 21:22:24 +05:30
Amritanshu Agrawal 245937ecf2 Fix: The dialogs were not rendering properly.
The select table dialog was long and narrow.
The billtype was selection was also not showing properly.
2023-03-13 21:22:07 +05:30
Amritanshu Agrawal 3af0b0ac96 Version Bump v11.0.1 2023-03-13 20:40:10 +05:30
Amritanshu Agrawal 4fffdd85d6 Fix: Merge table did not delete the old bills and fucked up.
Fix: Bill settlement report was not in order
2023-03-13 20:38:55 +05:30
Amritanshu Agrawal 7da9212cf7 Version Bump v11.0.0 2023-03-13 11:11:42 +05:30
Amritanshu Agrawal 0f1660ef5a Fix: Regime was stripping the whitespaces from header 2023-03-06 22:02:21 +05:30
Amritanshu Agrawal 7d0874093c Fix: New Product did not work due to missing quantity is the schema
Fix: New Product would not auto add modifiers
2023-03-06 21:42:09 +05:30
Amritanshu Agrawal 516b22ed1c Refactored customer discount and choose discount. They were using the same schema unnecessarily which was leading to confusion. 2023-03-06 21:04:44 +05:30
Amritanshu Agrawal c5eaeb1497 Fix: Receive payment did not show display reason 2023-03-06 10:35:17 +05:30
Amritanshu Agrawal f408e84af3 Added traceback to save voucher to better understand why an error occurs. 2023-03-06 10:21:27 +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 802eded568 Due to update to sqlalchemy, fixed schema nullability 2023-02-26 19:51:29 +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 792ccf923f Chore:
Upgraded to Angular 14
2022-07-06 09:04:10 +05:30
Amritanshu Agrawal f637f01954 Version Bump v10.3.3 2022-06-21 12:40:35 +05:30
Amritanshu Agrawal 236c746e1c Fix: Suddenly got errors saying that the redis.enqueue job was running in a different loop 2022-06-21 12:39:51 +05:30
Amritanshu Agrawal a4db3b24f0 Version Bump v10.3.2 2022-06-21 08:54:51 +05:30
Amritanshu Agrawal 9f4ec3697c Fix: Frank service changed to beacon from knox 2022-06-21 08:54:45 +05:30