CORE POS - IS4C
The CORE POS front end
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CCReceiptMessage Class Reference
Inheritance diagram for CCReceiptMessage:
ReceiptMessage

Public Member Functions

 select_condition ()
 
 message ($val, $ref, $reprint=False)
 
 standalone_receipt ($ref, $reprint=False)
 
- Public Member Functions inherited from ReceiptMessage
 select_condition ()
 
 message ($val, $ref, $reprint=false)
 
 standalone_receipt ($ref, $reprint=false)
 

Public Attributes

 $standalone_receipt_type = 'ccSlip'
 
- Public Attributes inherited from ReceiptMessage
 $paper_only = false
 
 $standalone_receipt_type = ''
 

Protected Member Functions

 variable_slip ($ref, $reprint=False, $sigSlip=False)
 

Member Function Documentation

CCReceiptMessage::message (   $val,
  $ref,
  $reprint = False 
)

Generate the message

Parameters
$valthe value returned by the object's select_condition()
$refa transaction reference (emp-lane-trans)
$reprintboolean
Returns
[string] message to print on receipt
CCReceiptMessage::standalone_receipt (   $ref,
  $reprint = False 
)

Print message as its own receipt

Parameters
$refa transaction reference (emp-lane-trans)
$reprintboolean
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

Member Data Documentation

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: