CORE POS - IS4C
The CORE POS front end
Static Public Member Functions | List of all members
COREPOS\pos\lib\Drawers Class Reference

Static Public Member Functions

static kick ()
 
static current ()
 
static assign ($emp, $num)
 
static free ($num)
 
static available ()
 

Member Function Documentation

static COREPOS\pos\lib\Drawers::assign (   $emp,
  $num 
)
static

Assign drawer to cashier

Parameters
$empthe employee number
$numthe drawer number
Returns
success True/False
static COREPOS\pos\lib\Drawers::available ( )
static

Get list of available drawers

Returns
array of drawer numbers
static COREPOS\pos\lib\Drawers::current ( )
static

Which drawer is currently in use

Returns
1 - Use the first drawer 2 - Use the second drawer 0 - Current cashier has no drawer

This always returns 1 when dual drawer mode is enabled. Assignments in the table aren't relevant.

static COREPOS\pos\lib\Drawers::free (   $num)
static

Unassign drawer

Parameters
$numthe drawer number
Returns
success True/False

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