示例#1
0
文件: QSP.php 项目: xepan/commerce
 function render()
 {
     if ($_GET['action'] != 'view') {
         $round_amount_standard = $this->add('xepan\\base\\Model_ConfigJsonModel', ['fields' => ['round_amount_standard' => 'DropDown'], 'config_key' => 'COMMERCE_TAX_AND_ROUND_AMOUNT_CONFIG', 'application' => 'commerce']);
         $round_amount_standard->tryLoadAny();
         $this->js(true)->_load('xepan-QSIP')->univ()->calculateQSIP($round_amount_standard['round_amount_standard']);
     }
     parent::render();
 }
示例#2
0
 function render()
 {
     $this->js(true)->_selector('#' . $this->getJSID() . ' [title]')->tooltip();
     parent::render();
 }