Ignore:
Timestamp:
2013/09/10 15:51:45 (9 years ago)
Author:
m_uehara
Message:

#2378 テンプレートに国・ZIPCODEの項目を追加しました。

File:
1 edited

Legend:

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

    r23126 r23205  
    4545        'shipping_fax02', 
    4646        'shipping_fax03', 
     47        'shipping_country_id', 
     48        'shipping_zipcode', 
    4749        'shipping_pref', 
    4850        'shipping_zip01', 
     
    8486        $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status'); 
    8587        $this->arrDeviceType = $masterData->getMasterData('mtb_device_type'); 
     88        $this->arrCountry = $masterData->getMasterData('mtb_country'); 
    8689 
    8790        // 支払い方法の取得 
     
    147150        $objFormParam->addParam('注文者 お名前(フリガナ・名)', 'order_kana02', STEXT_LEN, 'KVCa', array('EXIST_CHECK', 'SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
    148151        $objFormParam->addParam('メールアドレス', 'order_email', null, 'KVCa', array('NO_SPTAB', 'EMAIL_CHECK', 'EMAIL_CHAR_CHECK')); 
     152        if (FORM_COUNTRY_ENABLE) { 
     153            $objFormParam->addParam('国', 'order_country_id', INT_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK')); 
     154            $objFormParam->addParam('ZIPCODE', 'order_zipcode', STEXT_LEN, 'n', array('NO_SPTAB', 'SPTAB_CHECK', 'GRAPH_CHECK', 'MAX_LENGTH_CHECK')); 
     155        } 
    149156        $objFormParam->addParam('郵便番号1', 'order_zip01', ZIP01_LEN, 'n', array('NUM_CHECK', 'NUM_COUNT_CHECK')); 
    150157        $objFormParam->addParam('郵便番号2', 'order_zip02', ZIP02_LEN, 'n', array('NUM_CHECK', 'NUM_COUNT_CHECK')); 
     
    213220        $objFormParam->addParam('お名前(フリガナ・姓)', 'shipping_kana01', STEXT_LEN, 'KVCa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
    214221        $objFormParam->addParam('お名前(フリガナ・名)', 'shipping_kana02', STEXT_LEN, 'KVCa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
     222        if (FORM_COUNTRY_ENABLE) { 
     223            $objFormParam->addParam('国', 'shipping_country_id', INT_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK')); 
     224            $objFormParam->addParam('ZIPCODE', 'shipping_zipcode', STEXT_LEN, 'n', array('NO_SPTAB', 'SPTAB_CHECK', 'GRAPH_CHECK', 'MAX_LENGTH_CHECK')); 
     225        } 
    215226        $objFormParam->addParam('郵便番号1', 'shipping_zip01', ZIP01_LEN, 'n', array('NUM_CHECK', 'NUM_COUNT_CHECK')); 
    216227        $objFormParam->addParam('郵便番号2', 'shipping_zip02', ZIP02_LEN, 'n', array('NUM_CHECK', 'NUM_COUNT_CHECK')); 
Note: See TracChangeset for help on using the changeset viewer.