CORE POS - IS4C
The CORE POS front end
Public Member Functions | Protected Attributes | List of all members
MemDiscountRemoveModel Class Reference
Inheritance diagram for MemDiscountRemoveModel:
LocalTransModel DTransactionsModel BasicModel

Public Member Functions

 __construct ($con)
 
 create ()
 
 delete ()
 
 save ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
- Public Member Functions inherited from LocalTransModel
 __construct ($con)
 
- Public Member Functions inherited from DTransactionsModel
 datetime ()
 
 store_id ()
 
 register_no ()
 
 emp_no ()
 
 trans_no ()
 
 upc ()
 
 description ()
 
 trans_type ()
 
 trans_subtype ()
 
 trans_status ()
 
 department ()
 
 quantity ()
 
 scale ()
 
 cost ()
 
 unitPrice ()
 
 total ()
 
 regPrice ()
 
 tax ()
 
 foodstamp ()
 
 discount ()
 
 memDiscount ()
 
 discountable ()
 
 discounttype ()
 
 voided ()
 
 percentDiscount ()
 
 ItemQtty ()
 
 volDiscType ()
 
 volume ()
 
 VolSpecial ()
 
 mixMatch ()
 
 matched ()
 
 memType ()
 
 staff ()
 
 numflag ()
 
 charflag ()
 
 card_no ()
 
 trans_id ()
 
 pos_row_id ()
 
- Public Member Functions inherited from BasicModel
 db ()
 
 preferredDB ()
 
 __construct ($con)
 
 create ()
 
 createIfNeeded ($db_name)
 
 load ()
 
 reset ()
 
 getColumns ()
 
 getName ()
 
 find ($sort='', $reverse=false)
 
 delete ()
 
 save ()
 
 normalize ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK, $doCreate=False)
 
 generate ($filename)
 
 newModel ($name)
 
 getModels ()
 

Protected Attributes

 $name = "memdiscountremove"
 
- Protected Attributes inherited from LocalTransModel
 $name = "localtrans"
 
- Protected Attributes inherited from DTransactionsModel
 $name = 'dtransactions'
 
 $preferred_db = 'trans'
 
 $columns
 
- Protected Attributes inherited from BasicModel
 $name
 
 $columns = array()
 
 $unique = array()
 
 $meta_types
 
 $connection = false
 
 $instance = array()
 
 $preferred_db = ''
 

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)
 
 insertRecord ()
 
 updateRecord ()
 

Member Function Documentation

MemDiscountRemoveModel::normalize (   $db_name,
  $mode = BasicModel::NORMALIZE_MODE_CHECK,
  $doCreate = False 
)

Structure-check 27Dec2013 Make sure memType is calcluated instead of hardcoded to zero


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