Changeset 17508


Ignore:
Timestamp:
2008/08/07 23:28:13 (13 years ago)
Author:
Seasoft
Message:

・メール登録が無い受注に対して、メール通知の操作画面へのリンクが表示されるのを修正。
・新規登録と編集で入力制約が異なるというのは不自然なので、新規登録の条件に統一。本来は、新規受注入力(管理機能)による挿入レコードか、フロント機能からの挿入レコードかで分岐するのが望ましい気もするが、そこまで厳密に考えなくても良いだろうと想定し、緩い条件とした。

Location:
branches/comu-ver2/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/order/index.tpl

    r17365 r17508  
    2525<form name="search_form" id="search_form" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
    2626<input type="hidden" name="mode" value="search" /> 
    27   <h2>検索条件設定</h2> 
    28   <!--{* 検索条件設定テーブルここから *}--> 
    29   <table> 
    30     <tr> 
    31       <th>受注番号</th> 
    32       <td> 
    33         <!--{assign var=key1 value="search_order_id1"}--> 
    34         <!--{assign var=key2 value="search_order_id2"}--> 
    35         <span class="attention"><!--{$arrErr[$key1]}--></span> 
    36         <span class="attention"><!--{$arrErr[$key2]}--></span> 
    37         <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box6" /> 
    38          ~  
    39         <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" /> 
    40       </td> 
    41     </tr> 
    42     <tr> 
    43       <th>対応状況</th> 
    44       <td> 
    45         <!--{assign var=key value="search_order_status"}--> 
     27    <h2>検索条件設定</h2> 
     28    <!--{* 検索条件設定テーブルここから *}--> 
     29    <table> 
     30        <tr> 
     31            <th>受注番号</th> 
     32            <td> 
     33                <!--{assign var=key1 value="search_order_id1"}--> 
     34                <!--{assign var=key2 value="search_order_id2"}--> 
     35                <span class="attention"><!--{$arrErr[$key1]}--></span> 
     36                <span class="attention"><!--{$arrErr[$key2]}--></span> 
     37                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> 
     38                ~  
     39                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> 
     40            </td> 
     41        </tr> 
     42        <tr> 
     43            <th>対応状況</th> 
     44            <td> 
     45                <!--{assign var=key value="search_order_status"}--> 
     46                <span class="attention"><!--{$arrErr[$key]}--></span> 
     47                <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 
     48                <option value="">選択してください</option> 
     49                <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> 
     50                </select> 
     51            </td> 
     52        </tr> 
     53        <tr> 
     54            <th>顧客名</th> 
     55            <td> 
     56            <!--{assign var=key value="search_order_name"}--> 
     57            <span class="attention"><!--{$arrErr[$key]}--></span> 
     58            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> 
     59            </td> 
     60        </tr> 
     61        <tr> 
     62            <th>顧客名(カナ)</th> 
     63            <td> 
     64            <!--{assign var=key value="search_order_kana"}--> 
     65            <span class="attention"><!--{$arrErr[$key]}--></span> 
     66            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> 
     67            </td> 
     68        </tr> 
     69        <tr> 
     70            <th>メールアドレス</th> 
     71            <td> 
     72                <!--{assign var=key value="search_order_email"}--> 
     73                <span class="attention"><!--{$arrErr[$key]}--></span> 
     74                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> 
     75            </td> 
     76        </tr> 
     77        <tr> 
     78            <th>TEL</th> 
     79            <td> 
     80                <!--{assign var=key value="search_order_tel"}--> 
     81                <span class="attention"><!--{$arrErr[$key]}--></span> 
     82                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> 
     83            </td> 
     84        </tr> 
     85        <tr> 
     86            <th>生年月日</th> 
     87            <td> 
     88                <span class="attention"><!--{$arrErr.search_sbirthyear}--></span> 
     89                <span class="attention"><!--{$arrErr.search_ebirthyear}--></span> 
     90                <select name="search_sbirthyear" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
     91                <option value="">----</option> 
     92                <!--{html_options options=$arrBirthYear selected=$arrForm.search_sbirthyear.value}--> 
     93                </select>年 
     94                <select name="search_sbirthmonth" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
     95                <option value="">--</option> 
     96                <!--{html_options options=$arrMonth selected=$arrForm.search_sbirthmonth.value}--> 
     97                </select>月 
     98                <select name="search_sbirthday" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
     99                <option value="">--</option> 
     100                <!--{html_options options=$arrDay selected=$arrForm.search_sbirthday.value}--> 
     101                </select>日~ 
     102                <select name="search_ebirthyear" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
     103                <option value="">----</option> 
     104                <!--{html_options options=$arrBirthYear selected=$arrForm.search_ebirthyear.value}--> 
     105                </select>年 
     106                <select name="search_ebirthmonth" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
     107                <option value="">--</option> 
     108                <!--{html_options options=$arrMonth selected=$arrForm.search_ebirthmonth.value}--> 
     109                </select>月 
     110                <select name="search_ebirthday" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
     111                <option value="">--</option> 
     112                <!--{html_options options=$arrDay selected=$arrForm.search_ebirthday.value}--> 
     113                </select>日 
     114            </td> 
     115        </tr> 
     116        <tr> 
     117            <th>性別</th> 
     118            <td> 
     119            <!--{assign var=key value="search_order_sex"}--> 
     120            <span class="attention"><!--{$arrErr[$key]}--></span> 
     121            <!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key].value}--> 
     122            </td> 
     123        </tr> 
     124        <tr> 
     125            <th>支払方法</th> 
     126            <td> 
     127            <!--{assign var=key value="search_payment_id"}--> 
     128            <span class="attention"><!--{$arrErr[$key]|escape}--></span> 
     129            <!--{html_checkboxes name="$key" options=$arrPayment|escape selected=$arrForm[$key].value}--> 
     130            </td> 
     131        </tr> 
     132        <tr> 
     133            <th>受注日</th> 
     134            <td> 
     135                <!--{if $arrErr.search_sorderyear}--><span class="attention"><!--{$arrErr.search_sorderyear}--></span><!--{/if}--> 
     136                <!--{if $arrErr.search_eorderyear}--><span class="attention"><!--{$arrErr.search_eorderyear}--></span><!--{/if}--> 
     137                <select name="search_sorderyear" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
     138                <option value="">----</option> 
     139                <!--{html_options options=$arrRegistYear selected=$arrForm.search_sorderyear.value}--> 
     140                </select>年 
     141                <select name="search_sordermonth" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
     142                <option value="">--</option> 
     143                <!--{html_options options=$arrMonth selected=$arrForm.search_sordermonth.value}--> 
     144                </select>月 
     145                <select name="search_sorderday" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
     146                <option value="">--</option> 
     147                <!--{html_options options=$arrDay selected=$arrForm.search_sorderday.value}--> 
     148                </select>日~ 
     149                <select name="search_eorderyear" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
     150                <option value="">----</option> 
     151                <!--{html_options options=$arrRegistYear selected=$arrForm.search_eorderyear.value}--> 
     152                </select>年 
     153                <select name="search_eordermonth" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
     154                <option value="">--</option> 
     155                <!--{html_options options=$arrMonth selected=$arrForm.search_eordermonth.value}--> 
     156                </select>月 
     157                <select name="search_eorderday" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
     158                <option value="">--</option> 
     159                <!--{html_options options=$arrDay selected=$arrForm.search_eorderday.value}--> 
     160                </select>日 
     161            </td> 
     162        </tr> 
     163        <tr> 
     164            <th>更新日</th> 
     165            <td> 
     166                <!--{if $arrErr.search_supdateyear}--><span class="attention"><!--{$arrErr.search_supdateyear}--></span><!--{/if}--> 
     167                <!--{if $arrErr.search_eupdateyear}--><span class="attention"><!--{$arrErr.search_eupdateyear}--></span><!--{/if}--> 
     168                <select name="search_supdateyear" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
     169                    <option value="">----</option> 
     170                    <!--{html_options options=$arrRegistYear selected=$arrForm.search_supdateyear.value}--> 
     171                </select>年 
     172                <select name="search_supdatemonth" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
     173                    <option value="">--</option> 
     174                    <!--{html_options options=$arrMonth selected=$arrForm.search_supdatemonth.value}--> 
     175                </select>月 
     176                <select name="search_supdateday" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
     177                    <option value="">--</option> 
     178                    <!--{html_options options=$arrDay selected=$arrForm.search_supdateday.value}--> 
     179                </select>日~ 
     180                <select name="search_eupdateyear" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
     181                    <option value="">----</option> 
     182                    <!--{html_options options=$arrRegistYear selected=$arrForm.search_eupdateyear.value}--> 
     183                </select>年 
     184                <select name="search_eupdatemonth" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
     185                    <option value="">--</option> 
     186                    <!--{html_options options=$arrMonth selected=$arrForm.search_eupdatemonth.value}--> 
     187                </select>月 
     188                <select name="search_eupdateday" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
     189                    <option value="">--</option> 
     190                    <!--{html_options options=$arrDay selected=$arrForm.search_eupdateday.value}--> 
     191                </select>日 
     192            </td> 
     193        </tr> 
     194        <tr> 
     195            <th>購入金額</th> 
     196            <td> 
     197                <!--{assign var=key1 value="search_total1"}--> 
     198                <!--{assign var=key2 value="search_total2"}--> 
     199                <span class="attention"><!--{$arrErr[$key1]}--></span> 
     200                <span class="attention"><!--{$arrErr[$key2]}--></span> 
     201                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> 
     202                円 ~  
     203                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> 
     204                円 
     205            </td> 
     206        </tr> 
     207        <tr> 
     208            <th>購入商品</th> 
     209            <td> 
     210                <!--{assign var=key value="search_product_name"}--> 
     211                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> 
     212                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box30" /> 
     213            </td> 
     214        </tr> 
     215    </table> 
     216 
     217    <div> 
     218        検索結果表示件数 
     219        <!--{assign var=key value="search_page_max"}--> 
    46220        <span class="attention"><!--{$arrErr[$key]}--></span> 
    47         <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 
    48         <option value="">選択してください</option> 
    49         <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> 
    50         </select> 
    51       </td> 
    52     </tr> 
    53     <tr> 
    54       <th>顧客名</th> 
    55       <td> 
    56       <!--{assign var=key value="search_order_name"}--> 
    57       <span class="attention"><!--{$arrErr[$key]}--></span> 
    58       <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />         
    59       </td> 
    60     </tr> 
    61     <tr> 
    62       <th>顧客名(カナ)</th> 
    63       <td> 
    64       <!--{assign var=key value="search_order_kana"}--> 
    65       <span class="attention"><!--{$arrErr[$key]}--></span> 
    66       <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />         
    67       </td> 
    68     </tr> 
    69     <tr> 
    70       <th>メールアドレス</th> 
    71       <td> 
    72         <!--{assign var=key value="search_order_email"}--> 
    73         <span class="attention"><!--{$arrErr[$key]}--></span> 
    74         <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />         
    75       </td> 
    76     </tr> 
    77     <tr> 
    78       <th>TEL</th> 
    79       <td> 
    80         <!--{assign var=key value="search_order_tel"}--> 
    81         <span class="attention"><!--{$arrErr[$key]}--></span> 
    82         <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />         
    83       </td> 
    84     </tr> 
    85     <tr> 
    86       <th>生年月日</th> 
    87       <td> 
    88         <span class="attention"><!--{$arrErr.search_sbirthyear}--></span> 
    89         <span class="attention"><!--{$arrErr.search_ebirthyear}--></span>     
    90         <select name="search_sbirthyear" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
    91         <option value="">----</option> 
    92         <!--{html_options options=$arrBirthYear selected=$arrForm.search_sbirthyear.value}--> 
    93         </select>年 
    94         <select name="search_sbirthmonth" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
    95         <option value="">--</option> 
    96         <!--{html_options options=$arrMonth selected=$arrForm.search_sbirthmonth.value}--> 
    97         </select>月 
    98         <select name="search_sbirthday" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->"> 
    99         <option value="">--</option> 
    100         <!--{html_options options=$arrDay selected=$arrForm.search_sbirthday.value}--> 
    101         </select>日~ 
    102         <select name="search_ebirthyear" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
    103         <option value="">----</option> 
    104         <!--{html_options options=$arrBirthYear selected=$arrForm.search_ebirthyear.value}--> 
    105         </select>年 
    106         <select name="search_ebirthmonth" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
    107         <option value="">--</option> 
    108         <!--{html_options options=$arrMonth selected=$arrForm.search_ebirthmonth.value}--> 
    109         </select>月 
    110         <select name="search_ebirthday" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->"> 
    111         <option value="">--</option> 
    112         <!--{html_options options=$arrDay selected=$arrForm.search_ebirthday.value}--> 
    113         </select>日 
    114       </td> 
    115     </tr> 
    116     <tr> 
    117       <th>性別</th> 
    118       <td> 
    119       <!--{assign var=key value="search_order_sex"}--> 
    120       <span class="attention"><!--{$arrErr[$key]}--></span> 
    121       <!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key].value}--> 
    122       </td> 
    123     </tr> 
    124     <tr> 
    125       <th>支払方法</th> 
    126       <td> 
    127       <!--{assign var=key value="search_payment_id"}--> 
    128       <span class="attention"><!--{$arrErr[$key]|escape}--></span> 
    129       <!--{html_checkboxes name="$key" options=$arrPayment|escape selected=$arrForm[$key].value}--> 
    130       </td> 
    131     </tr> 
    132     <tr> 
    133       <th>受注日</th> 
    134       <td> 
    135         <!--{if $arrErr.search_sorderyear}--><span class="attention"><!--{$arrErr.search_sorderyear}--></span><!--{/if}--> 
    136         <!--{if $arrErr.search_eorderyear}--><span class="attention"><!--{$arrErr.search_eorderyear}--></span><!--{/if}--> 
    137         <select name="search_sorderyear"  style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
    138         <option value="">----</option> 
    139         <!--{html_options options=$arrRegistYear selected=$arrForm.search_sorderyear.value}--> 
    140         </select>年 
    141         <select name="search_sordermonth" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
    142         <option value="">--</option> 
    143         <!--{html_options options=$arrMonth selected=$arrForm.search_sordermonth.value}--> 
    144         </select>月 
    145         <select name="search_sorderday" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->"> 
    146         <option value="">--</option> 
    147         <!--{html_options options=$arrDay selected=$arrForm.search_sorderday.value}--> 
    148         </select>日~ 
    149         <select name="search_eorderyear" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
    150         <option value="">----</option> 
    151         <!--{html_options options=$arrRegistYear selected=$arrForm.search_eorderyear.value}--> 
    152         </select>年 
    153         <select name="search_eordermonth" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
    154         <option value="">--</option> 
    155         <!--{html_options options=$arrMonth selected=$arrForm.search_eordermonth.value}--> 
    156         </select>月 
    157         <select name="search_eorderday" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->"> 
    158         <option value="">--</option> 
    159         <!--{html_options options=$arrDay selected=$arrForm.search_eorderday.value}--> 
    160         </select>日 
    161       </td> 
    162     </tr> 
    163     <tr> 
    164       <th>更新日</th> 
    165       <td> 
    166         <!--{if $arrErr.search_supdateyear}--><span class="attention"><!--{$arrErr.search_supdateyear}--></span><!--{/if}--> 
    167         <!--{if $arrErr.search_eupdateyear}--><span class="attention"><!--{$arrErr.search_eupdateyear}--></span><!--{/if}--> 
    168         <select name="search_supdateyear"  style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
    169           <option value="">----</option> 
    170           <!--{html_options options=$arrRegistYear selected=$arrForm.search_supdateyear.value}--> 
    171         </select>年 
    172         <select name="search_supdatemonth" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
    173           <option value="">--</option> 
    174           <!--{html_options options=$arrMonth selected=$arrForm.search_supdatemonth.value}--> 
    175         </select>月 
    176         <select name="search_supdateday" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->"> 
    177           <option value="">--</option> 
    178           <!--{html_options options=$arrDay selected=$arrForm.search_supdateday.value}--> 
    179         </select>日~ 
    180         <select name="search_eupdateyear" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
    181           <option value="">----</option> 
    182           <!--{html_options options=$arrRegistYear selected=$arrForm.search_eupdateyear.value}--> 
    183         </select>年 
    184         <select name="search_eupdatemonth" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
    185           <option value="">--</option> 
    186           <!--{html_options options=$arrMonth selected=$arrForm.search_eupdatemonth.value}--> 
    187         </select>月 
    188         <select name="search_eupdateday" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->"> 
    189           <option value="">--</option> 
    190           <!--{html_options options=$arrDay selected=$arrForm.search_eupdateday.value}--> 
    191         </select>日 
    192       </td> 
    193     </tr> 
    194     <tr> 
    195       <th>購入金額</th> 
    196       <td> 
    197         <!--{assign var=key1 value="search_total1"}--> 
    198         <!--{assign var=key2 value="search_total2"}--> 
    199         <span class="attention"><!--{$arrErr[$key1]}--></span> 
    200         <span class="attention"><!--{$arrErr[$key2]}--></span> 
    201         <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box6" /> 
    202         円 ~  
    203         <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" /> 
    204         円 
    205       </td> 
    206     </tr> 
    207     <tr> 
    208       <th>購入商品</th> 
    209       <td> 
    210         <!--{assign var=key value="search_product_name"}--> 
    211         <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> 
    212         <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="6" class="box30" /> 
    213       </td> 
    214     </tr> 
    215   </table> 
    216  
    217   <div> 
    218     検索結果表示件数 
    219     <!--{assign var=key value="search_page_max"}--> 
    220     <span class="attention"><!--{$arrErr[$key]}--></span> 
    221     <select name="<!--{$arrForm[$key].keyname}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 
    222     <!--{html_options options=$arrPageMax selected=$arrForm[$key].value}--> 
    223     </select> 件 
    224     <button type="submit"><span>この条件で検索する</span></button> 
    225   </div> 
    226   <!--検索条件設定テーブルここまで--> 
     221        <select name="<!--{$arrForm[$key].keyname}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 
     222        <!--{html_options options=$arrPageMax selected=$arrForm[$key].value}--> 
     223        </select> 件 
     224        <button type="submit"><span>この条件で検索する</span></button> 
     225    </div> 
     226    <!--検索条件設定テーブルここまで--> 
    227227</form> 
    228228 
     
    236236<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
    237237<!--{/foreach}--> 
    238   <h2>検索結果一覧</h2> 
     238    <h2>検索結果一覧</h2> 
    239239 <p> 
    240     <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。 
    241     <!--{if $smarty.const.ADMIN_MODE == '1'}--> 
    242     <button type="button" onclick="fnModeSubmit('delete_all','','');"><span>検索結果をすべて削除</span></button> 
     240        <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。 
     241        <!--{if $smarty.const.ADMIN_MODE == '1'}--> 
     242        <button type="button" onclick="fnModeSubmit('delete_all','','');"><span>検索結果をすべて削除</span></button> 
     243        <!--{/if}--> 
     244        <button type="button" onclick="fnModeSubmit('csv','','');">CSV DOWNLOAD</button> 
     245        <a href="../contents/csv.php?tpl_subno_csv=order">&gt;&gt; CSV出力項目設定</a> 
     246        <button type="button" onclick="fnSelectCheckSubmit();"><span>PDF一括出力</span></button> 
     247    </p> 
     248    <!--{include file=$tpl_pager}--> 
     249 
     250    <!--{if count($arrResults) > 0}--> 
     251 
     252    <!--{* 検索結果表示テーブル *}--> 
     253    <table class="list"> 
     254        <!--{* ペイジェントモジュール連携用 *}--> 
     255        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order_index.tpl}--> 
     256        <!--{if file_exists($path)}--> 
     257            <!--{include file=$path}--> 
     258        <!--{else}--> 
     259        <tr> 
     260            <th>受注日</th> 
     261            <th>受注番号</th> 
     262            <th>顧客名</th> 
     263            <th>支払方法</th> 
     264            <th>購入金額(円)</th> 
     265            <th>全商品発送日</th> 
     266            <th>対応状況</th> 
     267            <th> 
     268                帳票<br /> 
     269                <button type="button" onclick="fnBoxChecked(true);">全て選択</button> 
     270                <button type="button" onclick="fnBoxChecked(false);">全て解除</button> 
     271            </th> 
     272            <th>編集</th> 
     273            <th>メール</th> 
     274            <th>削除</th> 
     275        </tr> 
     276 
     277        <!--{section name=cnt loop=$arrResults}--> 
     278        <!--{assign var=status value="`$arrResults[cnt].status`"}--> 
     279        <tr style="background:<!--{$arrORDERSTATUS_COLOR[$status]}-->;"> 
     280            <td class="center"><!--{$arrResults[cnt].create_date|sfDispDBDate}--></td> 
     281            <td class="center"><!--{$arrResults[cnt].order_id}--></td> 
     282            <td><!--{$arrResults[cnt].order_name01|escape}--> <!--{$arrResults[cnt].order_name02|escape}--></td> 
     283            <!--{assign var=payment_id value="`$arrResults[cnt].payment_id`"}--> 
     284            <td class="center"><!--{$arrPayment[$payment_id]}--></td> 
     285            <td class="right"><!--{$arrResults[cnt].total|number_format}--></td> 
     286            <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td> 
     287            <td class="center"><!--{$arrORDERSTATUS[$status]}--></td> 
     288            <td class="center"> 
     289                <input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="pdf_order_id_<!--{$arrResults[cnt].order_id}-->">一括出力</label>&nbsp; 
     290                <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">個別出力</span></a> 
     291            </td> 
     292            <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_EDIT}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td> 
     293            <td class="center"> 
     294                <!--{if $arrResults[cnt].order_email|strlen >= 1}--> 
     295                    <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_MAIL}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">通知</span></a> 
     296                <!--{/if}--> 
     297            </td> 
     298            <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td> 
     299        </tr> 
     300        <!--{/section}--> 
     301        <!--{/if}--> 
     302    </table> 
     303    <!--{* 検索結果表示テーブル *}--> 
     304 
    243305    <!--{/if}--> 
    244     <button type="button" onclick="fnModeSubmit('csv','','');">CSV DOWNLOAD</button> 
    245     <a href="../contents/csv.php?tpl_subno_csv=order">&gt;&gt; CSV出力項目設定</a> 
    246     <button type="button" onclick="fnSelectCheckSubmit();"><span>PDF一括出力</span></button> 
    247   </p> 
    248   <!--{include file=$tpl_pager}--> 
    249  
    250   <!--{if count($arrResults) > 0}--> 
    251  
    252   <!--{* 検索結果表示テーブル *}--> 
    253   <table class="list"> 
    254     <!--{* ペイジェントモジュール連携用 *}--> 
    255     <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order_index.tpl}--> 
    256     <!--{if file_exists($path)}--> 
    257       <!--{include file=$path}--> 
    258     <!--{else}--> 
    259     <tr> 
    260       <th>受注日</th> 
    261       <th>受注番号</th> 
    262       <th>顧客名</th> 
    263       <th>支払方法</th> 
    264       <th>購入金額(円)</th> 
    265       <th>全商品発送日</th> 
    266       <th>対応状況</th> 
    267       <th> 
    268         帳票<br /> 
    269         <button type="button" onclick="fnBoxChecked(true);">全て選択</button> 
    270         <button type="button" onclick="fnBoxChecked(false);">全て解除</button> 
    271       </th> 
    272       <th>編集</th> 
    273       <th>メール</th> 
    274       <th>削除</th> 
    275     </tr> 
    276  
    277     <!--{section name=cnt loop=$arrResults}--> 
    278     <!--{assign var=status value="`$arrResults[cnt].status`"}--> 
    279     <tr style="background:<!--{$arrORDERSTATUS_COLOR[$status]}-->;"> 
    280       <td class="center"><!--{$arrResults[cnt].create_date|sfDispDBDate}--></td> 
    281       <td class="center"><!--{$arrResults[cnt].order_id}--></td> 
    282       <td><!--{$arrResults[cnt].order_name01|escape}--> <!--{$arrResults[cnt].order_name02|escape}--></td> 
    283       <!--{assign var=payment_id value="`$arrResults[cnt].payment_id`"}--> 
    284       <td class="center"><!--{$arrPayment[$payment_id]}--></td> 
    285       <td class="right"><!--{$arrResults[cnt].total|number_format}--></td> 
    286       <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td> 
    287       <td class="center"><!--{$arrORDERSTATUS[$status]}--></td> 
    288       <td class="center"> 
    289         <input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="pdf_order_id_<!--{$arrResults[cnt].order_id}-->">一括出力</label>&nbsp; 
    290         <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">個別出力</span></a> 
    291       </td> 
    292       <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_EDIT}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td> 
    293       <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_MAIL}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">通知</span></a></td> 
    294       <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td> 
    295     </tr> 
    296     <!--{/section}--> 
    297     <!--{/if}--> 
    298   </table> 
    299   <!--{* 検索結果表示テーブル *}--> 
    300  
    301   <!--{/if}--> 
    302306 
    303307</form> 
     
    307311<script type="text/javascript"> 
    308312<!-- 
    309     function fnSelectCheckSubmit(){  
    310  
    311         var fm = document.form1; 
    312                  
    313         var i; 
    314         var checkflag = 0; 
    315         var max = fm["pdf_order_id[]"].length; 
    316          
    317         if(max) { 
    318             for (i=0;i<max;i++){ 
    319                 if(fm["pdf_order_id[]"][i].checked == true){ 
    320                     checkflag = 1; 
    321                 } 
    322             } 
    323         } else { 
    324             if(fm["pdf_order_id[]"].checked == true) { 
    325                 checkflag = 1; 
    326             } 
    327         } 
    328  
    329         if(checkflag == 0){ 
    330             alert('チェックボックスが選択されていません'); 
    331             return false; 
    332         } 
    333          
    334         if(checkflag == 1){  
    335       window.open("about:blank", "pdf", "width=1000,height=800,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 
    336       document.form1.target = "pdf"; 
    337           document.form1.mode.value = 'pdf'; 
    338           document.form1.action = 'pdf.php'; 
    339           document.form1.submit();  
    340         } 
    341     } 
    342      
    343     function fnBoxChecked(check){ 
    344         var count; 
    345         var fm = document.form1; 
    346         var max = fm["pdf_order_id[]"].length; 
    347         for(count=0; count<max; count++){ 
    348             fm["pdf_order_id[]"][count].checked = check; 
    349         } 
    350     } 
    351      
     313    function fnSelectCheckSubmit(){  
     314 
     315        var fm = document.form1; 
     316                 
     317        var i; 
     318        var checkflag = 0; 
     319        var max = fm["pdf_order_id[]"].length; 
     320         
     321        if(max) { 
     322            for (i=0;i<max;i++){ 
     323                if(fm["pdf_order_id[]"][i].checked == true){ 
     324                    checkflag = 1; 
     325                } 
     326            } 
     327        } else { 
     328            if(fm["pdf_order_id[]"].checked == true) { 
     329                checkflag = 1; 
     330            } 
     331        } 
     332 
     333        if(checkflag == 0){ 
     334            alert('チェックボックスが選択されていません'); 
     335            return false; 
     336        } 
     337         
     338        if(checkflag == 1){  
     339            window.open("about:blank", "pdf", "width=1000,height=800,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 
     340            document.form1.target = "pdf"; 
     341            document.form1.mode.value = 'pdf'; 
     342            document.form1.action = 'pdf.php'; 
     343            document.form1.submit();  
     344        } 
     345    } 
     346     
     347    function fnBoxChecked(check){ 
     348        var count; 
     349        var fm = document.form1; 
     350        var max = fm["pdf_order_id[]"].length; 
     351        for(count=0; count<max; count++){ 
     352            fm["pdf_order_id[]"][count].checked = check; 
     353        } 
     354    } 
     355     
    352356//--> 
    353357</script> 
  • branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r17444 r17508  
    241241    /* パラメータ情報の初期化 */ 
    242242    function lfInitParam() { 
    243         if ($_POST['mode'] == 'edit') { 
    244             $this->lfInitParamEdit(); 
    245         } else { 
    246             $this->lfInitParamAdd(); 
    247         } 
     243         
     244        // お客様情報 
     245        $this->objFormParam->addParam("顧客名1", "order_name01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     246        $this->objFormParam->addParam("顧客名2", "order_name02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     247        $this->objFormParam->addParam("顧客名カナ1", "order_kana01", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     248        $this->objFormParam->addParam("顧客名カナ2", "order_kana02", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     249        $this->objFormParam->addParam("メールアドレス", "order_email", MTEXT_LEN, "KVCa", array("NO_SPTAB", "EMAIL_CHECK", "EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK")); 
     250        $this->objFormParam->addParam("郵便番号1", "order_zip01", ZIP01_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
     251        $this->objFormParam->addParam("郵便番号2", "order_zip02", ZIP02_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
     252        $this->objFormParam->addParam("都道府県", "order_pref", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     253        $this->objFormParam->addParam("住所1", "order_addr01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     254        $this->objFormParam->addParam("住所2", "order_addr02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     255        $this->objFormParam->addParam("電話番号1", "order_tel01", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
     256        $this->objFormParam->addParam("電話番号2", "order_tel02", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
     257        $this->objFormParam->addParam("電話番号3", "order_tel03", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
     258 
     259        // 配送先情報 
     260        $this->objFormParam->addParam("お名前1", "deliv_name01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     261        $this->objFormParam->addParam("お名前2", "deliv_name02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     262        $this->objFormParam->addParam("フリガナ1", "deliv_kana01", STEXT_LEN, "KVCa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     263        $this->objFormParam->addParam("フリガナ2", "deliv_kana02", STEXT_LEN, "KVCa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     264        $this->objFormParam->addParam("郵便番号1", "deliv_zip01", ZIP01_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
     265        $this->objFormParam->addParam("郵便番号2", "deliv_zip02", ZIP02_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
     266        $this->objFormParam->addParam("都道府県", "deliv_pref", INT_LEN, "n", array( "MAX_LENGTH_CHECK", "NUM_CHECK")); 
     267        $this->objFormParam->addParam("住所1", "deliv_addr01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     268        $this->objFormParam->addParam("住所2", "deliv_addr02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     269        $this->objFormParam->addParam("電話番号1", "deliv_tel01", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
     270        $this->objFormParam->addParam("電話番号2", "deliv_tel02", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
     271        $this->objFormParam->addParam("電話番号3", "deliv_tel03", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    248272 
    249273        // 受注商品情報 
     
    285309    } 
    286310 
    287     /* パラメータ情報の初期化(編集時) */ 
    288     function lfInitParamEdit() { 
    289         // お客様情報 
    290         $this->objFormParam->addParam("顧客名1", "order_name01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    291         $this->objFormParam->addParam("顧客名2", "order_name02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    292         $this->objFormParam->addParam("顧客名カナ1", "order_kana01", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    293         $this->objFormParam->addParam("顧客名カナ2", "order_kana02", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    294         $this->objFormParam->addParam("メールアドレス", "order_email", MTEXT_LEN, "KVCa", array("EXIST_CHECK", "NO_SPTAB", "EMAIL_CHECK", "EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK")); 
    295         $this->objFormParam->addParam("郵便番号1", "order_zip01", ZIP01_LEN, "n", array("EXIST_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
    296         $this->objFormParam->addParam("郵便番号2", "order_zip02", ZIP02_LEN, "n", array("EXIST_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
    297         $this->objFormParam->addParam("都道府県", "order_pref", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    298         $this->objFormParam->addParam("住所1", "order_addr01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    299         $this->objFormParam->addParam("住所2", "order_addr02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    300         $this->objFormParam->addParam("電話番号1", "order_tel01", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    301         $this->objFormParam->addParam("電話番号2", "order_tel02", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    302         $this->objFormParam->addParam("電話番号3", "order_tel03", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    303  
    304         // 配送先情報 
    305         $this->objFormParam->addParam("お名前1", "deliv_name01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    306         $this->objFormParam->addParam("お名前2", "deliv_name02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    307         $this->objFormParam->addParam("フリガナ1", "deliv_kana01", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    308         $this->objFormParam->addParam("フリガナ2", "deliv_kana02", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    309         $this->objFormParam->addParam("郵便番号1", "deliv_zip01", ZIP01_LEN, "n", array("EXIST_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
    310         $this->objFormParam->addParam("郵便番号2", "deliv_zip02", ZIP02_LEN, "n", array("EXIST_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
    311         $this->objFormParam->addParam("都道府県", "deliv_pref", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    312         $this->objFormParam->addParam("住所1", "deliv_addr01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    313         $this->objFormParam->addParam("住所2", "deliv_addr02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    314         $this->objFormParam->addParam("電話番号1", "deliv_tel01", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    315         $this->objFormParam->addParam("電話番号2", "deliv_tel02", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    316         $this->objFormParam->addParam("電話番号3", "deliv_tel03", TEL_ITEM_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    317  
    318     } 
    319  
    320     /* パラメータ情報の初期化(追加時) */ 
    321     function lfInitParamAdd() { 
    322         // お客様情報 
    323         $this->objFormParam->addParam("顧客名1", "order_name01", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    324         $this->objFormParam->addParam("顧客名2", "order_name02", STEXT_LEN, "KVa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    325         $this->objFormParam->addParam("顧客名カナ1", "order_kana01", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    326         $this->objFormParam->addParam("顧客名カナ2", "order_kana02", STEXT_LEN, "KVCa", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    327         $this->objFormParam->addParam("メールアドレス", "order_email", MTEXT_LEN, "KVCa", array("NO_SPTAB", "EMAIL_CHECK", "EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK")); 
    328         $this->objFormParam->addParam("郵便番号1", "order_zip01", ZIP01_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
    329         $this->objFormParam->addParam("郵便番号2", "order_zip02", ZIP02_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
    330         $this->objFormParam->addParam("都道府県", "order_pref", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    331         $this->objFormParam->addParam("住所1", "order_addr01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    332         $this->objFormParam->addParam("住所2", "order_addr02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    333         $this->objFormParam->addParam("電話番号1", "order_tel01", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    334         $this->objFormParam->addParam("電話番号2", "order_tel02", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    335         $this->objFormParam->addParam("電話番号3", "order_tel03", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    336  
    337         // 配送先情報 
    338         $this->objFormParam->addParam("お名前1", "deliv_name01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    339         $this->objFormParam->addParam("お名前2", "deliv_name02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    340         $this->objFormParam->addParam("フリガナ1", "deliv_kana01", STEXT_LEN, "KVCa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    341         $this->objFormParam->addParam("フリガナ2", "deliv_kana02", STEXT_LEN, "KVCa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    342         $this->objFormParam->addParam("郵便番号1", "deliv_zip01", ZIP01_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
    343         $this->objFormParam->addParam("郵便番号2", "deliv_zip02", ZIP02_LEN, "n", array("NUM_CHECK", "NUM_COUNT_CHECK")); 
    344         $this->objFormParam->addParam("都道府県", "deliv_pref", INT_LEN, "n", array( "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    345         $this->objFormParam->addParam("住所1", "deliv_addr01", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    346         $this->objFormParam->addParam("住所2", "deliv_addr02", STEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    347         $this->objFormParam->addParam("電話番号1", "deliv_tel01", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    348         $this->objFormParam->addParam("電話番号2", "deliv_tel02", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    349         $this->objFormParam->addParam("電話番号3", "deliv_tel03", TEL_ITEM_LEN, "n", array("MAX_LENGTH_CHECK" ,"NUM_CHECK")); 
    350  
    351     } 
    352  
    353  
    354  
    355311    function lfGetOrderData($order_id) { 
    356312        if(SC_Utils_Ex::sfIsInt($order_id)) { 
Note: See TracChangeset for help on using the changeset viewer.