1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 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('<!--{t string="tpl_A checkbox has not been selected_01"}-->'); |
---|
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('<!--{t string="tpl_A checkbox has not been selected_01"}-->'); |
---|
104 | return false; |
---|
105 | } |
---|
106 | |
---|
107 | fm.mode.value="mail_select"; |
---|
108 | fm.action=action; |
---|
109 | fm.submit(); |
---|
110 | } |
---|
111 | |
---|
112 | $(function(){ |
---|
113 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
114 | |
---|
115 | <!--{if $arrForm.search_sbirthyear.value != '' && $arrForm.search_sbirthmonth.value != '' && $arrForm.search_sbirthday.value != ''}--> |
---|
116 | var search_sbirthyear = '<!--{$arrForm.search_sbirthyear.value|h}-->'; |
---|
117 | var search_sbirthmonth = '<!--{$arrForm.search_sbirthmonth.value|h}-->'; |
---|
118 | var search_sbirthday = '<!--{$arrForm.search_sbirthday.value|h}-->'; |
---|
119 | var search_sbirth_ymd = $.datepicker.formatDate(dateFormat, new Date(search_sbirthyear, search_sbirthmonth - 1, search_sbirthday)); |
---|
120 | $("#datepickersearch_sbirth").val(search_sbirth_ymd); |
---|
121 | <!--{/if}--> |
---|
122 | |
---|
123 | $( "#datepickersearch_sbirth" ).datepicker({ |
---|
124 | beforeShowDay: function(date) { |
---|
125 | if(date.getDay() == 0) { |
---|
126 | return [true,"date-sunday"]; |
---|
127 | } else if(date.getDay() == 6){ |
---|
128 | return [true,"date-saturday"]; |
---|
129 | } else { |
---|
130 | return [true]; |
---|
131 | } |
---|
132 | },changeMonth: 'true' |
---|
133 | ,changeYear: 'true' |
---|
134 | ,onSelect: function(dateText, inst){ |
---|
135 | var year = inst.selectedYear; |
---|
136 | var month = inst.selectedMonth + 1; |
---|
137 | var day = inst.selectedDay; |
---|
138 | setDatesearch_sbirth(year + '/' + month + '/' + day); |
---|
139 | }, |
---|
140 | showButtonPanel: true, |
---|
141 | beforeShow: showAdditionalButtonsearch_sbirth, |
---|
142 | onChangeMonthYear: showAdditionalButtonsearch_sbirth |
---|
143 | }); |
---|
144 | |
---|
145 | $("#datepickersearch_sbirth").change( function() { |
---|
146 | var dateText = $(this).val(); |
---|
147 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
148 | // console.log(dateText); |
---|
149 | // console.log(dateFormat); |
---|
150 | var date; |
---|
151 | var year = ''; |
---|
152 | var month = ''; |
---|
153 | var day = ''; |
---|
154 | try { |
---|
155 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
156 | year = date.getFullYear(); |
---|
157 | month = date.getMonth() + 1; |
---|
158 | day = date.getDate(); |
---|
159 | } catch (e) { |
---|
160 | // console.log(e); |
---|
161 | // clear date text |
---|
162 | $(this).val(''); |
---|
163 | } |
---|
164 | setDatesearch_sbirth(year + '/' + month + '/' + day); |
---|
165 | }); |
---|
166 | |
---|
167 | <!--{if $arrForm.search_ebirthyear.value != '' && $arrForm.search_ebirthmonth.value != '' && $arrForm.search_ebirthday.value != ''}--> |
---|
168 | var search_ebirthyear = '<!--{$arrForm.search_ebirthyear.value|h}-->'; |
---|
169 | var search_ebirthmonth = '<!--{$arrForm.search_ebirthmonth.value|h}-->'; |
---|
170 | var search_ebirthday = '<!--{$arrForm.search_ebirthday.value|h}-->'; |
---|
171 | var search_ebirth_ymd = $.datepicker.formatDate(dateFormat, new Date(search_ebirthyear, search_ebirthmonth - 1, search_ebirthday)); |
---|
172 | $("#datepickersearch_ebirth").val(search_ebirth_ymd); |
---|
173 | <!--{/if}--> |
---|
174 | |
---|
175 | $( "#datepickersearch_ebirth" ).datepicker({ |
---|
176 | beforeShowDay: function(date) { |
---|
177 | if(date.getDay() == 0) { |
---|
178 | return [true,"date-sunday"]; |
---|
179 | } else if(date.getDay() == 6){ |
---|
180 | return [true,"date-saturday"]; |
---|
181 | } else { |
---|
182 | return [true]; |
---|
183 | } |
---|
184 | },changeMonth: 'true' |
---|
185 | ,changeYear: 'true' |
---|
186 | ,onSelect: function(dateText, inst){ |
---|
187 | var year = inst.selectedYear; |
---|
188 | var month = inst.selectedMonth + 1; |
---|
189 | var day = inst.selectedDay; |
---|
190 | setDatesearch_ebirth(year + '/' + month + '/' + day); |
---|
191 | }, |
---|
192 | showButtonPanel: true, |
---|
193 | beforeShow: showAdditionalButtonsearch_ebirth, |
---|
194 | onChangeMonthYear: showAdditionalButtonsearch_ebirth |
---|
195 | }); |
---|
196 | |
---|
197 | $("#datepickersearch_ebirth").change( function() { |
---|
198 | var dateText = $(this).val(); |
---|
199 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
200 | // console.log(dateText); |
---|
201 | // console.log(dateFormat); |
---|
202 | var date; |
---|
203 | var year = ''; |
---|
204 | var month = ''; |
---|
205 | var day = ''; |
---|
206 | try { |
---|
207 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
208 | year = date.getFullYear(); |
---|
209 | month = date.getMonth() + 1; |
---|
210 | day = date.getDate(); |
---|
211 | } catch (e) { |
---|
212 | // console.log(e); |
---|
213 | // clear date text |
---|
214 | $(this).val(''); |
---|
215 | } |
---|
216 | setDatesearch_ebirth(year + '/' + month + '/' + day); |
---|
217 | }); |
---|
218 | |
---|
219 | <!--{if $arrForm.search_sorderyear.value != '' && $arrForm.search_sordermonth.value != '' && $arrForm.search_sorderday.value != ''}--> |
---|
220 | var search_sorderyear = '<!--{$arrForm.search_sorderyear.value|h}-->'; |
---|
221 | var search_sordermonth = '<!--{$arrForm.search_sordermonth.value|h}-->'; |
---|
222 | var search_sorderday = '<!--{$arrForm.search_sorderday.value|h}-->'; |
---|
223 | var search_sorder_ymd = $.datepicker.formatDate(dateFormat, new Date(search_sorderyear, search_sordermonth - 1, search_sorderday)); |
---|
224 | $("#datepickersearch_sorder").val(search_sorder_ymd); |
---|
225 | <!--{/if}--> |
---|
226 | |
---|
227 | $( "#datepickersearch_sorder" ).datepicker({ |
---|
228 | beforeShowDay: function(date) { |
---|
229 | if(date.getDay() == 0) { |
---|
230 | return [true,"date-sunday"]; |
---|
231 | } else if(date.getDay() == 6){ |
---|
232 | return [true,"date-saturday"]; |
---|
233 | } else { |
---|
234 | return [true]; |
---|
235 | } |
---|
236 | },changeMonth: 'true' |
---|
237 | ,changeYear: 'true' |
---|
238 | ,onSelect: function(dateText, inst){ |
---|
239 | var year = inst.selectedYear; |
---|
240 | var month = inst.selectedMonth + 1; |
---|
241 | var day = inst.selectedDay; |
---|
242 | setDatesearch_sorder(year + '/' + month + '/' + day); |
---|
243 | }, |
---|
244 | showButtonPanel: true, |
---|
245 | beforeShow: showAdditionalButtonsearch_sorder, |
---|
246 | onChangeMonthYear: showAdditionalButtonsearch_sorder |
---|
247 | }); |
---|
248 | |
---|
249 | $("#datepickersearch_sorder").change( function() { |
---|
250 | var dateText = $(this).val(); |
---|
251 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
252 | // console.log(dateText); |
---|
253 | // console.log(dateFormat); |
---|
254 | var date; |
---|
255 | var year = ''; |
---|
256 | var month = ''; |
---|
257 | var day = ''; |
---|
258 | try { |
---|
259 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
260 | year = date.getFullYear(); |
---|
261 | month = date.getMonth() + 1; |
---|
262 | day = date.getDate(); |
---|
263 | } catch (e) { |
---|
264 | // console.log(e); |
---|
265 | // clear date text |
---|
266 | $(this).val(''); |
---|
267 | } |
---|
268 | setDatesearch_sorder(year + '/' + month + '/' + day); |
---|
269 | }); |
---|
270 | |
---|
271 | <!--{if $arrForm.search_eorderyear.value != '' && $arrForm.search_eordermonth.value != '' && $arrForm.search_eorderday.value != ''}--> |
---|
272 | var search_eorderyear = '<!--{$arrForm.search_eorderyear.value|h}-->'; |
---|
273 | var search_eordermonth = '<!--{$arrForm.search_eordermonth.value|h}-->'; |
---|
274 | var search_eorderday = '<!--{$arrForm.search_eorderday.value|h}-->'; |
---|
275 | var search_eorder_ymd = $.datepicker.formatDate(dateFormat, new Date(search_eorderyear, search_eordermonth - 1, search_eorderday)); |
---|
276 | $("#datepickersearch_eorder").val(search_eorder_ymd); |
---|
277 | <!--{/if}--> |
---|
278 | |
---|
279 | $( "#datepickersearch_eorder" ).datepicker({ |
---|
280 | beforeShowDay: function(date) { |
---|
281 | if(date.getDay() == 0) { |
---|
282 | return [true,"date-sunday"]; |
---|
283 | } else if(date.getDay() == 6){ |
---|
284 | return [true,"date-saturday"]; |
---|
285 | } else { |
---|
286 | return [true]; |
---|
287 | } |
---|
288 | },changeMonth: 'true' |
---|
289 | ,changeYear: 'true' |
---|
290 | ,onSelect: function(dateText, inst){ |
---|
291 | var year = inst.selectedYear; |
---|
292 | var month = inst.selectedMonth + 1; |
---|
293 | var day = inst.selectedDay; |
---|
294 | setDatesearch_eorder(year + '/' + month + '/' + day); |
---|
295 | }, |
---|
296 | showButtonPanel: true, |
---|
297 | beforeShow: showAdditionalButtonsearch_eorder, |
---|
298 | onChangeMonthYear: showAdditionalButtonsearch_eorder |
---|
299 | }); |
---|
300 | |
---|
301 | $("#datepickersearch_eorder").change( function() { |
---|
302 | var dateText = $(this).val(); |
---|
303 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
304 | // console.log(dateText); |
---|
305 | // console.log(dateFormat); |
---|
306 | var date; |
---|
307 | var year = ''; |
---|
308 | var month = ''; |
---|
309 | var day = ''; |
---|
310 | try { |
---|
311 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
312 | year = date.getFullYear(); |
---|
313 | month = date.getMonth() + 1; |
---|
314 | day = date.getDate(); |
---|
315 | } catch (e) { |
---|
316 | // console.log(e); |
---|
317 | // clear date text |
---|
318 | $(this).val(''); |
---|
319 | } |
---|
320 | setDatesearch_eorder(year + '/' + month + '/' + day); |
---|
321 | }); |
---|
322 | |
---|
323 | <!--{if $arrForm.search_supdateyear.value != '' && $arrForm.search_supdatemonth.value != '' && $arrForm.search_supdateday.value != ''}--> |
---|
324 | var search_supdateyear = '<!--{$arrForm.search_supdateyear.value|h}-->'; |
---|
325 | var search_supdatemonth = '<!--{$arrForm.search_supdatemonth.value|h}-->'; |
---|
326 | var search_supdateday = '<!--{$arrForm.search_supdateday.value|h}-->'; |
---|
327 | var search_supdate_ymd = $.datepicker.formatDate(dateFormat, new Date(search_supdateyear, search_supdatemonth - 1, search_supdateday)); |
---|
328 | $("#datepickersearch_supdate").val(search_supdate_ymd); |
---|
329 | <!--{/if}--> |
---|
330 | $( "#datepickersearch_supdate" ).datepicker({ |
---|
331 | beforeShowDay: function(date) { |
---|
332 | if(date.getDay() == 0) { |
---|
333 | return [true,"date-sunday"]; |
---|
334 | } else if(date.getDay() == 6){ |
---|
335 | return [true,"date-saturday"]; |
---|
336 | } else { |
---|
337 | return [true]; |
---|
338 | } |
---|
339 | },changeMonth: 'true' |
---|
340 | ,changeYear: 'true' |
---|
341 | ,onSelect: function(dateText, inst){ |
---|
342 | var year = inst.selectedYear; |
---|
343 | var month = inst.selectedMonth + 1; |
---|
344 | var day = inst.selectedDay; |
---|
345 | setDatesearch_supdate(year + '/' + month + '/' + day); |
---|
346 | }, |
---|
347 | showButtonPanel: true, |
---|
348 | beforeShow: showAdditionalButtonsearch_supdate, |
---|
349 | onChangeMonthYear: showAdditionalButtonsearch_supdate |
---|
350 | }); |
---|
351 | |
---|
352 | $("#datepickersearch_supdate").change( function() { |
---|
353 | var dateText = $(this).val(); |
---|
354 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
355 | // console.log(dateText); |
---|
356 | // console.log(dateFormat); |
---|
357 | var date; |
---|
358 | var year = ''; |
---|
359 | var month = ''; |
---|
360 | var day = ''; |
---|
361 | try { |
---|
362 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
363 | year = date.getFullYear(); |
---|
364 | month = date.getMonth() + 1; |
---|
365 | day = date.getDate(); |
---|
366 | } catch (e) { |
---|
367 | // console.log(e); |
---|
368 | // clear date text |
---|
369 | $(this).val(''); |
---|
370 | } |
---|
371 | setDatesearch_supdate(year + '/' + month + '/' + day); |
---|
372 | }); |
---|
373 | |
---|
374 | <!--{if $arrForm.search_eupdateyear.value != '' && $arrForm.search_eupdatemonth.value != '' && $arrForm.search_eupdateday.value != ''}--> |
---|
375 | var search_eupdateyear = '<!--{$arrForm.search_eupdateyear.value|h}-->'; |
---|
376 | var search_eupdatemonth = '<!--{$arrForm.search_eupdatemonth.value|h}-->'; |
---|
377 | var search_eupdateday = '<!--{$arrForm.search_eupdateday.value|h}-->'; |
---|
378 | var search_eupdate_ymd = $.datepicker.formatDate(dateFormat, new Date(search_eupdateyear, search_eupdatemonth - 1, search_eupdateday)); |
---|
379 | $("#datepickersearch_eupdate").val(search_eupdate_ymd); |
---|
380 | <!--{/if}--> |
---|
381 | $( "#datepickersearch_eupdate" ).datepicker({ |
---|
382 | beforeShowDay: function(date) { |
---|
383 | if(date.getDay() == 0) { |
---|
384 | return [true,"date-sunday"]; |
---|
385 | } else if(date.getDay() == 6){ |
---|
386 | return [true,"date-saturday"]; |
---|
387 | } else { |
---|
388 | return [true]; |
---|
389 | } |
---|
390 | },changeMonth: 'true' |
---|
391 | ,changeYear: 'true' |
---|
392 | ,onSelect: function(dateText, inst){ |
---|
393 | var year = inst.selectedYear; |
---|
394 | var month = inst.selectedMonth + 1; |
---|
395 | var day = inst.selectedDay; |
---|
396 | setDatesearch_eupdate(year + '/' + month + '/' + day); |
---|
397 | }, |
---|
398 | showButtonPanel: true, |
---|
399 | beforeShow: showAdditionalButtonsearch_eupdate, |
---|
400 | onChangeMonthYear: showAdditionalButtonsearch_eupdate |
---|
401 | }); |
---|
402 | |
---|
403 | $("#datepickersearch_eupdate").change( function() { |
---|
404 | var dateText = $(this).val(); |
---|
405 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
406 | // console.log(dateText); |
---|
407 | // console.log(dateFormat); |
---|
408 | var date; |
---|
409 | var year = ''; |
---|
410 | var month = ''; |
---|
411 | var day = ''; |
---|
412 | try { |
---|
413 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
414 | year = date.getFullYear(); |
---|
415 | month = date.getMonth() + 1; |
---|
416 | day = date.getDate(); |
---|
417 | } catch (e) { |
---|
418 | // console.log(e); |
---|
419 | // clear date text |
---|
420 | $(this).val(''); |
---|
421 | } |
---|
422 | setDatesearch_eupdate(year + '/' + month + '/' + day); |
---|
423 | }); |
---|
424 | |
---|
425 | }); |
---|
426 | |
---|
427 | var btn = $('<button class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" type="button">Clear</button>'); |
---|
428 | |
---|
429 | var showAdditionalButtonsearch_sbirth = function (input) { |
---|
430 | setTimeout(function () { |
---|
431 | var buttonPane = $(input) |
---|
432 | .datepicker("widget") |
---|
433 | .find(".ui-datepicker-buttonpane"); |
---|
434 | btn |
---|
435 | .unbind("click") |
---|
436 | .bind("click", function () { |
---|
437 | $.datepicker._clearDate(input); |
---|
438 | $("*[name=search_sbirthyear]").val(""); |
---|
439 | $("*[name=search_sbirthmonth]").val(""); |
---|
440 | $("*[name=search_sbirthday]").val(""); |
---|
441 | }); |
---|
442 | btn.appendTo(buttonPane); |
---|
443 | }, 1); |
---|
444 | }; |
---|
445 | |
---|
446 | var showAdditionalButtonsearch_ebirth = function (input) { |
---|
447 | setTimeout(function () { |
---|
448 | var buttonPane = $(input) |
---|
449 | .datepicker("widget") |
---|
450 | .find(".ui-datepicker-buttonpane"); |
---|
451 | btn |
---|
452 | .unbind("click") |
---|
453 | .bind("click", function () { |
---|
454 | $.datepicker._clearDate(input); |
---|
455 | $("*[name=search_ebirthyear]").val(""); |
---|
456 | $("*[name=search_ebirthmonth]").val(""); |
---|
457 | $("*[name=search_ebirthday]").val(""); |
---|
458 | }); |
---|
459 | btn.appendTo(buttonPane); |
---|
460 | }, 1); |
---|
461 | }; |
---|
462 | |
---|
463 | var showAdditionalButtonsearch_sorder = function (input) { |
---|
464 | setTimeout(function () { |
---|
465 | var buttonPane = $(input) |
---|
466 | .datepicker("widget") |
---|
467 | .find(".ui-datepicker-buttonpane"); |
---|
468 | btn |
---|
469 | .unbind("click") |
---|
470 | .bind("click", function () { |
---|
471 | $.datepicker._clearDate(input); |
---|
472 | $("*[name=search_sorderyear]").val(""); |
---|
473 | $("*[name=search_sordermonth]").val(""); |
---|
474 | $("*[name=search_sorderday]").val(""); |
---|
475 | }); |
---|
476 | btn.appendTo(buttonPane); |
---|
477 | }, 1); |
---|
478 | }; |
---|
479 | |
---|
480 | var showAdditionalButtonsearch_eorder = function (input) { |
---|
481 | setTimeout(function () { |
---|
482 | var buttonPane = $(input) |
---|
483 | .datepicker("widget") |
---|
484 | .find(".ui-datepicker-buttonpane"); |
---|
485 | btn |
---|
486 | .unbind("click") |
---|
487 | .bind("click", function () { |
---|
488 | $.datepicker._clearDate(input); |
---|
489 | $("*[name=search_eorderyear]").val(""); |
---|
490 | $("*[name=search_eordermonth]").val(""); |
---|
491 | $("*[name=search_eorderday]").val(""); |
---|
492 | }); |
---|
493 | btn.appendTo(buttonPane); |
---|
494 | }, 1); |
---|
495 | }; |
---|
496 | |
---|
497 | var showAdditionalButtonsearch_supdate = function (input) { |
---|
498 | setTimeout(function () { |
---|
499 | var buttonPane = $(input) |
---|
500 | .datepicker("widget") |
---|
501 | .find(".ui-datepicker-buttonpane"); |
---|
502 | btn |
---|
503 | .unbind("click") |
---|
504 | .bind("click", function () { |
---|
505 | $.datepicker._clearDate(input); |
---|
506 | $("*[name=search_supdateyear]").val(""); |
---|
507 | $("*[name=search_supdatemonth]").val(""); |
---|
508 | $("*[name=search_supdateday]").val(""); |
---|
509 | }); |
---|
510 | btn.appendTo(buttonPane); |
---|
511 | }, 1); |
---|
512 | }; |
---|
513 | |
---|
514 | var showAdditionalButtonsearch_eupdate = function (input) { |
---|
515 | setTimeout(function () { |
---|
516 | var buttonPane = $(input) |
---|
517 | .datepicker("widget") |
---|
518 | .find(".ui-datepicker-buttonpane"); |
---|
519 | btn |
---|
520 | .unbind("click") |
---|
521 | .bind("click", function () { |
---|
522 | $.datepicker._clearDate(input); |
---|
523 | $("*[name=search_eupdateyear]").val(""); |
---|
524 | $("*[name=search_eupdatemonth]").val(""); |
---|
525 | $("*[name=search_eupdateday]").val(""); |
---|
526 | }); |
---|
527 | btn.appendTo(buttonPane); |
---|
528 | }, 1); |
---|
529 | }; |
---|
530 | |
---|
531 | function setDatesearch_sbirth(dateText){ |
---|
532 | var dates = dateText.split('/'); |
---|
533 | $("*[name=search_sbirthyear]").val(dates[0]); |
---|
534 | $("*[name=search_sbirthmonth]").val(dates[1]); |
---|
535 | $("*[name=search_sbirthday]").val(dates[2]); |
---|
536 | } |
---|
537 | |
---|
538 | function setDatesearch_ebirth(dateText){ |
---|
539 | var dates = dateText.split('/'); |
---|
540 | $("*[name=search_ebirthyear]").val(dates[0]); |
---|
541 | $("*[name=search_ebirthmonth]").val(dates[1]); |
---|
542 | $("*[name=search_ebirthday]").val(dates[2]); |
---|
543 | } |
---|
544 | |
---|
545 | function setDatesearch_sorder(dateText){ |
---|
546 | var dates = dateText.split('/'); |
---|
547 | $("*[name=search_sorderyear]").val(dates[0]); |
---|
548 | $("*[name=search_sordermonth]").val(dates[1]); |
---|
549 | $("*[name=search_sorderday]").val(dates[2]); |
---|
550 | } |
---|
551 | |
---|
552 | function setDatesearch_eorder(dateText){ |
---|
553 | var dates = dateText.split('/'); |
---|
554 | $("*[name=search_eorderyear]").val(dates[0]); |
---|
555 | $("*[name=search_eordermonth]").val(dates[1]); |
---|
556 | $("*[name=search_eorderday]").val(dates[2]); |
---|
557 | } |
---|
558 | |
---|
559 | function setDatesearch_supdate(dateText){ |
---|
560 | var dates = dateText.split('/'); |
---|
561 | $("*[name=search_supdateyear]").val(dates[0]); |
---|
562 | $("*[name=search_supdatemonth]").val(dates[1]); |
---|
563 | $("*[name=search_supdateday]").val(dates[2]); |
---|
564 | } |
---|
565 | |
---|
566 | function setDatesearch_eupdate(dateText){ |
---|
567 | var dates = dateText.split('/'); |
---|
568 | $("*[name=search_eupdateyear]").val(dates[0]); |
---|
569 | $("*[name=search_eupdatemonth]").val(dates[1]); |
---|
570 | $("*[name=search_eupdateday]").val(dates[2]); |
---|
571 | } |
---|
572 | //--> |
---|
573 | </script> |
---|
574 | <div id="order" class="contents-main"> |
---|
575 | <form name="search_form" id="search_form" method="post" action="?"> |
---|
576 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
577 | <input type="hidden" name="mode" value="search" /> |
---|
578 | <h2><!--{t string="tpl_Search condition settings_01"}--></h2> |
---|
579 | <!--{* 検索条件設定テーブルここから *}--> |
---|
580 | <table> |
---|
581 | <tr> |
---|
582 | <th><!--{t string="tpl_Order number_01"}--></th> |
---|
583 | <td> |
---|
584 | <!--{assign var=key1 value="search_order_id1"}--> |
---|
585 | <!--{assign var=key2 value="search_order_id2"}--> |
---|
586 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
587 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
588 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
589 | <!--{t string="-"}--> |
---|
590 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
591 | </td> |
---|
592 | <th><!--{t string="tpl_Response status_01"}--></th> |
---|
593 | <td> |
---|
594 | <!--{assign var=key value="search_order_status"}--> |
---|
595 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
596 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
597 | <option value=""><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
598 | <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> |
---|
599 | </select> |
---|
600 | </td> |
---|
601 | </tr> |
---|
602 | <tr> |
---|
603 | <th><!--{t string="tpl_Name_02"}--></th> |
---|
604 | <td colspan="3"> |
---|
605 | <!--{assign var=key value="search_order_name"}--> |
---|
606 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
607 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /> |
---|
608 | </td> |
---|
609 | </tr> |
---|
610 | <tr> |
---|
611 | <th><!--{t string="tpl_E-mail address_01"}--></th> |
---|
612 | <td> |
---|
613 | <!--{assign var=key value="search_order_email"}--> |
---|
614 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
615 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
616 | </td> |
---|
617 | <th><!--{t string="tpl_Phone Number_01"}--></th> |
---|
618 | <td> |
---|
619 | <!--{assign var=key value="search_order_tel"}--> |
---|
620 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
621 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
622 | </td> |
---|
623 | </tr> |
---|
624 | <tr> |
---|
625 | <th><!--{t string="tpl_Date of birth_01"}--></th> |
---|
626 | <td colspan="3"> |
---|
627 | <!--{if $arrErr.search_sbirthyear || $arrErr.search_ebirthyear}--> |
---|
628 | <span class="attention"><!--{$arrErr.search_sbirthyear}--></span> |
---|
629 | <span class="attention"><!--{$arrErr.search_ebirthyear}--></span> |
---|
630 | <!--{/if}--> |
---|
631 | <input id="datepickersearch_sbirth" type="text" value="" <!--{if $arrErr.search_sbirthyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
632 | <input type="hidden" name="search_sbirthyear" value="<!--{$arrForm.search_sbirthyear.value|h}-->" /> |
---|
633 | <input type="hidden" name="search_sbirthmonth" value="<!--{$arrForm.search_sbirthmonth.value|h}-->" /> |
---|
634 | <input type="hidden" name="search_sbirthday" value="<!--{$arrForm.search_sbirthday.value|h}-->" /> |
---|
635 | <!--{t string="-"}--> |
---|
636 | <input id="datepickersearch_ebirth" type="text" value="" <!--{if $arrErr.search_ebirthyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
637 | <input type="hidden" name="search_ebirthyear" value="<!--{$arrForm.search_ebirthyear.value|h}-->" /> |
---|
638 | <input type="hidden" name="search_ebirthmonth" value="<!--{$arrForm.search_ebirthmonth.value|h}-->" /> |
---|
639 | <input type="hidden" name="search_ebirthday" value="<!--{$arrForm.search_ebirthday.value|h}-->" /> |
---|
640 | </td> |
---|
641 | </tr> |
---|
642 | <tr> |
---|
643 | <th><!--{t string="tpl_Gender_01"}--></th> |
---|
644 | <td colspan="3"> |
---|
645 | <!--{assign var=key value="search_order_sex"}--> |
---|
646 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
647 | <!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key].value}--> |
---|
648 | </td> |
---|
649 | </tr> |
---|
650 | <tr> |
---|
651 | <th><!--{t string="tpl_Payment method_01"}--></th> |
---|
652 | <td colspan="3"> |
---|
653 | <!--{assign var=key value="search_payment_id"}--> |
---|
654 | <span class="attention"><!--{$arrErr[$key]|h}--></span> |
---|
655 | <!--{html_checkboxes name="$key" options=$arrPayments selected=$arrForm[$key].value}--> |
---|
656 | </td> |
---|
657 | </tr> |
---|
658 | <tr> |
---|
659 | <th><!--{t string="tpl_Date of order receipt_01"}--></th> |
---|
660 | <td colspan="3"> |
---|
661 | <!--{if $arrErr.search_sorderyear || $arrErr.search_eorderyear}--> |
---|
662 | <span class="attention"><!--{$arrErr.search_sorderyear}--></span> |
---|
663 | <span class="attention"><!--{$arrErr.search_eorderyear}--></span> |
---|
664 | <!--{/if}--> |
---|
665 | <input id="datepickersearch_sorder" type="text" value="" <!--{if $arrErr.search_sorderyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
666 | <input type="hidden" name="search_sorderyear" value="<!--{$arrForm.search_sorderyear.value|h}-->" /> |
---|
667 | <input type="hidden" name="search_sordermonth" value="<!--{$arrForm.search_sordermonth.value|h}-->" /> |
---|
668 | <input type="hidden" name="search_sorderday" value="<!--{$arrForm.search_sorderday.value|h}-->" /> |
---|
669 | <!--{t string="-"}--> |
---|
670 | <input id="datepickersearch_eorder" type="text" value="" <!--{if $arrErr.search_eorderyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
671 | <input type="hidden" name="search_eorderyear" value="<!--{$arrForm.search_eorderyear.value|h}-->" /> |
---|
672 | <input type="hidden" name="search_eordermonth" value="<!--{$arrForm.search_eordermonth.value|h}-->" /> |
---|
673 | <input type="hidden" name="search_eorderday" value="<!--{$arrForm.search_eorderday.value|h}-->" /> |
---|
674 | </td> |
---|
675 | </tr> |
---|
676 | <tr> |
---|
677 | <th><!--{t string="tpl_Date of update_01"}--></th> |
---|
678 | <td colspan="3"> |
---|
679 | <!--{if $arrErr.search_supdateyear || $arrErr.search_eupdateyear}--> |
---|
680 | <span class="attention"><!--{$arrErr.search_supdateyear}--></span> |
---|
681 | <span class="attention"><!--{$arrErr.search_eupdateyear}--></span> |
---|
682 | <!--{/if}--> |
---|
683 | <input id="datepickersearch_supdate" type="text" value="" <!--{if $arrErr.search_supdateyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
684 | <input type="hidden" name="search_supdateyear" value="<!--{$arrForm.search_supdateyear.value|h}-->" /> |
---|
685 | <input type="hidden" name="search_supdatemonth" value="<!--{$arrForm.search_supdatemonth.value|h}-->" /> |
---|
686 | <input type="hidden" name="search_supdateday" value="<!--{$arrForm.search_supdateday.value|h}-->" /> |
---|
687 | <!--{t string="-"}--> |
---|
688 | <input id="datepickersearch_eupdate" type="text" value="" <!--{if $arrErr.search_eupdateyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
689 | <input type="hidden" name="search_eupdateyear" value="<!--{$arrForm.search_eupdateyear.value|h}-->" /> |
---|
690 | <input type="hidden" name="search_eupdatemonth" value="<!--{$arrForm.search_eupdatemonth.value|h}-->" /> |
---|
691 | <input type="hidden" name="search_eupdateday" value="<!--{$arrForm.search_eupdateday.value|h}-->" /> |
---|
692 | </td> |
---|
693 | </tr> |
---|
694 | <tr> |
---|
695 | <th><!--{t string="tpl_Purchase amount_01"}--></th> |
---|
696 | <td> |
---|
697 | <!--{assign var=key1 value="search_total1"}--> |
---|
698 | <!--{assign var=key2 value="search_total2"}--> |
---|
699 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
700 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
701 | <!--{t string="currency_prefix"}--> |
---|
702 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
703 | <!--{t string="currency_suffix"}--> |
---|
704 | <!--{t string="-"}--> |
---|
705 | <!--{t string="currency_prefix"}--> |
---|
706 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
707 | <!--{t string="currency_suffix"}--> |
---|
708 | </td> |
---|
709 | <th><!--{t string="tpl_Purchased product_01"}--></th> |
---|
710 | <td> |
---|
711 | <!--{assign var=key value="search_product_name"}--> |
---|
712 | <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> |
---|
713 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box30" /> |
---|
714 | </td> |
---|
715 | </tr> |
---|
716 | </table> |
---|
717 | |
---|
718 | <div class="btn"> |
---|
719 | <p class="page_rows"><!--{t string="tpl_Results displayed_01"}--> |
---|
720 | <!--{assign var=key value="search_page_max"}--> |
---|
721 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
722 | <!--{t string="record_prefix"}--> |
---|
723 | <select name="<!--{$arrForm[$key].keyname}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
724 | <!--{html_options options=$arrPageMax selected=$arrForm[$key].value}--> |
---|
725 | </select> |
---|
726 | <!--{t string="record_suffix"}--> |
---|
727 | </p> |
---|
728 | <div class="btn-area"> |
---|
729 | <ul> |
---|
730 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Search using above criteria_01"}--></span></a></li> |
---|
731 | </ul> |
---|
732 | </div> |
---|
733 | </div> |
---|
734 | <!--検索条件設定テーブルここまで--> |
---|
735 | </form> |
---|
736 | |
---|
737 | <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}--> |
---|
738 | |
---|
739 | <!--★★検索結果一覧★★--> |
---|
740 | <form name="form1" id="form1" method="post" action="?"> |
---|
741 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
742 | <input type="hidden" name="mode" value="search" /> |
---|
743 | <input type="hidden" name="order_id" value="" /> |
---|
744 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
745 | <!--{if is_array($item)}--> |
---|
746 | <!--{foreach item=c_item from=$item}--> |
---|
747 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
748 | <!--{/foreach}--> |
---|
749 | <!--{else}--> |
---|
750 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
751 | <!--{/if}--> |
---|
752 | <!--{/foreach}--> |
---|
753 | <h2><!--{t string="tpl_List of search results_01"}--></h2> |
---|
754 | <div class="btn"> |
---|
755 | <!--検索結果数--><!--{t string="tpl_<span class='attention'>T_ARG1 items</span> were found._01" escape="none" T_ARG1=$tpl_linemax}--> |
---|
756 | <!--{if $smarty.const.ADMIN_MODE == '1'}--> |
---|
757 | <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span><!--{t string="tpl_Delete all search results_01"}--></span></a> |
---|
758 | <!--{/if}--> |
---|
759 | <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><!--{t string="tpl_CSV download_01"}--></a> |
---|
760 | <a class="btn-normal" href="../contents/csv.php?tpl_subno_csv=order"><!--{t string="tpl_CSV output settings_01"}--></a> |
---|
761 | <a class="btn-normal" href="javascript:;" onclick="fnSelectCheckSubmit('pdf.php'); return false;"><span><!--{t string="tpl_PDF batch output_01"}--></span></a> |
---|
762 | <a class="btn-normal" href="javascript:;" onclick="fnSelectMailCheckSubmit('mail.php'); return false;"><span><!--{t string="tpl_Batch e-mail notification_01"}--></span></a> |
---|
763 | </div> |
---|
764 | <!--{if count($arrResults) > 0}--> |
---|
765 | |
---|
766 | <!--{include file=$tpl_pager}--> |
---|
767 | |
---|
768 | <!--{* 検索結果表示テーブル *}--> |
---|
769 | <table class="list"> |
---|
770 | <col width="10%" /> |
---|
771 | <col width="8%" /> |
---|
772 | <col width="15%" /> |
---|
773 | <col width="8%" /> |
---|
774 | <col width="10%" /> |
---|
775 | <col width="10%" /> |
---|
776 | <col width="10%" /> |
---|
777 | <col width="10%" /> |
---|
778 | <col width="5%" /> |
---|
779 | <col width="9%" /> |
---|
780 | <col width="5%" /> |
---|
781 | <!--{* ペイジェントモジュール連携用 *}--> |
---|
782 | <!--{assign var=path value=`$smarty.const.MODULE_REALDIR`mdl_paygent/paygent_order_index.tpl}--> |
---|
783 | <!--{if file_exists($path)}--> |
---|
784 | <!--{include file=$path}--> |
---|
785 | <!--{else}--> |
---|
786 | <tr> |
---|
787 | <th><!--{t string="tpl_Date of order receipt_01"}--></th> |
---|
788 | <th><!--{t string="tpl_Order number_01"}--></th> |
---|
789 | <th><!--{t string="tpl_Name_02"}--></th> |
---|
790 | <th><!--{t string="tpl_Payment method_01"}--></th> |
---|
791 | <th><!--{t string="tpl_Purchase amount ($)_01" escape="none"}--></th> |
---|
792 | <th><!--{t string="tpl_All product delivery dates_01"}--></th> |
---|
793 | <th><!--{t string="tpl_Response status_01"}--></th> |
---|
794 | <th><label for="pdf_check"><!--{t string="tpl_Ledger_01"}--></label> <input type="checkbox" name="pdf_check" id="pdf_check" onclick="fnAllCheck(this, 'input[name=pdf_order_id[]]')" /></th> |
---|
795 | <th><!--{t string="tpl_Edit_01"}--></th> |
---|
796 | <th><label for="mail_check"><!--{t string="tpl_Mail_01"}--></label> <input type="checkbox" name="mail_check" id="mail_check" onclick="fnAllCheck(this, 'input[name=mail_order_id[]]')" /></th> |
---|
797 | <th><!--{t string="tpl_Remove_01"}--></th> |
---|
798 | </tr> |
---|
799 | |
---|
800 | <!--{section name=cnt loop=$arrResults}--> |
---|
801 | <!--{assign var=status value="`$arrResults[cnt].status`"}--> |
---|
802 | <tr style="background:<!--{$arrORDERSTATUS_COLOR[$status]}-->;"> |
---|
803 | <td class="center"><!--{$arrResults[cnt].create_date|sfDispDBDate}--></td> |
---|
804 | <td class="center"><!--{$arrResults[cnt].order_id}--></td> |
---|
805 | <td><!--{$arrResults[cnt].order_name01|h}--> <!--{$arrResults[cnt].order_name02|h}--></td> |
---|
806 | <!--{assign var=payment_id value="`$arrResults[cnt].payment_id`"}--> |
---|
807 | <td class="center"><!--{$arrPayments[$payment_id]}--></td> |
---|
808 | <td class="right"><!--{$arrResults[cnt].total|number_format}--></td> |
---|
809 | <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default_t:"tpl_Not shipped_01"}--></td> |
---|
810 | <td class="center"><!--{$arrORDERSTATUS[$status]}--></td> |
---|
811 | <td class="center"> |
---|
812 | <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}-->"><!--{t string="tpl_Batch outpu_01"}--></label><br> |
---|
813 | <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class"><!--{t string="tpl_Individual output_01"}--></span></a> |
---|
814 | </td> |
---|
815 | <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"><!--{t string="tpl_Edit_01"}--></span></a></td> |
---|
816 | <td class="center"> |
---|
817 | <!--{if $arrResults[cnt].order_email|strlen >= 1}--> |
---|
818 | <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}-->"><!--{t string="tpl_Batch notification_01"}--></label><br> |
---|
819 | <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"><!--{t string="tpl_Individual notification_01"}--></span></a> |
---|
820 | <!--{/if}--> |
---|
821 | </td> |
---|
822 | <td class="center"><a href="?" onclick="fnModeSubmit('delete_order', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete"><!--{t string="tpl_Remove_01"}--></span></a></td> |
---|
823 | </tr> |
---|
824 | <!--{/section}--> |
---|
825 | <!--{/if}--> |
---|
826 | </table> |
---|
827 | <!--{* 検索結果表示テーブル *}--> |
---|
828 | |
---|
829 | <!--{/if}--> |
---|
830 | |
---|
831 | </form> |
---|
832 | <!--{/if}--> |
---|
833 | </div> |
---|