CORE POS - IS4C
The CORE POS front end
Public Member Functions | Public Attributes | List of all members
undo_confirm Class Reference
Inheritance diagram for undo_confirm:
BasicPage

Public Member Functions

 body_content ()
 
 head_content ()
 
 preprocess ()
 
- Public Member Functions inherited from BasicPage
 __construct ()
 
 head_content ()
 
 body_content ()
 
 preprocess ()
 
 print_page ()
 
 add_onload_command ($str)
 
 hide_input ($bool)
 
 input_header ($action="")
 
 noinput_header ()
 
 scale_box ()
 
 scanner_scale_polling ($include_scans=true)
 
 footer ()
 
 change_page ($url)
 
 default_parsewrapper_js ($input="reginput", $form="formlocal")
 
 noscan_parsewrapper_js ()
 

Public Attributes

 $box_color
 
 $msg
 

Additional Inherited Members

- Protected Attributes inherited from BasicPage
 $onload_commands
 
 $page_url
 
 $body_class ='mainBGimage'
 
 $mask_input = False
 

Member Function Documentation

undo_confirm::preprocess ( )

Unify emp_no & trans_no records in the database. Logging records from authentication may have different values. This step normalizes the transaction. In this case I'm restoring the logged in cashier's info immediately and assigning the entire transaction to that cashier. This is simpler than the case below and since it's canceled it doesn't matter if the tender records are assigned to the original cashier or the current cashier.

Unify emp_no & trans_no records in the database. Logging records from authentication may have different values. This step normalizes the transaction. When ajax-end.php runs to close the transaction, the actual logged in cashier's values will be restored via Database::loadglobalvalues().


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