Ejemplo n.º 1
0
 function preprocess()
 {
     $posted_info = FormLib::get_form_value('cardnos');
     if (is_array($posted_info)) {
         $this->content_function = 'post_charges';
         return True;
     }
     return parent::preprocess();
 }
Ejemplo n.º 2
0
 public function preprocess()
 {
     if (php_sapi_name() !== 'cli') {
         /* this page requires a session to pass some extra
            state information through multiple requests */
         @session_start();
     }
     return parent::preprocess();
 }
Ejemplo n.º 3
0
 public function helpContent()
 {
     return '<p>Import alternate brands and descriptions for products.
         These are typically more verbose versions. Often the full 
         name of an item will not fit well on a receipt but it\'s still
         useful to have the full name in the system for things like 
         sale signs.</p>
         <p>The default column layout matches NCGA Co+op Deal sign data
         spreadsheets.</p>' . parent::helpContent();
 }
Ejemplo n.º 4
0
 public function helpContent()
 {
     return '
         <p>Upload a spreadsheet containing UPCs and maximum prices.
         SKUs may optionally be included as well for items mapped to
         a different UPC/PLU. This tool will create or update the 
         pricing rule associated with each of these items. On the 
         column selection page you must specify a rule type and
         a review date for the rule.</p>
         <p>Default column selections correspond to the
         Field Day spreadsheet and chooses the "East" data.</p>' . parent::helpContent();
 }
Ejemplo n.º 5
0
 public function helpContent()
 {
     return '<p>Default column selections correspond to the
         tab/worksheet that lists all A, B, and TPR items</p>' . parent::helpContent();
 }
Ejemplo n.º 6
0
 public function helpContent()
 {
     return '<p>
         Create signs from NCG provided Co+op Deals sign data. Importing
         one worksheet (tab) of the spreadsheet as a sign source accomplishes
         two things: first, it allows for an identical mix of 12 and 16 up
         signs since each size has its own worksheet. Second, items priced
         as multiples (e.g., 5/$5) use the same multiple as the flyer.
         </p>
         <p>The default column layout matches NCG Co+op Deal sign data
         spreadsheets.</p>' . parent::helpContent();
 }