| 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 fnEdit(customer_id) { |
---|
| 28 | document.form1.action = '<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->customer/edit.php'; |
---|
| 29 | document.form1.mode.value = "edit" |
---|
| 30 | document.form1['customer_id'].value = customer_id; |
---|
| 31 | document.form1.submit(); |
---|
| 32 | return false; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | function fnCopyFromOrderData() { |
---|
| 36 | df = document.form1; |
---|
| 37 | |
---|
| 38 | // お届け先名のinputタグのnameを取得 |
---|
| 39 | var shipping_data = $('input[name^=shipping_name01]').attr('name'); |
---|
| 40 | var shipping_slt = shipping_data.split("shipping_name01"); |
---|
| 41 | |
---|
| 42 | var shipping_key = "[0]"; |
---|
| 43 | if(shipping_slt.length > 1) { |
---|
| 44 | shipping_key = shipping_slt[1]; |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | df['shipping_name01'+shipping_key].value = df.order_name01.value; |
---|
| 48 | df['shipping_name02'+shipping_key].value = df.order_name02.value; |
---|
| 49 | // df['shipping_zip01[0]'].value = df.order_zip01.value; |
---|
| 50 | // df['shipping_zip02[0]'].value = df.order_zip02.value; |
---|
| 51 | df['shipping_zipcode'+shipping_key].value = df.order_zipcode.value; |
---|
| 52 | df['shipping_tel01'+shipping_key].value = df.order_tel01.value; |
---|
| 53 | df['shipping_tel02'+shipping_key].value = df.order_tel02.value; |
---|
| 54 | df['shipping_tel03'+shipping_key].value = df.order_tel03.value; |
---|
| 55 | df['shipping_fax01'+shipping_key].value = df.order_fax01.value; |
---|
| 56 | df['shipping_fax02'+shipping_key].value = df.order_fax02.value; |
---|
| 57 | df['shipping_fax03'+shipping_key].value = df.order_fax03.value; |
---|
| 58 | df['shipping_addr01'+shipping_key].value = df.order_addr01.value; |
---|
| 59 | df['shipping_addr02'+shipping_key].value = df.order_addr02.value; |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | function fnFormConfirm() { |
---|
| 63 | if (fnConfirm()) { |
---|
| 64 | document.form1.submit(); |
---|
| 65 | } |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | function fnMultiple() { |
---|
| 69 | win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500'); |
---|
| 70 | document.form1.anchor_key.value = "shipping"; |
---|
| 71 | document.form1.mode.value = "multiple"; |
---|
| 72 | document.form1.submit(); |
---|
| 73 | return false; |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | function fnAppendShipping() { |
---|
| 77 | document.form1.anchor_key.value = "shipping"; |
---|
| 78 | document.form1.mode.value = "append_shipping"; |
---|
| 79 | document.form1.submit(); |
---|
| 80 | return false; |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | $(function(){ |
---|
| 84 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
| 85 | |
---|
| 86 | <!--{foreach name=shipping from=$arrAllShipping item=arrShipping key=shipping_index}--> |
---|
| 87 | |
---|
| 88 | <!--{if $arrShipping.shipping_date_year != '' && $arrShipping.shipping_date_month != '' && $arrShipping.shipping_date_day != ''}--> |
---|
| 89 | var shipping_date_year<!--{$shipping_index}--> = '<!--{$arrShipping.shipping_date_year|h}-->'; |
---|
| 90 | var shipping_date_month<!--{$shipping_index}--> = '<!--{$arrShipping.shipping_date_month|h}-->'; |
---|
| 91 | var shipping_date_day<!--{$shipping_index}--> = '<!--{$arrShipping.shipping_date_day|h}-->'; |
---|
| 92 | var shipping_date_ymd<!--{$shipping_index}--> = $.datepicker.formatDate( |
---|
| 93 | dateFormat, new Date(shipping_date_year<!--{$shipping_index}-->, shipping_date_month<!--{$shipping_index}--> - 1, shipping_date_day<!--{$shipping_index}-->)); |
---|
| 94 | $("#datepickershipping_date<!--{$shipping_index}-->").val(shipping_date_ymd<!--{$shipping_index}-->); |
---|
| 95 | // console.log(ymd); |
---|
| 96 | <!--{/if}--> |
---|
| 97 | |
---|
| 98 | $( "#datepickershipping_date<!--{$shipping_index}-->" ).datepicker({ |
---|
| 99 | beforeShowDay: function(date) { |
---|
| 100 | if(date.getDay() == 0) { |
---|
| 101 | return [true,"date-sunday"]; |
---|
| 102 | } else if(date.getDay() == 6){ |
---|
| 103 | return [true,"date-saturday"]; |
---|
| 104 | } else { |
---|
| 105 | return [true]; |
---|
| 106 | } |
---|
| 107 | },changeMonth: 'true' |
---|
| 108 | ,changeYear: 'true' |
---|
| 109 | ,onSelect: function(dateText, inst){ |
---|
| 110 | var year = inst.selectedYear; |
---|
| 111 | var month = inst.selectedMonth + 1; |
---|
| 112 | var day = inst.selectedDay; |
---|
| 113 | setDateshipping_date<!--{$shipping_index}-->(year + '/' + month + '/' + day); |
---|
| 114 | }, |
---|
| 115 | showButtonPanel: true, |
---|
| 116 | beforeShow: showAdditionalButtonshipping_date<!--{$shipping_index}-->, |
---|
| 117 | onChangeMonthYear: showAdditionalButtonshipping_date<!--{$shipping_index}--> |
---|
| 118 | }); |
---|
| 119 | |
---|
| 120 | $("#datepickershipping_date<!--{$shipping_index}-->").change( function() { |
---|
| 121 | var dateText = $(this).val(); |
---|
| 122 | var dateFormat = $.datepicker.regional['<!--{$smarty.const.LANG_CODE}-->'].dateFormat; |
---|
| 123 | // console.log(dateText); |
---|
| 124 | // console.log(dateFormat); |
---|
| 125 | var date; |
---|
| 126 | var year = ''; |
---|
| 127 | var month = ''; |
---|
| 128 | var day = ''; |
---|
| 129 | try { |
---|
| 130 | date = $.datepicker.parseDate(dateFormat, dateText); |
---|
| 131 | year = date.getFullYear(); |
---|
| 132 | month = date.getMonth() + 1; |
---|
| 133 | day = date.getDate(); |
---|
| 134 | } catch (e) { |
---|
| 135 | // console.log(e); |
---|
| 136 | // clear date text |
---|
| 137 | $(this).val(''); |
---|
| 138 | } |
---|
| 139 | setDateshipping_date<!--{$shipping_index}-->(year + '/' + month + '/' + day); |
---|
| 140 | }); |
---|
| 141 | <!--{/foreach}--> |
---|
| 142 | |
---|
| 143 | }); |
---|
| 144 | |
---|
| 145 | var btn = $('<button class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" type="button">Clear</button>'); |
---|
| 146 | |
---|
| 147 | <!--{foreach name=shipping from=$arrAllShipping item=arrShipping key=shipping_index}--> |
---|
| 148 | var showAdditionalButtonshipping_date<!--{$shipping_index}--> = function (input) { |
---|
| 149 | setTimeout(function () { |
---|
| 150 | var buttonPane = $(input) |
---|
| 151 | .datepicker("widget") |
---|
| 152 | .find(".ui-datepicker-buttonpane"); |
---|
| 153 | btn |
---|
| 154 | .unbind("click") |
---|
| 155 | .bind("click", function () { |
---|
| 156 | $.datepicker._clearDate(input); |
---|
| 157 | $("*[name=shipping_date_year[<!--{$shipping_index}-->]]").val(""); |
---|
| 158 | $("*[name=shipping_date_month[<!--{$shipping_index}-->]]").val(""); |
---|
| 159 | $("*[name=shipping_date_day[<!--{$shipping_index}-->]]").val(""); |
---|
| 160 | }); |
---|
| 161 | btn.appendTo(buttonPane); |
---|
| 162 | }, 1); |
---|
| 163 | }; |
---|
| 164 | |
---|
| 165 | function setDateshipping_date<!--{$shipping_index}-->(dateText){ |
---|
| 166 | var dates = dateText.split('/'); |
---|
| 167 | $("*[name=shipping_date_year[<!--{$shipping_index}-->]]").val(dates[0]); |
---|
| 168 | $("*[name=shipping_date_month[<!--{$shipping_index}-->]]").val(dates[1]); |
---|
| 169 | $("*[name=shipping_date_day[<!--{$shipping_index}-->]]").val(dates[2]); |
---|
| 170 | } |
---|
| 171 | <!--{/foreach}--> |
---|
| 172 | |
---|
| 173 | //--> |
---|
| 174 | </script> |
---|
| 175 | <form name="form1" id="form1" method="post" action="?"> |
---|
| 176 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 177 | <input type="hidden" name="mode" value="<!--{$tpl_mode|default:"edit"|h}-->" /> |
---|
| 178 | <input type="hidden" name="order_id" value="<!--{$arrForm.order_id.value|h}-->" /> |
---|
| 179 | <input type="hidden" name="edit_customer_id" value="" /> |
---|
| 180 | <input type="hidden" name="anchor_key" value="" /> |
---|
| 181 | <input type="hidden" id="add_product_id" name="add_product_id" value="" /> |
---|
| 182 | <input type="hidden" id="add_product_class_id" name="add_product_class_id" value="" /> |
---|
| 183 | <input type="hidden" id="edit_product_id" name="edit_product_id" value="" /> |
---|
| 184 | <input type="hidden" id="edit_product_class_id" name="edit_product_class_id" value="" /> |
---|
| 185 | <input type="hidden" id="no" name="no" value="" /> |
---|
| 186 | <input type="hidden" id="delete_no" name="delete_no" value="" /> |
---|
| 187 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
| 188 | <!--{if is_array($item)}--> |
---|
| 189 | <!--{foreach item=c_item from=$item}--> |
---|
| 190 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
| 191 | <!--{/foreach}--> |
---|
| 192 | <!--{else}--> |
---|
| 193 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
| 194 | <!--{/if}--> |
---|
| 195 | <!--{/foreach}--> |
---|
| 196 | |
---|
| 197 | <div id="order" class="contents-main"> |
---|
| 198 | |
---|
| 199 | <!--▼お客様情報ここから--> |
---|
| 200 | <table class="form"> |
---|
| 201 | <!--{if $tpl_mode != 'add'}--> |
---|
| 202 | <tr> |
---|
| 203 | <th><!--{t string="tpl_Ledger output_01"}--></th> |
---|
| 204 | <td><a class="btn-normal" href="javascript:;" onclick="win02('pdf.php?order_id=<!--{$arrForm.order_id.value|h}-->','pdf','615','650'); return false;"><!--{t string="tpl_Ledger output_01"}--></a></td> |
---|
| 205 | </tr> |
---|
| 206 | <!--{/if}--> |
---|
| 207 | <tr> |
---|
| 208 | <th><!--{t string="tpl_Order number_01"}--></th> |
---|
| 209 | <td><!--{$arrForm.order_id.value|h}--></td> |
---|
| 210 | </tr> |
---|
| 211 | <tr> |
---|
| 212 | <th><!--{t string="tpl_Date of order receipt_01"}--></th> |
---|
| 213 | <td><!--{$arrForm.create_date.value|sfDispDBDate|h}--><input type="hidden" name="create_date" value="<!--{$arrForm.create_date.value|h}-->" /></td> |
---|
| 214 | </tr> |
---|
| 215 | <tr> |
---|
| 216 | <th><!--{t string="tpl_Response status_01"}--></th> |
---|
| 217 | <td> |
---|
| 218 | <!--{assign var=key value="status"}--> |
---|
| 219 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 220 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
| 221 | <option value=""><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
| 222 | <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> |
---|
| 223 | </select><br /> |
---|
| 224 | <!--{if $smarty.get.mode != 'add'}--> |
---|
| 225 | <span class="attention"><!--{t string="tpl_* When T_ARG1 is selected, restore the inventory count manually._01" T_ARG1=$arrORDERSTATUS[$smarty.const.ORDER_CANCEL]}--></span> |
---|
| 226 | <!--{/if}--> |
---|
| 227 | </td> |
---|
| 228 | </tr> |
---|
| 229 | <tr> |
---|
| 230 | <th><!--{t string="tpl_Date of deposit_01"}--></th> |
---|
| 231 | <td><!--{$arrForm.payment_date.value|sfDispDBDate|default_t:"tpl_Not deposited_01"|h}--></td> |
---|
| 232 | </tr> |
---|
| 233 | <tr> |
---|
| 234 | <th><!--{t string="tpl_Shipment date_01"}--></th> |
---|
| 235 | <td><!--{$arrForm.commit_date.value|sfDispDBDate|default_t:"tpl_Not shipped_01"|h}--></td> |
---|
| 236 | </tr> |
---|
| 237 | </table> |
---|
| 238 | |
---|
| 239 | <h2><!--{t string="tpl_Orderer information_01"}--> |
---|
| 240 | <!--{if $tpl_mode == 'add'}--> |
---|
| 241 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnOpenWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->customer/search_customer.php','search','600','650'); return false;"><!--{t string="tpl_Find users_01"}--></a> |
---|
| 242 | <!--{/if}--> |
---|
| 243 | </h2> |
---|
| 244 | <table class="form"> |
---|
| 245 | <tr> |
---|
| 246 | <th><!--{t string="tpl_Member ID_01"}--></th> |
---|
| 247 | <td> |
---|
| 248 | <!--{if $arrForm.customer_id.value > 0}--> |
---|
| 249 | <!--{$arrForm.customer_id.value|h}--> |
---|
| 250 | <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id.value|h}-->" /> |
---|
| 251 | <!--{else}--> |
---|
| 252 | <!--{t string="tpl_(Non-member)_01"}--> |
---|
| 253 | <!--{/if}--> |
---|
| 254 | </td> |
---|
| 255 | </tr> |
---|
| 256 | <tr> |
---|
| 257 | <th><!--{t string="tpl_Name_02"}--></th> |
---|
| 258 | <td> |
---|
| 259 | <!--{assign var=key1 value="order_name01"}--> |
---|
| 260 | <!--{assign var=key2 value="order_name02"}--> |
---|
| 261 | <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span> |
---|
| 262 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
| 263 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
| 264 | </td> |
---|
| 265 | </tr> |
---|
| 266 | <tr> |
---|
| 267 | <th><!--{t string="tpl_E-mail address_01"}--></th> |
---|
| 268 | <td> |
---|
| 269 | <!--{assign var=key1 value="order_email"}--> |
---|
| 270 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
| 271 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
| 272 | </td> |
---|
| 273 | </tr> |
---|
| 274 | <tr> |
---|
| 275 | <th><!--{t string="tpl_Phone Number_01"}--></th> |
---|
| 276 | <td> |
---|
| 277 | <!--{assign var=key1 value="order_tel01"}--> |
---|
| 278 | <!--{assign var=key2 value="order_tel02"}--> |
---|
| 279 | <!--{assign var=key3 value="order_tel03"}--> |
---|
| 280 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
| 281 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
| 282 | <span class="attention"><!--{$arrErr[$key3]}--></span> |
---|
| 283 | <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 284 | <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 285 | <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 286 | </td> |
---|
| 287 | </tr> |
---|
| 288 | <tr> |
---|
| 289 | <th><!--{t string="tpl_FAX_01"}--></th> |
---|
| 290 | <td> |
---|
| 291 | <!--{assign var=key1 value="order_fax01"}--> |
---|
| 292 | <!--{assign var=key2 value="order_fax02"}--> |
---|
| 293 | <!--{assign var=key3 value="order_fax03"}--> |
---|
| 294 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
| 295 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
| 296 | <span class="attention"><!--{$arrErr[$key3]}--></span> |
---|
| 297 | <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 298 | <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 299 | <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 300 | </td> |
---|
| 301 | </tr> |
---|
| 302 | <tr> |
---|
| 303 | <th><!--{t string="tpl_Address_01"}--></th> |
---|
| 304 | <td> |
---|
| 305 | <!--{* <!--{assign var=key1 value="order_zip01"}--> *}--> |
---|
| 306 | <!--{* <!--{assign var=key2 value="order_zip02"}--> *}--> |
---|
| 307 | <!--{assign var=key value="order_zipcode"}--> |
---|
| 308 | |
---|
| 309 | <!--{* <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span> *}--> |
---|
| 310 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 311 | |
---|
| 312 | <!--{t string="tpl_Postal code mark_01"}--> |
---|
| 313 | <!--{* |
---|
| 314 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 315 | - |
---|
| 316 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 317 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01'); return false;"><!--{t string="tpl_Address input_01"}--></a><br /> |
---|
| 318 | *}--> |
---|
| 319 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="15" class="box10" /> |
---|
| 320 | |
---|
| 321 | <!--{assign var=key value="order_addr01"}--> |
---|
| 322 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 323 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" size="60" class="box60 top" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /><br /> |
---|
| 324 | <!--{assign var=key value="order_addr02"}--> |
---|
| 325 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 326 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
| 327 | </td> |
---|
| 328 | </tr> |
---|
| 329 | <tr> |
---|
| 330 | <th><!--{t string="tpl_Remarks_01"}--></th> |
---|
| 331 | <td><!--{$arrForm.message.value|h|nl2br}--></td> |
---|
| 332 | </tr> |
---|
| 333 | <tr> |
---|
| 334 | <th><!--{t string="tpl_Current points_01"}--></th> |
---|
| 335 | <td> |
---|
| 336 | <!--{if $arrForm.customer_id > 0}--> |
---|
| 337 | <!--{t string="pt_prefix"}--> |
---|
| 338 | <!--{$arrForm.customer_point.value|number_format}--> |
---|
| 339 | <!--{t string="pt_suffix"}--> |
---|
| 340 | <!--{else}--> |
---|
| 341 | <!--{t string="tpl_(Non-member)_01"}--> |
---|
| 342 | <!--{/if}--> |
---|
| 343 | </td> |
---|
| 344 | </tr> |
---|
| 345 | <tr> |
---|
| 346 | <th><!--{t string="tpl_Terminal type_01"}--></th> |
---|
| 347 | <td><!--{$arrDeviceType[$arrForm.device_type_id.value]|h}--></td> |
---|
| 348 | </tr> |
---|
| 349 | |
---|
| 350 | </table> |
---|
| 351 | <!--▲お客様情報ここまで--> |
---|
| 352 | |
---|
| 353 | <!--▼受注商品情報ここから--> |
---|
| 354 | <a name="order_products"></a> |
---|
| 355 | <h2 id="order_products"> |
---|
| 356 | <!--{t string="tpl_Order receipt product information_01"}--> |
---|
| 357 | <a class="btn-normal" href="javascript:;" name="recalculate" onclick="fnModeSubmit('recalculate','anchor_key','order_products');"><!--{t string="tpl_Confirm calculation_01"}--></a> |
---|
| 358 | <a class="btn-normal" href="javascript:;" name="add_product" onclick="win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->', 'search', '615', '500'); return false;"><!--{t string="tpl_Add product_01"}--></a> |
---|
| 359 | </h2> |
---|
| 360 | |
---|
| 361 | <!--{if $arrErr.product_id}--> |
---|
| 362 | <span class="attention"><!--{t string="tpl_* No product is selected._01"}--></span> |
---|
| 363 | <!--{/if}--> |
---|
| 364 | |
---|
| 365 | <table class="list" id="order-edit-products"> |
---|
| 366 | <tr> |
---|
| 367 | <th class="id"><!--{t string="tpl_Product code_01"}--></th> |
---|
| 368 | <th class="name"><!--{t string="tpl_Product name_01"}-->/<!--{t string="tpl_Standard 1_01"}-->/<!--{t string="tpl_Standard 2_01"}--></th> |
---|
| 369 | <th class="price"><!--{t string="tpl_Unit price_01"}--></th> |
---|
| 370 | <th class="qty"><!--{t string="tpl_Quantity_01"}--></th> |
---|
| 371 | <th class="price"><!--{t string="tpl_Price including tax_01"}--></th> |
---|
| 372 | <th class="price"><!--{t string="tpl_Subtotal_01"}--></th> |
---|
| 373 | </tr> |
---|
| 374 | <!--{section name=cnt loop=$arrForm.quantity.value}--> |
---|
| 375 | <!--{assign var=product_index value="`$smarty.section.cnt.index`"}--> |
---|
| 376 | <tr> |
---|
| 377 | <td> |
---|
| 378 | <!--{$arrForm.product_code.value[$product_index]|h}--> |
---|
| 379 | <input type="hidden" name="product_code[<!--{$product_index}-->]" value="<!--{$arrForm.product_code.value[$product_index]|h}-->" id="product_code_<!--{$product_index}-->" /> |
---|
| 380 | </td> |
---|
| 381 | <td> |
---|
| 382 | <!--{$arrForm.product_name.value[$product_index]|h}-->/<!--{$arrForm.classcategory_name1.value[$product_index]|default_t:"tpl_(None)_01"|h}-->/<!--{$arrForm.classcategory_name2.value[$product_index]|default_t:"tpl_(None)_01"|h}--> |
---|
| 383 | <input type="hidden" name="product_name[<!--{$product_index}-->]" value="<!--{$arrForm.product_name.value[$product_index]|h}-->" id="product_name_<!--{$product_index}-->" /> |
---|
| 384 | <input type="hidden" name="classcategory_name1[<!--{$product_index}-->]" value="<!--{$arrForm.classcategory_name1.value[$product_index]|h}-->" id="classcategory_name1_<!--{$product_index}-->" /> |
---|
| 385 | <input type="hidden" name="classcategory_name2[<!--{$product_index}-->]" value="<!--{$arrForm.classcategory_name2.value[$product_index]|h}-->" id="classcategory_name2_<!--{$product_index}-->" /> |
---|
| 386 | <br /> |
---|
| 387 | <a class="btn-normal" href="javascript:;" name="change" onclick="win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$product_index}-->&order_id=<!--{$arrForm.order_id.value|h}-->', 'search', '615', '500'); return false;"><!--{t string="tpl_Change_01"}--></a> |
---|
| 388 | <!--{if count($arrForm.quantity.value) > 1}--> |
---|
| 389 | <a class="btn-normal" href="javascript:;" name="delete" onclick="fnSetFormVal('form1', 'delete_no', <!--{$product_index}-->); fnModeSubmit('delete_product','anchor_key','order_products'); return false;"><!--{t string="tpl_Remove_01"}--></a> |
---|
| 390 | <!--{/if}--> |
---|
| 391 | <input type="hidden" name="product_type_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_type_id.value[$product_index]|h}-->" id="product_type_id_<!--{$product_index}-->" /> |
---|
| 392 | <input type="hidden" name="product_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_id.value[$product_index]|h}-->" id="product_id_<!--{$product_index}-->" /> |
---|
| 393 | <input type="hidden" name="product_class_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_class_id.value[$product_index]|h}-->" id="product_class_id_<!--{$product_index}-->" /> |
---|
| 394 | <input type="hidden" name="point_rate[<!--{$product_index}-->]" value="<!--{$arrForm.point_rate.value[$product_index]|h}-->" id="point_rate_<!--{$product_index}-->" /> |
---|
| 395 | </td> |
---|
| 396 | <td align="center"> |
---|
| 397 | <!--{assign var=key value="price"}--> |
---|
| 398 | <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> |
---|
| 399 | <!--{t string="currency_prefix"}--><input type="text" name="<!--{$key}-->[<!--{$product_index}-->]" value="<!--{$arrForm[$key].value[$product_index]|h}-->" size="6" class="box6" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$product_index]|sfGetErrorColor}-->" id="<!--{$key}-->_<!--{$product_index}-->" /> <!--{t string="currency_suffix"}--> |
---|
| 400 | </td> |
---|
| 401 | <td align="center"> |
---|
| 402 | <!--{assign var=key value="quantity"}--> |
---|
| 403 | <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> |
---|
| 404 | <input type="text" name="<!--{$key}-->[<!--{$product_index}-->]" value="<!--{$arrForm[$key].value[$product_index]|h}-->" size="3" class="box3" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$product_index]|sfGetErrorColor}-->" id="<!--{$key}-->_<!--{$product_index}-->" /> |
---|
| 405 | </td> |
---|
| 406 | <!--{assign var=price value=`$arrForm.price.value[$product_index]`}--> |
---|
| 407 | <!--{assign var=quantity value=`$arrForm.quantity.value[$product_index]`}--> |
---|
| 408 | <td class="right"><!--{t string="currency_prefix"}--><!--{$price|sfCalcIncTax|number_format}--><!--{t string="currency_suffix"}--></td> |
---|
| 409 | <td class="right"><!--{t string="tpl_$ T_ARG1_01" escape="none" T_ARG1=$price|sfCalcIncTax|sfMultiply:$quantity|number_format}--></td> |
---|
| 410 | </tr> |
---|
| 411 | <!--{/section}--> |
---|
| 412 | <tr> |
---|
| 413 | <th colspan="5" class="column right"><!--{t string="tpl_Subtotal_01"}--></th> |
---|
| 414 | <td class="right"><!--{t string="tpl_$ T_ARG1_01" escape="none" T_ARG1=$arrForm.subtotal.value|number_format}--></td> |
---|
| 415 | </tr> |
---|
| 416 | <tr> |
---|
| 417 | <th colspan="5" class="column right"><!--{t string="tpl_Discount_01"}--></th> |
---|
| 418 | <td class="right"> |
---|
| 419 | <!--{assign var=key value="discount"}--> |
---|
| 420 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 421 | <!--{t string="currency_prefix"}--> |
---|
| 422 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
| 423 | <!--{t string="currency_suffix"}--> |
---|
| 424 | </td> |
---|
| 425 | </tr> |
---|
| 426 | <tr> |
---|
| 427 | <th colspan="5" class="column right"><!--{t string="tpl_Shipping fee_01"}--></th> |
---|
| 428 | <td class="right"> |
---|
| 429 | <!--{assign var=key value="deliv_fee"}--> |
---|
| 430 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 431 | <!--{t string="currency_prefix"}--> |
---|
| 432 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
| 433 | <!--{t string="currency_suffix"}--> |
---|
| 434 | </td> |
---|
| 435 | </tr> |
---|
| 436 | <tr> |
---|
| 437 | <th colspan="5" class="column right"><!--{t string="tpl_Processing fee_01"}--></th> |
---|
| 438 | <td class="right"> |
---|
| 439 | <!--{assign var=key value="charge"}--> |
---|
| 440 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 441 | <!--{t string="currency_prefix"}--> |
---|
| 442 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
| 443 | <!--{t string="currency_suffix"}--> |
---|
| 444 | </td> |
---|
| 445 | </tr> |
---|
| 446 | <tr> |
---|
| 447 | <th colspan="5" class="column right"><!--{t string="tpl_Total_01"}--></th> |
---|
| 448 | <td class="right"> |
---|
| 449 | <span class="attention"><!--{$arrErr.total}--></span> |
---|
| 450 | <!--{t string="currency_prefix"}--><!--{$arrForm.total.value|number_format}--><!--{t string="currency_suffix"}--> |
---|
| 451 | </td> |
---|
| 452 | </tr> |
---|
| 453 | <tr> |
---|
| 454 | <th colspan="5" class="column right"><!--{t string="tpl_Payment total_01"}--></th> |
---|
| 455 | <td class="right"> |
---|
| 456 | <span class="attention"><!--{$arrErr.payment_total}--></span> |
---|
| 457 | <!--{t string="currency_prefix"}--><!--{$arrForm.payment_total.value|number_format}--><!--{t string="currency_suffix"}--> |
---|
| 458 | </td> |
---|
| 459 | </tr> |
---|
| 460 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
| 461 | <tr> |
---|
| 462 | <th colspan="5" class="column right"><!--{t string="tpl_Points used_01"}--></th> |
---|
| 463 | <td class="right"> |
---|
| 464 | <!--{assign var=key value="use_point"}--> |
---|
| 465 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 466 | <!--{t string="pt_prefix"}--> |
---|
| 467 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:0|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
| 468 | <!--{t string="pt_suffix"}--> |
---|
| 469 | </td> |
---|
| 470 | </tr> |
---|
| 471 | <!--{if $arrForm.birth_point.value > 0}--> |
---|
| 472 | <tr> |
---|
| 473 | <th colspan="5" class="column right"><!--{t string="tpl_Birthday points_001"}--></th> |
---|
| 474 | <td class="right"> |
---|
| 475 | <!--{t string="pt_prefix"}--> |
---|
| 476 | <!--{$arrForm.birth_point.value|number_format}--> |
---|
| 477 | <!--{t string="pt_suffix"}--> |
---|
| 478 | </td> |
---|
| 479 | </tr> |
---|
| 480 | <!--{/if}--> |
---|
| 481 | <tr> |
---|
| 482 | <th colspan="5" class="column right"><!--{t string="tpl_Points added_01"}--></th> |
---|
| 483 | <td class="right"> |
---|
| 484 | <!--{t string="pt_prefix"}--> |
---|
| 485 | <!--{$arrForm.add_point.value|number_format|default:0}--> |
---|
| 486 | <!--{t string="pt_suffix"}--> |
---|
| 487 | </td> |
---|
| 488 | </tr> |
---|
| 489 | <!--{/if}--> |
---|
| 490 | </table> |
---|
| 491 | <!--{assign var=key value="shipping_quantity"}--> |
---|
| 492 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" /> |
---|
| 493 | <!--▼お届け先情報ここから--> |
---|
| 494 | <a name="shipping"></a> |
---|
| 495 | <h2><!--{t string="tpl_Delivery destination information_01"}--> |
---|
| 496 | <!--{if $arrForm.shipping_quantity.value <= 1}--> |
---|
| 497 | <a class="btn-normal" href="javascript:;" onclick="fnCopyFromOrderData();"><!--{t string="tpl_Deliver to customers_01"}--></a> |
---|
| 498 | <!--{/if}--> |
---|
| 499 | <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}--> |
---|
| 500 | <a class="btn-normal" href="javascript:;" onclick="fnAppendShipping();"><!--{t string="tpl_Add new delivery destination_01"}--></a> |
---|
| 501 | <a class="btn-normal" href="javascript:;" onclick="fnMultiple();"><!--{t string="tpl_ Multiple delivery destinations_01"}--></a> |
---|
| 502 | <!--{/if}--> |
---|
| 503 | </h2> |
---|
| 504 | |
---|
| 505 | <!--{foreach name=shipping from=$arrAllShipping item=arrShipping key=shipping_index}--> |
---|
| 506 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
| 507 | <h3><!--{t string="tpl_Delivery destination_01"}--><!--{$smarty.foreach.shipping.iteration}--></h3> |
---|
| 508 | <!--{/if}--> |
---|
| 509 | <!--{assign var=key value="shipping_id"}--> |
---|
| 510 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|default:"0"|h}-->" id="<!--{$key}-->_<!--{$shipping_index}-->" /> |
---|
| 511 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
| 512 | <!--{assign var=product_quantity value="shipping_product_quantity"}--> |
---|
| 513 | <input type="hidden" name="<!--{$product_quantity}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$product_quantity]|h}-->" /> |
---|
| 514 | |
---|
| 515 | <!--{if count($arrShipping.shipment_product_class_id) > 0}--> |
---|
| 516 | <table class="list" id="order-edit-products"> |
---|
| 517 | <tr> |
---|
| 518 | <th class="id"><!--{t string="tpl_Product code_01"}--></th> |
---|
| 519 | <th class="name"><!--{t string="tpl_Product name_01"}-->/<!--{t string="tpl_Standard 1_01"}-->/<!--{t string="tpl_Standard 2_01"}--></th> |
---|
| 520 | <th class="price"><!--{t string="tpl_Unit price_01"}--></th> |
---|
| 521 | <th class="qty"><!--{t string="tpl_Quantity_01"}--></th> |
---|
| 522 | </tr> |
---|
| 523 | <!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}--> |
---|
| 524 | <!--{assign var=item_index value="`$smarty.section.item.index`"}--> |
---|
| 525 | |
---|
| 526 | <tr> |
---|
| 527 | <td> |
---|
| 528 | <!--{assign var=key value="shipment_product_class_id"}--> |
---|
| 529 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
| 530 | <!--{assign var=key value="shipment_product_code"}--> |
---|
| 531 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
| 532 | <!--{$arrShipping[$key][$item_index]|h}--> |
---|
| 533 | </td> |
---|
| 534 | <td> |
---|
| 535 | <!--{assign var=key1 value="shipment_product_name"}--> |
---|
| 536 | <!--{assign var=key2 value="shipment_classcategory_name1"}--> |
---|
| 537 | <!--{assign var=key3 value="shipment_classcategory_name2"}--> |
---|
| 538 | <input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key1][$item_index]|h}-->" /> |
---|
| 539 | <input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key2][$item_index]|h}-->" /> |
---|
| 540 | <input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key3][$item_index]|h}-->" /> |
---|
| 541 | <!--{$arrShipping[$key1][$item_index]|h}-->/<!--{$arrShipping[$key2][$item_index]|default_t:"tpl_(None)_01"|h}-->/<!--{$arrShipping[$key3][$item_index]|default_t:"tpl_(None)_01"|h}--> |
---|
| 542 | </td> |
---|
| 543 | <td class="right"> |
---|
| 544 | <!--{assign var=key value="shipment_price"}--> |
---|
| 545 | <!--{t string="tpl_$ T_ARG1_01" escape="none" T_ARG1=$arrShipping[$key][$item_index]|sfCalcIncTax|number_format}--> |
---|
| 546 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
| 547 | </td> |
---|
| 548 | <td class="right"> |
---|
| 549 | <!--{assign var=key value="shipment_quantity"}--> |
---|
| 550 | <!--{$arrShipping[$key][$item_index]|h}--> |
---|
| 551 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
| 552 | </td> |
---|
| 553 | </tr> |
---|
| 554 | <!--{/section}--> |
---|
| 555 | </table> |
---|
| 556 | <!--{/if}--> |
---|
| 557 | <!--{/if}--> |
---|
| 558 | |
---|
| 559 | <table class="form"> |
---|
| 560 | <tr> |
---|
| 561 | <th><!--{t string="tpl_Name_02"}--></th> |
---|
| 562 | <td> |
---|
| 563 | <!--{assign var=key1 value="shipping_name01"}--> |
---|
| 564 | <!--{assign var=key2 value="shipping_name02"}--> |
---|
| 565 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
| 566 | <input type="text" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
| 567 | <input type="text" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
| 568 | </td> |
---|
| 569 | </tr> |
---|
| 570 | <tr> |
---|
| 571 | <th><!--{t string="tpl_Phone Number_01"}--></th> |
---|
| 572 | <td> |
---|
| 573 | <!--{assign var=key1 value="shipping_tel01"}--> |
---|
| 574 | <!--{assign var=key2 value="shipping_tel02"}--> |
---|
| 575 | <!--{assign var=key3 value="shipping_tel03"}--> |
---|
| 576 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
| 577 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
| 578 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
| 579 | <input type="text" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 580 | <input type="text" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 581 | <input type="text" name="<!--{$key3}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key3]|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 582 | </td> |
---|
| 583 | </tr> |
---|
| 584 | <tr> |
---|
| 585 | <th><!--{t string="tpl_FAX_01"}--></th> |
---|
| 586 | <td> |
---|
| 587 | <!--{assign var=key1 value="shipping_fax01"}--> |
---|
| 588 | <!--{assign var=key2 value="shipping_fax02"}--> |
---|
| 589 | <!--{assign var=key3 value="shipping_fax03"}--> |
---|
| 590 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
| 591 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
| 592 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
| 593 | <input type="text" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 594 | <input type="text" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
| 595 | <input type="text" name="<!--{$key3}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key3]|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 596 | </td> |
---|
| 597 | </tr> |
---|
| 598 | <tr> |
---|
| 599 | <th><!--{t string="tpl_Address_01"}--></th> |
---|
| 600 | <td> |
---|
| 601 | <!--{* <!--{assign var=key1 value="shipping_zip01"}--> *}--> |
---|
| 602 | <!--{* <!--{assign var=key2 value="shipping_zip02"}--> *}--> |
---|
| 603 | <!--{assign var=key value="shipping_zipcode"}--> |
---|
| 604 | |
---|
| 605 | <!--{* <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--><!--{$arrErr[$key2][$shipping_index]}--></span> *}--> |
---|
| 606 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
| 607 | |
---|
| 608 | <!--{t string="tpl_Postal code mark_01"}--> |
---|
| 609 | <!--{* |
---|
| 610 | <input type="text" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 611 | - |
---|
| 612 | <input type="text" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
| 613 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'shipping_zip01[<!--{$shipping_index}-->]', 'shipping_zip02[<!--{$shipping_index}-->]', 'shipping_pref[<!--{$shipping_index}-->]', 'shipping_addr01[<!--{$shipping_index}-->]'); return false;"><!--{t string="tpl_Address input_01"}--></a><br /> |
---|
| 614 | *}--> |
---|
| 615 | <input type="text" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->" size="15" class="box10" /> |
---|
| 616 | |
---|
| 617 | <!--{assign var=key value="shipping_addr01"}--> |
---|
| 618 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
| 619 | <input type="text" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|h}-->" size="60" class="box60 top" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->" /><br /> |
---|
| 620 | <!--{assign var=key value="shipping_addr02"}--> |
---|
| 621 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
| 622 | <input type="text" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|h}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->" /> |
---|
| 623 | </td> |
---|
| 624 | </tr> |
---|
| 625 | <tr> |
---|
| 626 | <th><!--{t string="tpl_Delivery time_01"}--></th> |
---|
| 627 | <td> |
---|
| 628 | <!--{assign var=key value="time_id"}--> |
---|
| 629 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
| 630 | <select name="<!--{$key}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->"> |
---|
| 631 | <option value="" selected="0"><!--{t string="tpl_No designation_01"}--></option> |
---|
| 632 | <!--{html_options options=$arrDelivTime selected=$arrShipping[$key]}--> |
---|
| 633 | </select> |
---|
| 634 | </td> |
---|
| 635 | </tr> |
---|
| 636 | <tr> |
---|
| 637 | <th><!--{t string="tpl_Delivery date_01"}--></th> |
---|
| 638 | <td> |
---|
| 639 | <!--{assign var=key1 value="shipping_date_year"}--> |
---|
| 640 | <!--{assign var=key2 value="shipping_date_month"}--> |
---|
| 641 | <!--{assign var=key3 value="shipping_date_day"}--> |
---|
| 642 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
| 643 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
| 644 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
| 645 | |
---|
| 646 | <input id="datepickershipping_date<!--{$shipping_index}-->" |
---|
| 647 | type="text" |
---|
| 648 | value="" <!--{if $arrErr[$key1][$shipping_index] != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 649 | <input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|default:""}-->" /> |
---|
| 650 | <input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|default:""}-->" /> |
---|
| 651 | <input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key3]|default:""}-->" /> |
---|
| 652 | </td> |
---|
| 653 | </tr> |
---|
| 654 | |
---|
| 655 | </table> |
---|
| 656 | <!--{/foreach}--> |
---|
| 657 | <!--▲お届け先情報ここまで--> |
---|
| 658 | |
---|
| 659 | <a name="deliv"></a> |
---|
| 660 | <table class="form"> |
---|
| 661 | <tr> |
---|
| 662 | <th><!--{t string="tpl_Delivery company_01"}--><br /><span class="attention"><!--{t string="tpl_(Due to changes in shipping companies, please manually select a shipping method.)_01"}--></span></th> |
---|
| 663 | <td> |
---|
| 664 | <!--{assign var=key value="deliv_id"}--> |
---|
| 665 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 666 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('deliv','anchor_key','deliv');"> |
---|
| 667 | <option value="" selected=""><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
| 668 | <!--{html_options options=$arrDeliv selected=$arrForm[$key].value}--> |
---|
| 669 | </select> |
---|
| 670 | </td> |
---|
| 671 | </tr> |
---|
| 672 | <tr> |
---|
| 673 | <th><!--{t string="tpl_Payment method_01"}--><br /><span class="attention"><!--{t string="tpl_(Due to changes in payment, please manually select a fee.)_01"}--></span></th> |
---|
| 674 | <td> |
---|
| 675 | <!--{assign var=key value="payment_id"}--> |
---|
| 676 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 677 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('payment','anchor_key','deliv');"> |
---|
| 678 | <option value="" selected=""><!--{t string="tpl_Please make a selection_01"}--></option> |
---|
| 679 | <!--{html_options options=$arrPayment selected=$arrForm[$key].value}--> |
---|
| 680 | </select> |
---|
| 681 | </td> |
---|
| 682 | </tr> |
---|
| 683 | |
---|
| 684 | <!--{if $arrForm.payment_info|@count > 0}--> |
---|
| 685 | <tr> |
---|
| 686 | <th><!--{t string="tpl_T_ARG1 information_01" T_ARG1=$arrForm.payment_type}--></th> |
---|
| 687 | <td> |
---|
| 688 | <!--{foreach key=key item=item from=$arrForm.payment_info}--> |
---|
| 689 | <!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{t string="tpl_T_ARG1:_01" T_ARG1=$item.name}--><!--{/if}--><!--{$item.value}--><br/><!--{/if}--> |
---|
| 690 | <!--{/foreach}--> |
---|
| 691 | </td> |
---|
| 692 | </tr> |
---|
| 693 | <!--{/if}--> |
---|
| 694 | |
---|
| 695 | <tr> |
---|
| 696 | <th><!--{t string="tpl_Memo_01"}--></th> |
---|
| 697 | <td> |
---|
| 698 | <!--{assign var=key value="note"}--> |
---|
| 699 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 700 | <textarea name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" cols="80" rows="6" class="area80" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea> |
---|
| 701 | </td> |
---|
| 702 | </tr> |
---|
| 703 | </table> |
---|
| 704 | <!--▲受注商品情報ここまで--> |
---|
| 705 | |
---|
| 706 | <div class="btn-area"> |
---|
| 707 | <ul> |
---|
| 708 | <!--{if count($arrSearchHidden) > 0}--> |
---|
| 709 | <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev"><!--{t string="tpl_Return to search screen_01"}--></span></a></li> |
---|
| 710 | <!--{/if}--> |
---|
| 711 | <li><a class="btn-action" href="javascript:;" onclick="return fnFormConfirm(); return false;"><span class="btn-next"><!--{t string="tpl_Save and continue_01"}--></span></a></li> |
---|
| 712 | </ul> |
---|
| 713 | </div> |
---|
| 714 | </div> |
---|
| 715 | <div id="multiple"></div> |
---|
| 716 | </form> |
---|