|
static | record_compare ($r1, $r2) |
|
DefaultReceiptSort::sort |
( |
|
$rowset) | |
|
Sorting function
- Parameters
-
$rowset | an array of records |
- Returns
- an array of records
DefaultReceiptSort::upc_merge |
( |
|
$cur, |
|
|
|
$new |
|
) |
| |
|
protected |
Combine item records when appropriate
- Parameters
-
$cur | an array of records some of which are keyed by UPC |
$new | a new record |
- Returns
- $cur with the new record added
By-weight, refund, void, or group discount items shouldn't be combined. They get added with a simple numerical key
Valid item to merge; add to the existing record
Valid item to merge; add record with UPC key.
The documentation for this class was generated from the following file:
- pos/is4c-nf/lib/ReceiptBuilding/ReceiptSort/DefaultReceiptSort.php