Fixing several bugs in cancelOrder, cashbox, and logic for tables was adapted to generic methods previously developed