CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
GumPosLayer Class Reference
Inheritance diagram for GumPosLayer:
GumCoreLayer

Static Public Member Functions

static writeTransaction ($emp_no, $register_no, $lines)
 
static getCustdata ($card_no)
 
static getMeminfo ($card_no)
 

Member Function Documentation

static GumPosLayer::getCustdata (   $card_no)
static

Get info about member

Parameters
$card_no[int] member ID#
Returns
[object] CustdataModel or [boolean] false on failure
static GumPosLayer::getMeminfo (   $card_no)
static

Get member contact info

Parameters
$card_no[int] member ID#
Returns
[object] MeminfoModel or [boolean] false on failure
static GumPosLayer::writeTransaction (   $emp_no,
  $register_no,
  $lines 
)
static

Create a POS transaction

Parameters
$emp_no[int] employee ID
$register_no[int] lane ID
$lines[array] of records
Returns
  • success: [string] transaction identifier
  • failure: [boolean] false
  • disabled: [boolean] true

Each record is a set of key/value pairs with the following keys: amount => purchase amount department => department ID# description => text description


The documentation for this class was generated from the following file: