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