Warning: Can't use blame annotator:
svn blame failed on branches/version-2_12-dev/data/Smarty/templates/admin/order/index.tpl: バイナリファイル 'file:///home/svn/open/branches/version-2_12-dev/data/Smarty/templates/admin/order/index.tpl' に対しては blame で各行の最終変更者を計算できません 195004

source: branches/version-2_12-dev/data/Smarty/templates/admin/order/index.tpl @ 22876

Revision 22876, 20.4 KB checked in by m_uehara, 11 years ago (diff)

#2127,#2130,#2220,#2260,#2270,#2274 のコミットを差し戻し

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
RevLine 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24
25<script type="text/javascript">
26<!--
27    function fnSelectCheckSubmit(action){
28
29        var fm = document.form1;
30
31        if (!fm["pdf_order_id[]"]) {
32            return false;
33        }
34
35        var checkflag = false;
36        var max = fm["pdf_order_id[]"].length;
37
38        if (max) {
39            for (var i=0; i<max; i++) {
40                if(fm["pdf_order_id[]"][i].checked == true){
41                    checkflag = true;
42                }
43            }
44        } else {
45            if(fm["pdf_order_id[]"].checked == true) {
46                checkflag = true;
47            }
48        }
49
50        if(!checkflag){
51            alert('チェックボックスが選択されていません');
52            return false;
53        }
54
55        fnOpenPdfSettingPage(action);
56    }
57
58    function fnOpenPdfSettingPage(action){
59        var fm = document.form1;
60        win02("about:blank", "pdf_input", "620","650");
61
62        // 退避
63        tmpTarget = fm.target;
64        tmpMode = fm.mode.value;
65        tmpAction = fm.action;
66
67        fm.target = "pdf_input";
68        fm.mode.value = 'pdf';
69        fm.action = action;
70        fm.submit();
71
72        // 復元
73        fm.target = tmpTarget;
74        fm.mode.value = tmpMode;
75        fm.action = tmpAction;
76    }
77   
78   
79    function fnSelectMailCheckSubmit(action){
80
81        var fm = document.form1;
82
83        if (!fm["mail_order_id[]"]) {
84            return false;
85        }
86
87        var checkflag = false;
88        var max = fm["mail_order_id[]"].length;
89
90        if (max) {
91            for (var i=0; i<max; i++) {
92                if(fm["mail_order_id[]"][i].checked == true){
93                    checkflag = true;
94                }
95            }
96        } else {
97            if(fm["mail_order_id[]"].checked == true) {
98                checkflag = true;
99            }
100        }
101
102        if(!checkflag){
103            alert('チェックボックスが選択されていません');
104            return false;
105        }
106       
107        fm.mode.value="mail_select";
108        fm.action=action;
109        fm.submit();
110    }
111
112
113//-->
114</script>
115<div id="order" class="contents-main">
116<form name="search_form" id="search_form" method="post" action="?">
117<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
118<input type="hidden" name="mode" value="search" />
119    <h2>検索条件設定</h2>
120    <!--{* 検索条件設定テーブルここから *}-->
121    <table>
122        <tr>
123            <th>注文番号</th>
124            <td>
125                <!--{assign var=key1 value="search_order_id1"}-->
126                <!--{assign var=key2 value="search_order_id2"}-->
127                <span class="attention"><!--{$arrErr[$key1]}--></span>
128                <span class="attention"><!--{$arrErr[$key2]}--></span>
129                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" />
130                ~
131                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" />
132            </td>
133            <th>対応状況</th>
134            <td>
135                <!--{assign var=key value="search_order_status"}-->
136                <span class="attention"><!--{$arrErr[$key]}--></span>
137                <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
138                <option value="">選択してください</option>
139                <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}-->
140                </select>
141            </td>
142        </tr>
143        <tr>
144            <th>お名前</th>
145            <td>
146            <!--{assign var=key value="search_order_name"}-->
147            <span class="attention"><!--{$arrErr[$key]}--></span>
148            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
149            </td>
150            <th>お名前(フリガナ)</th>
151            <td>
152            <!--{assign var=key value="search_order_kana"}-->
153            <span class="attention"><!--{$arrErr[$key]}--></span>
154            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
155            </td>
156        </tr>
157        <tr>
158            <th>メールアドレス</th>
159            <td>
160                <!--{assign var=key value="search_order_email"}-->
161                <span class="attention"><!--{$arrErr[$key]}--></span>
162                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
163            </td>
164            <th>TEL</th>
165            <td>
166                <!--{assign var=key value="search_order_tel"}-->
167                <span class="attention"><!--{$arrErr[$key]}--></span>
168                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
169            </td>
170        </tr>
171        <tr>
172            <th>生年月日</th>
173            <td colspan="3">
174                <span class="attention"><!--{$arrErr.search_sbirthyear}--></span>
175                <span class="attention"><!--{$arrErr.search_ebirthyear}--></span>
176                <select name="search_sbirthyear" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->">
177                <option value="">----</option>
178                <!--{html_options options=$arrBirthYear selected=$arrForm.search_sbirthyear.value}-->
179                </select>年
180                <select name="search_sbirthmonth" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->">
181                <option value="">--</option>
182                <!--{html_options options=$arrMonth selected=$arrForm.search_sbirthmonth.value}-->
183                </select>月
184                <select name="search_sbirthday" style="<!--{$arrErr.search_sbirthyear|sfGetErrorColor}-->">
185                <option value="">--</option>
186                <!--{html_options options=$arrDay selected=$arrForm.search_sbirthday.value}-->
187                </select>日~
188                <select name="search_ebirthyear" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->">
189                <option value="">----</option>
190                <!--{html_options options=$arrBirthYear selected=$arrForm.search_ebirthyear.value}-->
191                </select>年
192                <select name="search_ebirthmonth" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->">
193                <option value="">--</option>
194                <!--{html_options options=$arrMonth selected=$arrForm.search_ebirthmonth.value}-->
195                </select>月
196                <select name="search_ebirthday" style="<!--{$arrErr.search_ebirthyear|sfGetErrorColor}-->">
197                <option value="">--</option>
198                <!--{html_options options=$arrDay selected=$arrForm.search_ebirthday.value}-->
199                </select>日
200            </td>
201        </tr>
202        <tr>
203            <th>性別</th>
204            <td colspan="3">
205            <!--{assign var=key value="search_order_sex"}-->
206            <span class="attention"><!--{$arrErr[$key]}--></span>
207            <!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key].value}-->
208            </td>
209        </tr>
210        <tr>
211            <th>支払方法</th>
212            <td colspan="3">
213            <!--{assign var=key value="search_payment_id"}-->
214            <span class="attention"><!--{$arrErr[$key]|h}--></span>
215            <!--{html_checkboxes name="$key" options=$arrPayments selected=$arrForm[$key].value}-->
216            </td>
217        </tr>
218        <tr>
219            <th>受注日</th>
220            <td colspan="3">
221                <!--{if $arrErr.search_sorderyear}--><span class="attention"><!--{$arrErr.search_sorderyear}--></span><!--{/if}-->
222                <!--{if $arrErr.search_eorderyear}--><span class="attention"><!--{$arrErr.search_eorderyear}--></span><!--{/if}-->
223                <select name="search_sorderyear" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->">
224                <option value="">----</option>
225                <!--{html_options options=$arrRegistYear selected=$arrForm.search_sorderyear.value}-->
226                </select>年
227                <select name="search_sordermonth" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->">
228                <option value="">--</option>
229                <!--{html_options options=$arrMonth selected=$arrForm.search_sordermonth.value}-->
230                </select>月
231                <select name="search_sorderday" style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->">
232                <option value="">--</option>
233                <!--{html_options options=$arrDay selected=$arrForm.search_sorderday.value}-->
234                </select>日~
235                <select name="search_eorderyear" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->">
236                <option value="">----</option>
237                <!--{html_options options=$arrRegistYear selected=$arrForm.search_eorderyear.value}-->
238                </select>年
239                <select name="search_eordermonth" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->">
240                <option value="">--</option>
241                <!--{html_options options=$arrMonth selected=$arrForm.search_eordermonth.value}-->
242                </select>月
243                <select name="search_eorderday" style="<!--{$arrErr.search_eorderyear|sfGetErrorColor}-->">
244                <option value="">--</option>
245                <!--{html_options options=$arrDay selected=$arrForm.search_eorderday.value}-->
246                </select>日
247            </td>
248        </tr>
249        <tr>
250            <th>更新日</th>
251            <td colspan="3">
252                <!--{if $arrErr.search_supdateyear}--><span class="attention"><!--{$arrErr.search_supdateyear}--></span><!--{/if}-->
253                <!--{if $arrErr.search_eupdateyear}--><span class="attention"><!--{$arrErr.search_eupdateyear}--></span><!--{/if}-->
254                <select name="search_supdateyear" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->">
255                    <option value="">----</option>
256                    <!--{html_options options=$arrRegistYear selected=$arrForm.search_supdateyear.value}-->
257                </select>年
258                <select name="search_supdatemonth" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->">
259                    <option value="">--</option>
260                    <!--{html_options options=$arrMonth selected=$arrForm.search_supdatemonth.value}-->
261                </select>月
262                <select name="search_supdateday" style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->">
263                    <option value="">--</option>
264                    <!--{html_options options=$arrDay selected=$arrForm.search_supdateday.value}-->
265                </select>日~
266                <select name="search_eupdateyear" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->">
267                    <option value="">----</option>
268                    <!--{html_options options=$arrRegistYear selected=$arrForm.search_eupdateyear.value}-->
269                </select>年
270                <select name="search_eupdatemonth" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->">
271                    <option value="">--</option>
272                    <!--{html_options options=$arrMonth selected=$arrForm.search_eupdatemonth.value}-->
273                </select>月
274                <select name="search_eupdateday" style="<!--{$arrErr.search_eupdateyear|sfGetErrorColor}-->">
275                    <option value="">--</option>
276                    <!--{html_options options=$arrDay selected=$arrForm.search_eupdateday.value}-->
277                </select>日
278            </td>
279        </tr>
280        <tr>
281            <th>購入金額</th>
282            <td>
283                <!--{assign var=key1 value="search_total1"}-->
284                <!--{assign var=key2 value="search_total2"}-->
285                <span class="attention"><!--{$arrErr[$key1]}--></span>
286                <span class="attention"><!--{$arrErr[$key2]}--></span>
287                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" />
288                円 ~
289                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" />
290                円
291            </td>
292            <th>購入商品</th>
293            <td>
294                <!--{assign var=key value="search_product_name"}-->
295                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
296                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box30" />
297            </td>
298        </tr>
299    </table>
300
301    <div class="btn">
302        <p class="page_rows">検索結果表示件数
303        <!--{assign var=key value="search_page_max"}-->
304        <span class="attention"><!--{$arrErr[$key]}--></span>
305        <select name="<!--{$arrForm[$key].keyname}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
306        <!--{html_options options=$arrPageMax selected=$arrForm[$key].value}-->
307        </select> 件</p>
308        <div class="btn-area">
309            <ul>
310                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
311            </ul>
312        </div>
313    </div>
314    <!--検索条件設定テーブルここまで-->
315</form>
316
317<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}-->
318
319<!--★★検索結果一覧★★-->
320<form name="form1" id="form1" method="post" action="?">
321<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
322<input type="hidden" name="mode" value="search" />
323<input type="hidden" name="order_id" value="" />
324<!--{foreach key=key item=item from=$arrHidden}-->
325    <!--{if is_array($item)}-->
326        <!--{foreach item=c_item from=$item}-->
327        <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
328        <!--{/foreach}-->
329    <!--{else}-->
330        <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
331    <!--{/if}-->
332<!--{/foreach}-->
333    <h2>検索結果一覧</h2>
334        <div class="btn">
335        <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
336        <!--{if $smarty.const.ADMIN_MODE == '1'}-->
337        <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果をすべて削除</span></a>
338        <!--{/if}-->
339        <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a>
340        <a class="btn-normal" href="../contents/csv.php?tpl_subno_csv=order">CSV 出力項目設定</a>
341        <a class="btn-normal" href="javascript:;" onclick="fnSelectCheckSubmit('pdf.php'); return false;"><span>PDF一括出力</span></a>
342        <a class="btn-normal" href="javascript:;" onclick="fnSelectMailCheckSubmit('mail.php'); return false;"><span>メール一括通知</span></a>
343    </div>
344    <!--{if count($arrResults) > 0}-->
345
346    <!--{include file=$tpl_pager}-->
347
348    <!--{* 検索結果表示テーブル *}-->
349        <table class="list">
350        <col width="10%" />
351        <col width="8%" />
352        <col width="15%" />
353        <col width="8%" />
354        <col width="10%" />
355        <col width="10%" />
356        <col width="10%" />
357        <col width="10%" />
358        <col width="5%" />
359        <col width="9%" />
360        <col width="5%" />
361        <!--{* ペイジェントモジュール連携用 *}-->
362        <!--{assign var=path value=`$smarty.const.MODULE_REALDIR`mdl_paygent/paygent_order_index.tpl}-->
363        <!--{if file_exists($path)}-->
364            <!--{include file=$path}-->
365        <!--{else}-->
366        <tr>
367            <th>受注日</th>
368            <th>注文番号</th>
369            <th>お名前</th>
370            <th>支払方法</th>
371            <th>購入金額(円)</th>
372            <th>全商品発送日</th>
373            <th>対応状況</th>
374            <th><label for="pdf_check">帳票</label> <input type="checkbox" name="pdf_check" id="pdf_check" onclick="fnAllCheck(this, 'input[name=pdf_order_id[]]')" /></th>
375            <th>編集</th>
376            <th>メール <input type="checkbox" name="mail_check" id="mail_check" onclick="fnAllCheck(this, 'input[name=mail_order_id[]]')" /></th>
377            <th>削除</th>
378        </tr>
379
380        <!--{section name=cnt loop=$arrResults}-->
381        <!--{assign var=status value="`$arrResults[cnt].status`"}-->
382        <tr style="background:<!--{$arrORDERSTATUS_COLOR[$status]}-->;">
383            <td class="center"><!--{$arrResults[cnt].create_date|sfDispDBDate}--></td>
384            <td class="center"><!--{$arrResults[cnt].order_id}--></td>
385            <td><!--{$arrResults[cnt].order_name01|h}--> <!--{$arrResults[cnt].order_name02|h}--></td>
386            <!--{assign var=payment_id value="`$arrResults[cnt].payment_id`"}-->
387            <td class="center"><!--{$arrPayments[$payment_id]}--></td>
388            <td class="right"><!--{$arrResults[cnt].total|number_format}--></td>
389            <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td>
390            <td class="center"><!--{$arrORDERSTATUS[$status]}--></td>
391            <td class="center">
392                <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><br>
393                <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class">個別出力</span></a>
394            </td>
395            <td class="center"><a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td>
396            <td class="center">
397                <!--{if $arrResults[cnt].order_email|strlen >= 1}-->
398                    <input type="checkbox" name="mail_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="mail_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="mail_order_id_<!--{$arrResults[cnt].order_id}-->">一括通知</label><br>
399                    <a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">個別通知</span></a>
400                <!--{/if}-->
401            </td>
402            <td class="center"><a href="?" onclick="fnModeSubmit('delete_order', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td>
403        </tr>
404        <!--{/section}-->
405        <!--{/if}-->
406    </table>
407    <!--{* 検索結果表示テーブル *}-->
408
409    <!--{/if}-->
410
411</form>
412<!--{/if}-->
413</div>
Note: See TracBrowser for help on using the repository browser.