CORE POS - Fannie
The CORE POS back end
Public Member Functions | Protected Attributes | List of all members
TransactionSummaryModel Class Reference
Inheritance diagram for TransactionSummaryModel:
CoreWarehouseModel BasicModel

Public Member Functions

 refresh_data ($trans_db, $month, $year, $day=False)
 
 date_id ()
 
 trans_num ()
 
 register_no ()
 
 emp_no ()
 
 tenderTotal ()
 
 taxTotal ()
 
 discountTotal ()
 
 percentDiscount ()
 
 retailTotal ()
 
 retailQty ()
 
 nonRetailTotal ()
 
 nonRetailQty ()
 
 ringCount ()
 
 start_time ()
 
 end_time ()
 
 duration ()
 
 card_no ()
 
 memType ()
 
- Public Member Functions inherited from CoreWarehouseModel
 reload ($trans_db, $start_month, $start_year, $end_month=False, $end_year=False)
 
 refresh_data ($trans_db, $month, $year, $day=False)
 
- Public Member Functions inherited from BasicModel
 db ()
 
 preferredDB ()
 
 setConfig ($c)
 
 __construct ($con)
 
 whichDB ($db_name)
 
 getDefinition ()
 
 create ()
 
 createIfNeeded ($db_name)
 
 load ()
 
 reset ()
 
 getColumns ()
 
 getName ()
 
 getFullQualifiedName ()
 
 find ($sort='', $reverse=false)
 
 delete ()
 
 save ()
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 doc ()
 
 generate ($filename)
 
 newModel ($name, $as_view=false)
 
 getModels ()
 
 toJSON ()
 

Protected Attributes

 $name = 'transactionSummary'
 
 $columns
 

Additional Inherited Members

- Public Attributes inherited from BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 
- Protected Member Functions inherited from BasicModel
 getMeta ($type, $dbms)
 
 validateOp ($operator)
 
 insertRecord ()
 
 updateRecord ()
 
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 loadHooks ()
 

Member Data Documentation

TransactionSummaryModel::$columns
protected
Initial value:
= array(
'date_id' => array('type'=>'INT','primary_key'=>True,'default'=>0),
'trans_num' => array('type'=>'VARCHAR(25)','primary_key'=>True,'default'=>''),
'register_no' => array('type'=>'SMALLINT'),
'emp_no' => array('type'=>'SMALLINT'),
'tenderTotal' => array('type'=>'MONEY'),
'taxTotal' => array('type'=>'MONEY'),
'discountTotal' => array('type'=>'MONEY'),
'percentDiscount' => array('type'=>'DOUBLE'),
'retailTotal' => array('type'=>'MONEY'),
'retailQty' => array('type'=>'DOUBLE'),
'nonRetailTotal' => array('type'=>'MONEY'),
'nonRetailQty' => array('type'=>'DOUBLE'),
'ringCount' => array('type'=>'INT'),
'start_time' => array('type'=>'DATETIME'),
'end_time' => array('type'=>'DATETIME'),
'duration' => array('type'=>'INT'),
'card_no' => array('type'=>'INT','index'=>True),
'memType' => array('type'=>'SMALLINT','index'=>True)
)

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