COREPOS\pos\lib\ReceiptBuilding\Messages\DeclineReceiptMessage::message |
( |
|
$val, |
|
|
|
$ref, |
|
|
|
$reprint = false |
|
) |
| |
Generate the message
- Parameters
-
$val | the value returned by the object's select_condition() |
$ref | a transaction reference (emp-lane-trans) |
$reprint | boolean |
- Returns
- [string] message to print on receipt
COREPOS\pos\lib\ReceiptBuilding\Messages\DeclineReceiptMessage::standalone_receipt |
( |
|
$ref, |
|
|
|
$reprint = false |
|
) |
| |
Print message as its own receipt
- Parameters
-
$ref | a transaction reference (emp-lane-trans) |
$reprint | boolean |
- Returns
- [string] message to print
COREPOS\pos\lib\ReceiptBuilding\Messages\DeclineReceiptMessage::$standalone_receipt_type = 'ccDecline' |
Message can be printed independently from a regular receipt. Pass this string to AjaxEnd.php as URL parameter receiptType to print the standalone receipt.
The documentation for this class was generated from the following file:
- pos/is4c-nf/lib/ReceiptBuilding/Messages/DeclineReceiptMessage.php