Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    3232 * @version $Id: LC_Page_Admin_Order_Disp.php 20767 2011-03-22 10:07:32Z nanasess $ 
    3333 */ 
    34 class LC_Page_Admin_Order_Disp extends LC_Page_Admin_Order_Ex  
    35 { 
     34class LC_Page_Admin_Order_Disp extends LC_Page_Admin_Order_Ex { 
    3635 
    3736    var $arrShippingKeys = array( 
     
    7675     * @return void 
    7776     */ 
    78     function init() 
    79     { 
     77    function init() { 
    8078        parent::init(); 
    8179        $this->tpl_mainpage = 'order/disp.tpl'; 
     
    9189 
    9290        // 支払い方法の取得 
    93         $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
     91        $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
    9492 
    9593        // 配送業者の取得 
    96         $this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList(); 
     94        $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', 'name'); 
    9795    } 
    9896 
     
    102100     * @return void 
    103101     */ 
    104     function process() 
    105     { 
     102    function process() { 
    106103        $this->action(); 
    107104        $this->sendResponse(); 
     
    113110     * @return void 
    114111     */ 
    115     function action() 
    116     { 
     112    function action() { 
    117113 
    118114        $objPurchase = new SC_Helper_Purchase_Ex(); 
     
    130126        $this->arrForm = $objFormParam->getFormParamList(); 
    131127        $this->arrAllShipping = $objFormParam->getSwapArray(array_merge($this->arrShippingKeys, $this->arrShipmentItemKeys)); 
    132         $this->arrDelivTime = SC_Helper_Delivery_Ex::getDelivTime($objFormParam->getValue('deliv_id')); 
     128        $this->arrDelivTime = $objPurchase->getDelivTime($objFormParam->getValue('deliv_id')); 
    133129        $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
    134130 
     
    141137     * @return void 
    142138     */ 
    143     function destroy() 
    144     { 
     139    function destroy() { 
    145140        parent::destroy(); 
    146141    } 
     
    152147     * @return void 
    153148     */ 
    154     function lfInitParam(&$objFormParam) 
    155     { 
     149    function lfInitParam(&$objFormParam) { 
    156150        // 検索条件のパラメータを初期化 
    157151        parent::lfInitParam($objFormParam); 
     
    200194        $objFormParam->addParam('メモ', 'note', MTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
    201195        $objFormParam->addParam('削除用項番', 'delete_no', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    202         $objFormParam->addParam('消費税率', 'tax_rate'); 
    203         $objFormParam->addParam('課税規則', 'tax_rule'); 
    204196 
    205197        // DB読込用 
     
    265257     * @return void 
    266258     */ 
    267     function setOrderToFormParam(&$objFormParam, $order_id) 
    268     { 
     259    function setOrderToFormParam(&$objFormParam, $order_id) { 
    269260        $objPurchase = new SC_Helper_Purchase_Ex(); 
    270261 
Note: See TracChangeset for help on using the changeset viewer.