CCReceiptMessage::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
CCReceiptMessage::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
CCReceiptMessage::variable_slip |
( |
|
$ref, |
|
|
|
$reprint = False , |
|
|
|
$sigSlip = False |
|
) |
| |
|
protected |
The same data can be rendered two different ways. One's a signature slip, the other is just a list of date, amount, approval code, etc
CCReceiptMessage::$standalone_receipt_type = 'ccSlip' |
Message can be printed independently from a regular receipt. Pass this string to ajax-end.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/CCReceiptMessage.php