CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
__construct ($code, $amt) | |
errorCheck () | |
preReqCheck () | |
add () | |
changeType () | |
changeMsg () | |
allowDefault () | |
defaultTotal () | |
defaultPrompt () | |
disabledPrompt () | |
Protected Member Functions | |
frankingPrompt () | |
Protected Attributes | |
$tender_code | |
$amount | |
$name_string = '' | |
$change_type = 'CA' | |
$change_string = 'Change' | |
$min_limit = 0 | |
$max_limit = 0 | |
Base class for modular tenders
COREPOS\pos\lib\Tenders\TenderModule::__construct | ( | $code, | |
$amt | |||
) |
Constructor
$code | two letter tender code |
$amt | tender amount |
If you override this, be sure to call the parent constructor
COREPOS\pos\lib\Tenders\TenderModule::add | ( | ) |
Add tender to the transaction
COREPOS\pos\lib\Tenders\TenderModule::allowDefault | ( | ) |
Allow the tender to be used without specifying a total
COREPOS\pos\lib\Tenders\TenderModule::changeMsg | ( | ) |
What description should be used for change records associated with this tender
COREPOS\pos\lib\Tenders\TenderModule::changeType | ( | ) |
What type should be used for change records associated with this tender.
COREPOS\pos\lib\Tenders\TenderModule::defaultPrompt | ( | ) |
Prompt for the cashier when no total is provided
Typically this sets up session variables and returns the URL for boxMsg2.php.
COREPOS\pos\lib\Tenders\TenderModule::defaultTotal | ( | ) |
Value to use if no total is provided
COREPOS\pos\lib\Tenders\TenderModule::disabledPrompt | ( | ) |
Error message shown if tender cannot be used without specifying a total
COREPOS\pos\lib\Tenders\TenderModule::errorCheck | ( | ) |
Check for errors
COREPOS\pos\lib\Tenders\TenderModule::preReqCheck | ( | ) |
Set up state and redirect if needed