CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
priceInfo ($row, $quantity=1) | |
addDiscountLine () | |
isSale () | |
isMemberOnly () | |
isMemberSale () | |
isStaffOnly () | |
isStaffSale () | |
Static Public Member Functions | |
static | getObject ($discounttype) |
Static Public Attributes | |
static | $MAP |
Protected Attributes | |
$savedRow | |
$savedInfo | |
Base module for computing sale prices
COREPOS\pos\lib\Scanning\DiscountType::addDiscountLine | ( | ) |
Add a discount notification
Optionally add an informational record to the transaction so a savings message appears on screen.
COREPOS\pos\lib\Scanning\DiscountType::isMemberOnly | ( | ) |
COREPOS\pos\lib\Scanning\DiscountType::isMemberSale | ( | ) |
Alias for isMemberOnly()
COREPOS\pos\lib\Scanning\DiscountType::isSale | ( | ) |
COREPOS\pos\lib\Scanning\DiscountType::isStaffOnly | ( | ) |
COREPOS\pos\lib\Scanning\DiscountType::isStaffSale | ( | ) |
Alias for isStaffOnly()
COREPOS\pos\lib\Scanning\DiscountType::priceInfo | ( | $row, | |
$quantity = 1 |
|||
) |
Calculate pricing
$row | A record from the products table |
$quantity | Scanned quantity |
|
static |
|
protected |
Convenience variable to save prieInfo() return value for later if needed
|
protected |
Convenience variable to save prieInfo() argument for later if needed