Changeset 23394


Ignore:
Timestamp:
2014/05/03 15:19:51 (7 years ago)
Author:
kimoto
Message:

#2430 sfGetBasisDataをgetTaxRuleに変更
sfGetBasisDataに税関係は含まれなくなっているので要注意

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r23393 r23394  
    121121        $this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList(); 
    122122 
    123         $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
    124  
    125123        $this->httpCacheControl('nocache'); 
    126124    } 
     
    12281226        if (!$arrProductClassIds || !in_array($insert_product_class_id, $arrProductClassIds)) { 
    12291227            $arrAddProducts = array(); 
     1228            $arrTax = SC_Helper_TaxRule_Ex::getTaxRule(0, $insert_product_class_id); 
    12301229 
    12311230            $arrAddProductInfo['product_name'] = ($arrAddProductInfo['product_name']) 
     
    12391238            $arrAddProductInfo['quantity'] = 1; 
    12401239            $arrAddProductInfo['tax_rate'] = ($objFormParam->getValue('order_tax_rate') == '') 
    1241                 ? $this->arrInfo['tax'] 
     1240                ? $arrTax['tax_rate'] 
    12421241                : $objFormParam->getValue('order_tax_rate'); 
    12431242 
    12441243            $arrAddProductInfo['tax_rule'] = ($objFormParam->getValue('order_tax_rule') == '') 
    1245                 ? $this->arrInfo['tax_rule'] 
     1244                ? $arrTax['tax_rule'] 
    12461245                : $objFormParam->getValue('order_tax_rule'); 
    12471246 
Note: See TracChangeset for help on using the changeset viewer.