| 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 fnReturn() { |
---|
| 28 | document.search_form.action = './<!--{$smarty.const.DIR_INDEX_PATH}-->'; |
---|
| 29 | document.search_form.submit(); |
---|
| 30 | return false; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | $(function(){ |
---|
| 34 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
| 35 | |
---|
| 36 | <!--{if $arrForm.year != '' && $arrForm.month != '' && $arrForm.day != ''}--> |
---|
| 37 | var year = '<!--{$arrForm.year|h}-->'; |
---|
| 38 | var month = '<!--{$arrForm.month|h}-->'; |
---|
| 39 | var day = '<!--{$arrForm.day|h}-->'; |
---|
| 40 | var ymd = $.datepicker.formatDate(dateFormat, new Date(year, month - 1, day)); |
---|
| 41 | $("#datepickercustomer_edit").val(ymd); |
---|
| 42 | // console.log(ymd); |
---|
| 43 | <!--{/if}--> |
---|
| 44 | |
---|
| 45 | $( "#datepickercustomer_edit" ).datepicker({ |
---|
| 46 | beforeShowDay: function(date) { |
---|
| 47 | if(date.getDay() == 0) { |
---|
| 48 | return [true,"date-sunday"]; |
---|
| 49 | } else if(date.getDay() == 6){ |
---|
| 50 | return [true,"date-saturday"]; |
---|
| 51 | } else { |
---|
| 52 | return [true]; |
---|
| 53 | } |
---|
| 54 | },changeMonth: 'true' |
---|
| 55 | ,changeYear: 'true' |
---|
| 56 | ,onSelect: function(dateText, inst){ |
---|
| 57 | var year = inst.selectedYear; |
---|
| 58 | var month = inst.selectedMonth + 1; |
---|
| 59 | var day = inst.selectedDay; |
---|
| 60 | setDatecustomer_edit(year + '/' + month + '/' + day); |
---|
| 61 | }, |
---|
| 62 | showButtonPanel: true, |
---|
| 63 | beforeShow: showAdditionalButtoncustomer_edit, |
---|
| 64 | onChangeMonthYear: showAdditionalButtoncustomer_edit |
---|
| 65 | }); |
---|
| 66 | |
---|
| 67 | $("#datepickercustomer_edit").change( function() { |
---|
| 68 | var dateText = $(this).val(); |
---|
| 69 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
| 70 | // console.log(dateText); |
---|
| 71 | // console.log(dateFormat); |
---|
| 72 | var date; |
---|
| 73 | var year = ''; |
---|
| 74 | var month = ''; |
---|
| 75 | var day = ''; |
---|
| 76 | try { |
---|
| 77 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
| 78 | year = date.getFullYear(); |
---|
| 79 | month = date.getMonth() + 1; |
---|
| 80 | day = date.getDay(); |
---|
| 81 | } catch (e) { |
---|
| 82 | // console.log(e); |
---|
| 83 | // clear date text |
---|
| 84 | $(this).val(''); |
---|
| 85 | } |
---|
| 86 | setDatecustomer_edit(year + '/' + month + '/' + day); |
---|
| 87 | }); |
---|
| 88 | |
---|
| 89 | }); |
---|
| 90 | |
---|
| 91 | var btn = $('<button class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" type="button">Clear</button>'); |
---|
| 92 | |
---|
| 93 | var showAdditionalButtoncustomer_edit = function (input) { |
---|
| 94 | setTimeout(function () { |
---|
| 95 | var buttonPane = $(input) |
---|
| 96 | .datepicker("widget") |
---|
| 97 | .find(".ui-datepicker-buttonpane"); |
---|
| 98 | btn |
---|
| 99 | .unbind("click") |
---|
| 100 | .bind("click", function () { |
---|
| 101 | $.datepicker._clearDate(input); |
---|
| 102 | $("*[name=year]").val(""); |
---|
| 103 | $("*[name=month]").val(""); |
---|
| 104 | $("*[name=day]").val(""); |
---|
| 105 | }); |
---|
| 106 | btn.appendTo(buttonPane); |
---|
| 107 | }, 1); |
---|
| 108 | }; |
---|
| 109 | |
---|
| 110 | function setDatecustomer_edit(dateText){ |
---|
| 111 | var dates = dateText.split('/'); |
---|
| 112 | $("*[name=year]").val(dates[0]); |
---|
| 113 | $("*[name=month]").val(dates[1]); |
---|
| 114 | $("*[name=day]").val(dates[2]); |
---|
| 115 | } |
---|
| 116 | //--> |
---|
| 117 | </script> |
---|
| 118 | |
---|
| 119 | <form name="search_form" method="post" action=""> |
---|
| 120 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 121 | <input type="hidden" name="mode" value="search" /> |
---|
| 122 | |
---|
| 123 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
| 124 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
| 125 | <!--{if is_array($item)}--> |
---|
| 126 | <!--{foreach item=c_item from=$item}--> |
---|
| 127 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
| 128 | <!--{/foreach}--> |
---|
| 129 | <!--{else}--> |
---|
| 130 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
| 131 | <!--{/if}--> |
---|
| 132 | <!--{/if}--> |
---|
| 133 | <!--{/foreach}--> |
---|
| 134 | </form> |
---|
| 135 | |
---|
| 136 | <form name="form1" id="form1" method="post" action="?" autocomplete="off"> |
---|
| 137 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 138 | <input type="hidden" name="mode" value="confirm" /> |
---|
| 139 | <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|h}-->" /> |
---|
| 140 | |
---|
| 141 | <!-- 検索条件の保持 --> |
---|
| 142 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
| 143 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
| 144 | <!--{if is_array($item)}--> |
---|
| 145 | <!--{foreach item=c_item from=$item}--> |
---|
| 146 | <input type="hidden" name="search_data[<!--{$key|h}-->][]" value="<!--{$c_item|h}-->" /> |
---|
| 147 | <!--{/foreach}--> |
---|
| 148 | <!--{else}--> |
---|
| 149 | <input type="hidden" name="search_data[<!--{$key|h}-->]" value="<!--{$item|h}-->" /> |
---|
| 150 | <!--{/if}--> |
---|
| 151 | <!--{/if}--> |
---|
| 152 | <!--{/foreach}--> |
---|
| 153 | |
---|
| 154 | <div id="customer" class="contents-main"> |
---|
| 155 | <table class="form"> |
---|
| 156 | <!--{if $arrForm.customer_id}--> |
---|
| 157 | <tr> |
---|
| 158 | <th><!--{t string="tpl_Member ID<span class='attention'> *</span>_01" escape="none"}--></th> |
---|
| 159 | <td><!--{$arrForm.customer_id|h}--></td> |
---|
| 160 | </tr> |
---|
| 161 | <!--{/if}--> |
---|
| 162 | <tr> |
---|
| 163 | <th><!--{t string="tpl_209_1" escape="none"}--></th> |
---|
| 164 | <td> |
---|
| 165 | <span class="attention"><!--{$arrErr.status}--></span> |
---|
| 166 | <span <!--{if $arrErr.status != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 167 | <!--{html_radios name="status" options=$arrStatus separator=" " selected=$arrForm.status}--> |
---|
| 168 | </span> |
---|
| 169 | </td> |
---|
| 170 | </tr> |
---|
| 171 | <tr> |
---|
| 172 | <th><!--{t string="tpl_Name<span class='attention'> *</span>_02" escape="none"}--></th> |
---|
| 173 | <td> |
---|
| 174 | <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span> |
---|
| 175 | <input type="text" name="name01" value="<!--{$arrForm.name01|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.name01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <input type="text" name="name02" value="<!--{$arrForm.name02|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.name02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 176 | </td> |
---|
| 177 | </tr> |
---|
| 178 | <tr> |
---|
| 179 | <th><!--{t string="tpl_Postal code<span class='attention'> *</span>_01" escape="none"}--></th> |
---|
| 180 | <td> |
---|
| 181 | <!--{* <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span> *}--> |
---|
| 182 | <span class="attention"><!--{$arrErr.zipcode}--></span> |
---|
| 183 | |
---|
| 184 | <!--{* |
---|
| 185 | <!--{t string="tpl_Postal code mark_01"}--> <input type="text" name="zip01" value="<!--{$arrForm.zip01|h}-->" maxlength="<!--{$smarty.const.ZIP01_LEN}-->" size="6" class="box6" maxlength="3" <!--{if $arrErr.zip01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|h}-->" maxlength="<!--{$smarty.const.ZIP02_LEN}-->" size="6" class="box6" maxlength="4" <!--{if $arrErr.zip02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 186 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;"><!--{t string="tpl_211"}--></a> |
---|
| 187 | *}--> |
---|
| 188 | <!--{t string="tpl_Postal code mark_01"}--> <input type="text" name="zipcode" value="<!--{$arrForm.zipcode|h}-->" maxlength="<!--{$smarty.const.ZIPCODE_LEN}-->" size="15" class="box10" maxlength="10" <!--{if $arrErr.zipcode != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 189 | </td> |
---|
| 190 | </tr> |
---|
| 191 | <tr> |
---|
| 192 | <th><!--{t string="tpl_212_1" escape="none"}--></th> |
---|
| 193 | <td> |
---|
| 194 | <span class="attention"><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span> |
---|
| 195 | <input type="text" name="addr01" value="<!--{$arrForm.addr01|h}-->" size="60" class="box60" <!--{if $arrErr.addr01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
| 196 | <!--{$smarty.const.SAMPLE_ADDRESS1}--><br /> |
---|
| 197 | <input type="text" name="addr02" value="<!--{$arrForm.addr02|h}-->" size="60" class="box60" <!--{if $arrErr.addr02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
| 198 | <!--{$smarty.const.SAMPLE_ADDRESS2}--> |
---|
| 199 | </td> |
---|
| 200 | </tr> |
---|
| 201 | <tr> |
---|
| 202 | <th><!--{t string="tpl_E-mail address<span class='attention'> *</span>_01" escape="none"}--></th> |
---|
| 203 | <td> |
---|
| 204 | <span class="attention"><!--{$arrErr.email}--></span> |
---|
| 205 | <input type="text" name="email" value="<!--{$arrForm.email|h}-->" size="60" class="box60" <!--{if $arrErr.email != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 206 | </td> |
---|
| 207 | </tr> |
---|
| 208 | <tr> |
---|
| 209 | <th><!--{t string="tpl_213"}--></th> |
---|
| 210 | <td> |
---|
| 211 | <span class="attention"><!--{$arrErr.email_mobile}--></span> |
---|
| 212 | <input type="text" name="email_mobile" value="<!--{$arrForm.email_mobile|h}-->" size="60" class="box60" <!--{if $arrErr.email_mobile != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 213 | </td> |
---|
| 214 | </tr> |
---|
| 215 | <tr> |
---|
| 216 | <th><!--{t string="tpl_214_1" escape="none"}--></th> |
---|
| 217 | <td> |
---|
| 218 | <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span> |
---|
| 219 | <input type="text" name="tel01" value="<!--{$arrForm.tel01|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="tel02" value="<!--{$arrForm.tel02|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != "" || $arrErr.tel02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="tel03" value="<!--{$arrForm.tel03|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != "" || $arrErr.tel03 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 220 | </td> |
---|
| 221 | </tr> |
---|
| 222 | <tr> |
---|
| 223 | <th><!--{t string="tpl_FAX_01"}--></th> |
---|
| 224 | <td> |
---|
| 225 | <span class="attention"><!--{$arrErr.fax01}--><!--{$arrErr.fax02}--><!--{$arrErr.fax03}--></span> |
---|
| 226 | <input type="text" name="fax01" value="<!--{$arrForm.fax01|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="fax02" value="<!--{$arrForm.fax02|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != "" || $arrErr.fax02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="fax03" value="<!--{$arrForm.fax03|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != "" || $arrErr.fax03 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 227 | </td> |
---|
| 228 | </tr> |
---|
| 229 | <tr> |
---|
| 230 | <th><!--{t string="tpl_215_1" escape="none"}--></th> |
---|
| 231 | <td> |
---|
| 232 | <span class="attention"><!--{$arrErr.sex}--></span> |
---|
| 233 | <span <!--{if $arrErr.sex != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 234 | <!--{html_radios name="sex" options=$arrSex separator=" " selected=$arrForm.sex}--> |
---|
| 235 | </span> |
---|
| 236 | </td> |
---|
| 237 | </tr> |
---|
| 238 | <tr> |
---|
| 239 | <th><!--{t string="tpl_216"}--></th> |
---|
| 240 | <td> |
---|
| 241 | <span class="attention"><!--{$arrErr.job}--></span> |
---|
| 242 | <select name="job" <!--{if $arrErr.job != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 243 | <option value="" selected="selected"><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
| 244 | <!--{html_options options=$arrJob selected=$arrForm.job}--> |
---|
| 245 | </select> |
---|
| 246 | </td> |
---|
| 247 | </tr> |
---|
| 248 | <tr> |
---|
| 249 | <th><!--{t string="tpl_217"}--></th> |
---|
| 250 | <td> |
---|
| 251 | <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}--> |
---|
| 252 | <!--{if $errBirth}--> |
---|
| 253 | <div class="attention"><!--{$errBirth}--></div> |
---|
| 254 | <!--{/if}--> |
---|
| 255 | <input id="datepickercustomer_edit" |
---|
| 256 | type="text" |
---|
| 257 | value="" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 258 | <input type="hidden" name="year" value="<!--{$arrForm.year}-->" /> |
---|
| 259 | <input type="hidden" name="month" value="<!--{$arrForm.month}-->" /> |
---|
| 260 | <input type="hidden" name="day" value="<!--{$arrForm.day}-->" /> |
---|
| 261 | </td> |
---|
| 262 | </tr> |
---|
| 263 | <tr> |
---|
| 264 | <th><!--{t string="tpl_218_1" escape="none"}--></th> |
---|
| 265 | <td> |
---|
| 266 | <span class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></span> |
---|
| 267 | <input type="password" name="password" value="<!--{$arrForm.password|h}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <!--{t string="tpl_219" T_FIELD1=$smarty.const.PASSWORD_MIN_LEN T_FIELD2=$smarty.const.PASSWORD_MAX_LEN}--><br /> |
---|
| 268 | <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" size="30" class="box30" <!--{if $arrErr.password02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 269 | <p><span class="attention mini"><!--{t string="tpl_220"}--></span></p> |
---|
| 270 | </td> |
---|
| 271 | </tr> |
---|
| 272 | <tr> |
---|
| 273 | <th><!--{t string="tpl_221_1" escape="none"}--></th> |
---|
| 274 | <td> |
---|
| 275 | <span class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></span> |
---|
| 276 | <!--{t string="tpl_222"}--> |
---|
| 277 | <select class="top" name="reminder" <!--{if $arrErr.reminder != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 278 | <option value="" selected="selected"><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
| 279 | <!--{html_options options=$arrReminder selected=$arrForm.reminder}--> |
---|
| 280 | </select><br /> |
---|
| 281 | <!--{t string="tpl_223"}--> |
---|
| 282 | <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" size="30" class="box30" <!--{if $arrErr.reminder_answer != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 283 | </td> |
---|
| 284 | </tr> |
---|
| 285 | <tr> |
---|
| 286 | <th><!--{t string="tpl_224_1" escape="none"}--></th> |
---|
| 287 | <td> |
---|
| 288 | <span class="attention"><!--{$arrErr.mailmaga_flg}--></span> |
---|
| 289 | <span <!--{if $arrErr.mailmaga_flg != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 290 | <!--{html_radios name="mailmaga_flg" options=$arrMailMagazineType separator=" " selected=$arrForm.mailmaga_flg}--> |
---|
| 291 | </span> |
---|
| 292 | </td> |
---|
| 293 | </tr> |
---|
| 294 | <tr> |
---|
| 295 | <th><!--{t string="tpl_225"}--></th> |
---|
| 296 | <td> |
---|
| 297 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
| 298 | <textarea name="note" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" <!--{if $arrErr.note != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea> |
---|
| 299 | </td> |
---|
| 300 | </tr> |
---|
| 301 | <tr> |
---|
| 302 | <th><!--{t string="tpl_226_1" escape="none"}--></th> |
---|
| 303 | <td> |
---|
| 304 | <span class="attention"><!--{$arrErr.point}--></span> |
---|
| 305 | <!--{t string="pt_prefix"}--><input type="text" name="point" value="<!--{$arrForm.point|h}-->" maxlength="<!--{$smarty.const.TEL_LEN}-->" size="6" class="box6" <!--{if $arrErr.point != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <!--{t string="pt_suffix"}--> |
---|
| 306 | </td> |
---|
| 307 | </tr> |
---|
| 308 | </table> |
---|
| 309 | |
---|
| 310 | <div class="btn-area"> |
---|
| 311 | <ul> |
---|
| 312 | <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev"><!--{t string="tpl_227"}--></span></a></li> |
---|
| 313 | <li><a class="btn-action" href="javascript:;" onclick="fnSetFormSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next"><!--{t string="tpl_228"}--></span></a></li> |
---|
| 314 | </ul> |
---|
| 315 | </div> |
---|
| 316 | |
---|
| 317 | <input type="hidden" name="order_id" value="" /> |
---|
| 318 | <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->"> |
---|
| 319 | <input type="hidden" name="edit_customer_id" value="<!--{$edit_customer_id}-->" > |
---|
| 320 | |
---|
| 321 | <h2><!--{t string="tpl_229"}--></h2> |
---|
| 322 | <!--{if $tpl_linemax > 0}--> |
---|
| 323 | <p><!--購入履歴一覧--><!--{t string="tpl_230" escape="none" T_FIELD=$tpl_linemax}--></p> |
---|
| 324 | |
---|
| 325 | <!--{include file=$tpl_pager}--> |
---|
| 326 | |
---|
| 327 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
| 328 | <table class="list"> |
---|
| 329 | <tr> |
---|
| 330 | <th><!--{t string="tpl_Date_01"}--></th> |
---|
| 331 | <th><!--{t string="tpl_231"}--></th> |
---|
| 332 | <th><!--{t string="tpl_232"}--></th> |
---|
| 333 | <th><!--{t string="tpl_233"}--></th> |
---|
| 334 | <th><!--{t string="tpl_Payment method_01"}--></th> |
---|
| 335 | </tr> |
---|
| 336 | <!--{section name=cnt loop=$arrPurchaseHistory}--> |
---|
| 337 | <tr> |
---|
| 338 | <td><!--{$arrPurchaseHistory[cnt].create_date|sfDispDBDate}--></td> |
---|
| 339 | <td class="center"><a href="../order/edit.php?order_id=<!--{$arrPurchaseHistory[cnt].order_id}-->" ><!--{$arrPurchaseHistory[cnt].order_id}--></a></td> |
---|
| 340 | <td class="center"><!--{t string="tpl_500" escape="none" T_FIELD=$arrPurchaseHistory[cnt].payment_total|number_format}--></td> |
---|
| 341 | <td class="center"><!--{if $arrPurchaseHistory[cnt].status eq 5}--><!--{$arrPurchaseHistory[cnt].commit_date|sfDispDBDate}--><!--{else}--><!--{t string="tpl_234"}--><!--{/if}--></td> |
---|
| 342 | <!--{assign var=payment_id value="`$arrPurchaseHistory[cnt].payment_id`"}--> |
---|
| 343 | <td class="center"><!--{$arrPayment[$payment_id]|h}--></td> |
---|
| 344 | </tr> |
---|
| 345 | <!--{/section}--> |
---|
| 346 | </table> |
---|
| 347 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
| 348 | <!--{else}--> |
---|
| 349 | <div class="message"><!--{t string="tpl_235"}--></div> |
---|
| 350 | <!--{/if}--> |
---|
| 351 | |
---|
| 352 | </div> |
---|
| 353 | </form> |
---|