Ignore:
Timestamp:
2014/04/22 14:03:01 (10 years ago)
Author:
Seasoft
Message:

#2530 (受注登録画面 配送数の扱いが冗長過ぎる)

File:
1 edited

Legend:

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

    r23300 r23372  
    130130        $this->arrForm = $objFormParam->getFormParamList(); 
    131131        $this->arrAllShipping = $objFormParam->getSwapArray(array_merge($this->arrShippingKeys, $this->arrShipmentItemKeys)); 
     132        $this->tpl_shipping_quantity = count($this->arrAllShipping); 
    132133        $this->arrDelivTime = SC_Helper_Delivery_Ex::getDelivTime($objFormParam->getValue('deliv_id')); 
    133134        $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
     
    223224 
    224225        // 複数情報 
    225         $objFormParam->addParam('配送数', 'shipping_quantity', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK'), 1); 
    226226        $objFormParam->addParam('配送ID', 'shipping_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK'), 0); 
    227227        $objFormParam->addParam('お名前1', 'shipping_name01', STEXT_LEN, 'KVa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
     
    290290            $arrShippings[$row['shipping_id']] = $row; 
    291291        } 
    292         $objFormParam->setValue('shipping_quantity', count($arrShippings)); 
    293292        $objFormParam->setParam(SC_Utils_Ex::sfSwapArray($arrShippings)); 
    294293 
Note: See TracChangeset for help on using the changeset viewer.