CORE POS - IS4C
The CORE POS front end
Public Member Functions | List of all members
DiscountFirstReceiptSort Class Reference
Inheritance diagram for DiscountFirstReceiptSort:
DefaultReceiptSort

Public Member Functions

 sort ($rowset)
 
- Public Member Functions inherited from DefaultReceiptSort
 sort ($rowset)
 

Additional Inherited Members

- Static Public Member Functions inherited from DefaultReceiptSort
static record_compare ($r1, $r2)
 
- Protected Member Functions inherited from DefaultReceiptSort
 upc_merge ($cur, $new)
 

Member Function Documentation

DiscountFirstReceiptSort::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


The documentation for this class was generated from the following file: