barker/barker/barker/routers/voucher
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
..
__init__.py Fix: Check if moved/merged kots could lead to negative products of a situation where happy hour products were more than regular products. 2023-03-24 10:17:06 +05:30
cancel.py Feature: Cancelled bills are now separate from void bills. 2023-03-17 08:27:30 +05:30
change.py Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST 2023-03-05 23:50:41 +05:30
merge_move.py Fix: Check if moved/merged kots could lead to negative products of a situation where happy hour products were more than regular products. 2023-03-24 10:17:06 +05:30
receive_payment.py
save.py Feature: Allow bills without items so that tables can be seated from the guest book. 2023-03-24 09:09:13 +05:30
show.py Feature: Allow bills without items so that tables can be seated from the guest book. 2023-03-24 09:09:13 +05:30
split.py Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST 2023-03-05 23:50:41 +05:30
update.py Feature: Allow bills without items so that tables can be seated from the guest book. 2023-03-24 09:09:13 +05:30