CORE POS - IS4C
The CORE POS front end
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CCredSigSlip Class Reference
Inheritance diagram for CCredSigSlip:
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

 $paper_only = true
 
 $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)
 

Detailed Description

Make a signature slip for each Coop Cred tender used in the transaction.

Member Function Documentation

CCredSigSlip::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
CCredSigSlip::standalone_receipt (   $ref,
  $reprint = False 
)

Print message as its own receipt

Parameters
$refa transaction reference (emp-lane-trans)
$reprintboolean
Returns
[string] message to print
CCredSigSlip::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 N.B. This isn't finished for CoopCred, just a placeholder.

Member Data Documentation

CCredSigSlip::$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: