CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
OrderItemLib Class Reference

Static Public Member Functions

static getItem ($upc)
 
static mapDepartment ($deptID)
 
static getUnitPrice ($item, $is_member)
 
static getEffectiveUnit ($item, $is_member)
 
static getCasePrice ($item, $is_member)
 
static markUpOrDown ($item, $is_member)
 
static useSalePrice ($item, $is_member)
 
static manualQuantityRequired ($item)
 
static memPricing ($cardno)
 

Detailed Description

Collection of methods to handle adding different types of items to special orders.

Member Function Documentation

static OrderItemLib::getEffectiveUnit (   $item,
  $is_member 
)
static

Get the unit price for an item based on pricing rules

static OrderItemLib::getItem (   $upc)
static

Lookup an item by UPC or SKU and return a standardized array representation

static OrderItemLib::manualQuantityRequired (   $item)
static

Check whether a manual quantity is required for this item

Returns
[boolean] false if not required or [integer] default quantity
static OrderItemLib::mapDepartment (   $deptID)
static

Lookup special order department mapping

static OrderItemLib::useSalePrice (   $item,
  $is_member 
)
static

Decide if the sale price be used for this item

: need to be able to turn off sale pricing entirely if desired rather than just for specific batch types


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