CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
sort ($rowset) | |
Public Member Functions inherited from COREPOS\pos\lib\ReceiptBuilding\Sort\DefaultReceiptSort | |
sort ($rowset) | |
Additional Inherited Members | |
Static Public Member Functions inherited from COREPOS\pos\lib\ReceiptBuilding\Sort\DefaultReceiptSort | |
static | record_compare ($r1, $r2) |
Protected Member Functions inherited from COREPOS\pos\lib\ReceiptBuilding\Sort\DefaultReceiptSort | |
upc_merge ($cur, $new) | |
COREPOS\pos\lib\ReceiptBuilding\Sort\DoubleSubtotalReceiptSort::sort | ( | $rowset | ) |
Discount should be followed by a subtotal line. If it isn't, just bail out and return the default sort
Swap the discount row with the subtotal row and and put the prediscount amount in subtotal