1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | |
---|
25 | <script type="text/javascript"> |
---|
26 | <!-- |
---|
27 | function 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_kana01'+shipping_key].value = df.order_kana01.value; |
---|
50 | df['shipping_kana02'+shipping_key].value = df.order_kana02.value; |
---|
51 | df['shipping_zip01'+shipping_key].value = df.order_zip01.value; |
---|
52 | df['shipping_zip02'+shipping_key].value = df.order_zip02.value; |
---|
53 | df['shipping_tel01'+shipping_key].value = df.order_tel01.value; |
---|
54 | df['shipping_tel02'+shipping_key].value = df.order_tel02.value; |
---|
55 | df['shipping_tel03'+shipping_key].value = df.order_tel03.value; |
---|
56 | df['shipping_fax01'+shipping_key].value = df.order_fax01.value; |
---|
57 | df['shipping_fax02'+shipping_key].value = df.order_fax02.value; |
---|
58 | df['shipping_fax03'+shipping_key].value = df.order_fax03.value; |
---|
59 | df['shipping_addr01'+shipping_key].value = df.order_addr01.value; |
---|
60 | df['shipping_addr02'+shipping_key].value = df.order_addr02.value; |
---|
61 | df['shipping_pref'+shipping_key].value = df.order_pref.value; |
---|
62 | } |
---|
63 | |
---|
64 | function fnFormConfirm() { |
---|
65 | if (fnConfirm()) { |
---|
66 | document.form1.submit(); |
---|
67 | } |
---|
68 | } |
---|
69 | |
---|
70 | function fnMultiple() { |
---|
71 | win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500'); |
---|
72 | document.form1.anchor_key.value = "shipping"; |
---|
73 | document.form1.mode.value = "multiple"; |
---|
74 | document.form1.submit(); |
---|
75 | return false; |
---|
76 | } |
---|
77 | |
---|
78 | function fnAppendShipping() { |
---|
79 | document.form1.anchor_key.value = "shipping"; |
---|
80 | document.form1.mode.value = "append_shipping"; |
---|
81 | document.form1.submit(); |
---|
82 | return false; |
---|
83 | } |
---|
84 | |
---|
85 | $(document).ready(function() { |
---|
86 | if(<!--{$arrForm.shipping_quantity.value}--> > 1){ |
---|
87 | $("input[name^='quantity[']").attr("disabled","disabled"); |
---|
88 | } |
---|
89 | }); |
---|
90 | |
---|
91 | function quantityCopyForSingleShipping(product_index){ |
---|
92 | var product_index = parseInt(product_index); |
---|
93 | var input_quantity = $('input[name^="quantity[' + product_index + ']"]').val(); |
---|
94 | $('input[name^="shipment_quantity[0][' + product_index + ']"]').val(input_quantity); |
---|
95 | } |
---|
96 | |
---|
97 | //--> |
---|
98 | </script> |
---|
99 | <form name="form1" id="form1" method="post" action="?"> |
---|
100 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
101 | <input type="hidden" name="mode" value="<!--{$tpl_mode|default:"edit"|h}-->" /> |
---|
102 | <input type="hidden" name="order_id" value="<!--{$arrForm.order_id.value|h}-->" /> |
---|
103 | <input type="hidden" name="edit_customer_id" value="" /> |
---|
104 | <input type="hidden" name="anchor_key" value="" /> |
---|
105 | <input type="hidden" id="add_product_id" name="add_product_id" value="" /> |
---|
106 | <input type="hidden" id="add_product_class_id" name="add_product_class_id" value="" /> |
---|
107 | <input type="hidden" id="select_shipping_id" name="select_shipping_id" value="" /> |
---|
108 | <input type="hidden" id="edit_product_id" name="edit_product_id" value="" /> |
---|
109 | <input type="hidden" id="edit_product_class_id" name="edit_product_class_id" value="" /> |
---|
110 | <input type="hidden" id="no" name="no" value="" /> |
---|
111 | <input type="hidden" id="delete_no" name="delete_no" value="" /> |
---|
112 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
113 | <!--{if is_array($item)}--> |
---|
114 | <!--{foreach item=c_item from=$item}--> |
---|
115 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
116 | <!--{/foreach}--> |
---|
117 | <!--{else}--> |
---|
118 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
119 | <!--{/if}--> |
---|
120 | <!--{/foreach}--> |
---|
121 | |
---|
122 | <div id="order" class="contents-main"> |
---|
123 | |
---|
124 | <!--▼お客様情報ここから--> |
---|
125 | <table class="form"> |
---|
126 | <!--{if $tpl_mode != 'add'}--> |
---|
127 | <tr> |
---|
128 | <th>帳票出力</th> |
---|
129 | <td><a class="btn-normal" href="javascript:;" onclick="win02('pdf.php?order_id=<!--{$arrForm.order_id.value|h}-->','pdf_input','615','650'); return false;">帳票出力</a></td> |
---|
130 | </tr> |
---|
131 | <!--{/if}--> |
---|
132 | <tr> |
---|
133 | <th>注文番号</th> |
---|
134 | <td><!--{$arrForm.order_id.value|h}--></td> |
---|
135 | </tr> |
---|
136 | <tr> |
---|
137 | <th>受注日</th> |
---|
138 | <td><!--{$arrForm.create_date.value|sfDispDBDate|h}--><input type="hidden" name="create_date" value="<!--{$arrForm.create_date.value|h}-->" /></td> |
---|
139 | </tr> |
---|
140 | <tr> |
---|
141 | <th>対応状況</th> |
---|
142 | <td> |
---|
143 | <!--{assign var=key value="status"}--> |
---|
144 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
145 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
146 | <option value="">選択してください</option> |
---|
147 | <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}--> |
---|
148 | </select><br /> |
---|
149 | <!--{if $smarty.get.mode != 'add'}--> |
---|
150 | <span class="attention">※ <!--{$arrORDERSTATUS[$smarty.const.ORDER_CANCEL]}-->に変更時には、在庫数を手動で戻してください。</span> |
---|
151 | <!--{/if}--> |
---|
152 | </td> |
---|
153 | </tr> |
---|
154 | <tr> |
---|
155 | <th>入金日</th> |
---|
156 | <td><!--{$arrForm.payment_date.value|sfDispDBDate|default:"未入金"|h}--></td> |
---|
157 | </tr> |
---|
158 | <tr> |
---|
159 | <th>発送日</th> |
---|
160 | <td><!--{$arrForm.commit_date.value|sfDispDBDate|default:"未発送"|h}--></td> |
---|
161 | </tr> |
---|
162 | </table> |
---|
163 | |
---|
164 | <h2>注文者情報 |
---|
165 | <!--{if $tpl_mode == 'add'}--> |
---|
166 | <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;">会員検索</a> |
---|
167 | <!--{/if}--> |
---|
168 | </h2> |
---|
169 | <table class="form"> |
---|
170 | <tr> |
---|
171 | <th>会員ID</th> |
---|
172 | <td> |
---|
173 | <!--{if $arrForm.customer_id.value > 0}--> |
---|
174 | <!--{$arrForm.customer_id.value|h}--> |
---|
175 | <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id.value|h}-->" /> |
---|
176 | <!--{else}--> |
---|
177 | (非会員) |
---|
178 | <!--{/if}--> |
---|
179 | </td> |
---|
180 | </tr> |
---|
181 | <tr> |
---|
182 | <th>お名前</th> |
---|
183 | <td> |
---|
184 | <!--{assign var=key1 value="order_name01"}--> |
---|
185 | <!--{assign var=key2 value="order_name02"}--> |
---|
186 | <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span> |
---|
187 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
188 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
189 | </td> |
---|
190 | </tr> |
---|
191 | <tr> |
---|
192 | <th>お名前(フリガナ)</th> |
---|
193 | <td> |
---|
194 | <!--{assign var=key1 value="order_kana01"}--> |
---|
195 | <!--{assign var=key2 value="order_kana02"}--> |
---|
196 | <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span> |
---|
197 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
198 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" /> |
---|
199 | </td> |
---|
200 | </tr> |
---|
201 | <tr> |
---|
202 | <th>会社名</th> |
---|
203 | <td> |
---|
204 | <!--{assign var=key1 value="order_company_name"}--> |
---|
205 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
206 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
207 | </td> |
---|
208 | </tr> |
---|
209 | <tr> |
---|
210 | <th>メールアドレス</th> |
---|
211 | <td> |
---|
212 | <!--{assign var=key1 value="order_email"}--> |
---|
213 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
214 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
215 | </td> |
---|
216 | </tr> |
---|
217 | <tr> |
---|
218 | <th>TEL</th> |
---|
219 | <td> |
---|
220 | <!--{assign var=key1 value="order_tel01"}--> |
---|
221 | <!--{assign var=key2 value="order_tel02"}--> |
---|
222 | <!--{assign var=key3 value="order_tel03"}--> |
---|
223 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
224 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
225 | <span class="attention"><!--{$arrErr[$key3]}--></span> |
---|
226 | <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
227 | <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
228 | <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | <tr> |
---|
232 | <th>FAX</th> |
---|
233 | <td> |
---|
234 | <!--{assign var=key1 value="order_fax01"}--> |
---|
235 | <!--{assign var=key2 value="order_fax02"}--> |
---|
236 | <!--{assign var=key3 value="order_fax03"}--> |
---|
237 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
238 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
239 | <span class="attention"><!--{$arrErr[$key3]}--></span> |
---|
240 | <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
241 | <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> - |
---|
242 | <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
243 | </td> |
---|
244 | </tr> |
---|
245 | <!--{assign var=key1 value="order_country_id"}--> |
---|
246 | <!--{assign var=key2 value="order_zipcode"}--> |
---|
247 | <!--{if !$smarty.const.FORM_COUNTRY_ENABLE}--> |
---|
248 | <input type="hidden" name="<!--{$key1}-->" value="<!--{$smarty.const.DEFAULT_COUNTRY_ID}-->" /> |
---|
249 | <!--{else}--> |
---|
250 | <tr> |
---|
251 | <th>国</th> |
---|
252 | <td> |
---|
253 | <span class="attention"><!--{$arrErr[$key1]}--></span> |
---|
254 | <select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"> |
---|
255 | <option value="" selected="selected">国を選択</option> |
---|
256 | <!--{html_options options=$arrCountry selected=$arrForm[$key1].value|default:$smarty.const.DEFAULT_COUNTRY_ID}--> |
---|
257 | </select> |
---|
258 | </td> |
---|
259 | </tr> |
---|
260 | <tr> |
---|
261 | <th>ZIP CODE</th> |
---|
262 | <td> |
---|
263 | <span class="attention"><!--{$arrErr[$key2]}--></span> |
---|
264 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->;" size="15" class="box15"/> |
---|
265 | </td> |
---|
266 | </tr> |
---|
267 | <!--{/if}--> |
---|
268 | |
---|
269 | <tr> |
---|
270 | <th>住所</th> |
---|
271 | <td> |
---|
272 | <!--{assign var=key1 value="order_zip01"}--> |
---|
273 | <!--{assign var=key2 value="order_zip02"}--> |
---|
274 | <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span> |
---|
275 | 〒 |
---|
276 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
277 | - |
---|
278 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> |
---|
279 | <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;">住所入力</a><br /> |
---|
280 | <!--{assign var=key value="order_pref"}--> |
---|
281 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
282 | <select class="top" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
283 | <option value="" selected="">都道府県を選択</option> |
---|
284 | <!--{html_options options=$arrPref selected=$arrForm[$key].value}--> |
---|
285 | </select><br /> |
---|
286 | <!--{assign var=key value="order_addr01"}--> |
---|
287 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
288 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" size="60" class="box60 top" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /><br /> |
---|
289 | <!--{assign var=key value="order_addr02"}--> |
---|
290 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
291 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
292 | </td> |
---|
293 | </tr> |
---|
294 | <tr> |
---|
295 | <th>備考</th> |
---|
296 | <td><!--{$arrForm.message.value|h|nl2br}--></td> |
---|
297 | </tr> |
---|
298 | <tr> |
---|
299 | <th>現在ポイント</th> |
---|
300 | <td> |
---|
301 | <!--{if $arrForm.customer_id > 0}--> |
---|
302 | <!--{$arrForm.customer_point.value|number_format}--> |
---|
303 | pt |
---|
304 | <!--{else}--> |
---|
305 | (非会員) |
---|
306 | <!--{/if}--> |
---|
307 | </td> |
---|
308 | </tr> |
---|
309 | <tr> |
---|
310 | <th>端末種別</th> |
---|
311 | <td><!--{$arrDeviceType[$arrForm.device_type_id.value]|h}--></td> |
---|
312 | </tr> |
---|
313 | |
---|
314 | </table> |
---|
315 | <!--▲お客様情報ここまで--> |
---|
316 | |
---|
317 | <!--▼受注商品情報ここから--> |
---|
318 | <a name="order_products"></a> |
---|
319 | <h2 id="order_products"> |
---|
320 | 受注商品情報 |
---|
321 | <a class="btn-normal" href="javascript:;" name="recalculate" onclick="fnModeSubmit('recalculate','anchor_key','order_products');">計算結果の確認</a> |
---|
322 | <!--{if $arrForm.shipping_quantity.value <= 1}--> |
---|
323 | <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}-->&shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500'); return false;">商品の追加</a> |
---|
324 | <!--{/if}--> |
---|
325 | </h2> |
---|
326 | |
---|
327 | <!--{if $arrErr.product_id}--> |
---|
328 | <span class="attention">※ 商品が選択されていません。</span> |
---|
329 | <!--{/if}--> |
---|
330 | |
---|
331 | <table class="list order-edit-products"> |
---|
332 | <tr> |
---|
333 | <th class="id">商品コード</th> |
---|
334 | <th class="name">商品名/規格1/規格2</th> |
---|
335 | <th class="price">単価</th> |
---|
336 | <th class="qty">数量</th> |
---|
337 | <th class="price">税込み価格</th> |
---|
338 | <th class="price">小計</th> |
---|
339 | </tr> |
---|
340 | <!--{section name=cnt loop=$arrForm.quantity.value}--> |
---|
341 | <!--{assign var=product_index value="`$smarty.section.cnt.index`"}--> |
---|
342 | <tr> |
---|
343 | <td> |
---|
344 | <!--{$arrForm.product_code.value[$product_index]|h}--> |
---|
345 | <input type="hidden" name="product_code[<!--{$product_index}-->]" value="<!--{$arrForm.product_code.value[$product_index]|h}-->" id="product_code_<!--{$product_index}-->" /> |
---|
346 | </td> |
---|
347 | <td> |
---|
348 | <!--{$arrForm.product_name.value[$product_index]|h}-->/<!--{$arrForm.classcategory_name1.value[$product_index]|default:"(なし)"|h}-->/<!--{$arrForm.classcategory_name2.value[$product_index]|default:"(なし)"|h}--> |
---|
349 | <input type="hidden" name="product_name[<!--{$product_index}-->]" value="<!--{$arrForm.product_name.value[$product_index]|h}-->" id="product_name_<!--{$product_index}-->" /> |
---|
350 | <input type="hidden" name="classcategory_name1[<!--{$product_index}-->]" value="<!--{$arrForm.classcategory_name1.value[$product_index]|h}-->" id="classcategory_name1_<!--{$product_index}-->" /> |
---|
351 | <input type="hidden" name="classcategory_name2[<!--{$product_index}-->]" value="<!--{$arrForm.classcategory_name2.value[$product_index]|h}-->" id="classcategory_name2_<!--{$product_index}-->" /> |
---|
352 | <br /> |
---|
353 | <!--{if $arrForm.shipping_quantity.value <= 1}--> |
---|
354 | <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}-->&shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500'); return false;">変更</a> |
---|
355 | <!--{if count($arrForm.quantity.value) > 1}--> |
---|
356 | <a class="btn-normal" href="javascript:;" name="delete" onclick="fnSetFormVal('form1', 'delete_no', <!--{$product_index}-->); fnSetFormVal('form1', 'select_shipping_id', '<!--{$top_shipping_id}-->'); fnModeSubmit('delete_product','anchor_key','order_products'); return false;">削除</a> |
---|
357 | <!--{/if}--> |
---|
358 | <!--{/if}--> |
---|
359 | <input type="hidden" name="product_type_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_type_id.value[$product_index]|h}-->" id="product_type_id_<!--{$product_index}-->" /> |
---|
360 | <input type="hidden" name="product_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_id.value[$product_index]|h}-->" id="product_id_<!--{$product_index}-->" /> |
---|
361 | <input type="hidden" name="product_class_id[<!--{$product_index}-->]" value="<!--{$arrForm.product_class_id.value[$product_index]|h}-->" id="product_class_id_<!--{$product_index}-->" /> |
---|
362 | <input type="hidden" name="point_rate[<!--{$product_index}-->]" value="<!--{$arrForm.point_rate.value[$product_index]|h}-->" id="point_rate_<!--{$product_index}-->" /> |
---|
363 | </td> |
---|
364 | <td align="center"> |
---|
365 | <!--{assign var=key value="price"}--> |
---|
366 | <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> |
---|
367 | <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}-->" /> 円 |
---|
368 | </td> |
---|
369 | <td align="center"> |
---|
370 | <!--{assign var=key value="quantity"}--> |
---|
371 | <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> |
---|
372 | <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}-->" onChange="quantityCopyForSingleShipping('<!--{$product_index}-->')" /> |
---|
373 | </td> |
---|
374 | <!--{assign var=price value=`$arrForm.price.value[$product_index]`}--> |
---|
375 | <!--{assign var=quantity value=`$arrForm.quantity.value[$product_index]`}--> |
---|
376 | <!--{assign var=tax_rate value=`$arrForm.tax_rate.value[$product_index]`}--> |
---|
377 | <!--{assign var=tax_rule value=`$arrForm.tax_rule.value[$product_index]`}--> |
---|
378 | <input type="hidden" name="tax_rule[<!--{$product_index}-->]" value="<!--{$arrForm.tax_rule.value[$product_index]|h}-->" id="tax_rule_<!--{$product_index}-->" /> |
---|
379 | |
---|
380 | <td class="right"> |
---|
381 | <!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|number_format}--> 円<br /> |
---|
382 | <!--{assign var=key value="tax_rate"}--> |
---|
383 | <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> |
---|
384 | 税率<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}-->" />% |
---|
385 | </td> |
---|
386 | <td class="right"><!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|sfMultiply:$quantity|number_format}-->円</td> |
---|
387 | </tr> |
---|
388 | <!--{/section}--> |
---|
389 | <tr> |
---|
390 | <th colspan="5" class="column right">小計</th> |
---|
391 | <td class="right"><!--{$arrForm.subtotal.value|number_format}-->円</td> |
---|
392 | </tr> |
---|
393 | <tr> |
---|
394 | <th colspan="5" class="column right">値引き</th> |
---|
395 | <td class="right"> |
---|
396 | <!--{assign var=key value="discount"}--> |
---|
397 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
398 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
399 | 円 |
---|
400 | </td> |
---|
401 | </tr> |
---|
402 | <tr> |
---|
403 | <th colspan="5" class="column right">送料</th> |
---|
404 | <td class="right"> |
---|
405 | <!--{assign var=key value="deliv_fee"}--> |
---|
406 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
407 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
408 | 円 |
---|
409 | </td> |
---|
410 | </tr> |
---|
411 | <tr> |
---|
412 | <th colspan="5" class="column right">手数料</th> |
---|
413 | <td class="right"> |
---|
414 | <!--{assign var=key value="charge"}--> |
---|
415 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
416 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
417 | 円 |
---|
418 | </td> |
---|
419 | </tr> |
---|
420 | <tr> |
---|
421 | <th colspan="5" class="column right">合計</th> |
---|
422 | <td class="right"> |
---|
423 | <span class="attention"><!--{$arrErr.total}--></span> |
---|
424 | <!--{$arrForm.total.value|number_format}--> 円 |
---|
425 | </td> |
---|
426 | </tr> |
---|
427 | <tr> |
---|
428 | <th colspan="5" class="column right">お支払い合計</th> |
---|
429 | <td class="right"> |
---|
430 | <span class="attention"><!--{$arrErr.payment_total}--></span> |
---|
431 | <!--{$arrForm.payment_total.value|number_format}--> |
---|
432 | 円 |
---|
433 | </td> |
---|
434 | </tr> |
---|
435 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
436 | <tr> |
---|
437 | <th colspan="5" class="column right">使用ポイント</th> |
---|
438 | <td class="right"> |
---|
439 | <!--{assign var=key value="use_point"}--> |
---|
440 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
441 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:0|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="box6" /> |
---|
442 | pt |
---|
443 | </td> |
---|
444 | </tr> |
---|
445 | <!--{if $arrForm.birth_point.value > 0}--> |
---|
446 | <tr> |
---|
447 | <th colspan="5" class="column right">お誕生日ポイント</th> |
---|
448 | <td class="right"> |
---|
449 | <!--{assign var=key value="birth_point"}--> |
---|
450 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->"/> |
---|
451 | <!--{$arrForm.birth_point.value|number_format}--> |
---|
452 | pt |
---|
453 | </td> |
---|
454 | </tr> |
---|
455 | <!--{/if}--> |
---|
456 | <tr> |
---|
457 | <th colspan="5" class="column right">加算ポイント</th> |
---|
458 | <td class="right"> |
---|
459 | <!--{$arrForm.add_point.value|number_format|default:0}--> |
---|
460 | pt |
---|
461 | </td> |
---|
462 | </tr> |
---|
463 | <!--{/if}--> |
---|
464 | </table> |
---|
465 | <!--{assign var=key value="shipping_quantity"}--> |
---|
466 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" /> |
---|
467 | <!--▼お届け先情報ここから--> |
---|
468 | <a name="shipping"></a> |
---|
469 | <h2>お届け先情報 |
---|
470 | <!--{if $arrForm.shipping_quantity.value <= 1}--> |
---|
471 | <a class="btn-normal" href="javascript:;" onclick="fnCopyFromOrderData();">お客様情報へお届けする</a> |
---|
472 | <!--{/if}--> |
---|
473 | <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}--> |
---|
474 | <a class="btn-normal" href="javascript:;" onclick="fnAppendShipping();">お届け先を新規追加</a> |
---|
475 | <a class="btn-normal" href="javascript:;" onclick="fnMultiple();">複数のお届け先を指定する</a> |
---|
476 | <!--{/if}--> |
---|
477 | </h2> |
---|
478 | |
---|
479 | <!--{foreach name=shipping from=$arrAllShipping item=arrShipping key=shipping_index}--> |
---|
480 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
481 | <h3>お届け先<!--{$smarty.foreach.shipping.iteration}--></h3> |
---|
482 | <!--{/if}--> |
---|
483 | <!--{assign var=key value="shipping_id"}--> |
---|
484 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|default:"0"|h}-->" id="<!--{$key}-->_<!--{$shipping_index}-->" /> |
---|
485 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
486 | <h2>届け先商品情報 <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}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500'); return false;">商品の追加</a> |
---|
487 | </h2> |
---|
488 | <!--{assign var=product_quantity value="shipping_product_quantity"}--> |
---|
489 | <input type="hidden" name="<!--{$product_quantity}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$product_quantity]|h}-->" /> |
---|
490 | |
---|
491 | <!--{if count($arrShipping.shipment_product_class_id) > 0}--> |
---|
492 | <table class="list order-edit-products"> |
---|
493 | <tr> |
---|
494 | <th class="id">商品コード</th> |
---|
495 | <th class="name">商品名/規格1/規格2</th> |
---|
496 | <th class="price">単価</th> |
---|
497 | <th class="qty">数量</th> |
---|
498 | </tr> |
---|
499 | <!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}--> |
---|
500 | <!--{assign var=item_index value="`$smarty.section.item.index`"}--> |
---|
501 | |
---|
502 | <tr> |
---|
503 | <td> |
---|
504 | <!--{assign var=key value="shipment_product_class_id"}--> |
---|
505 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
506 | <!--{assign var=key value="shipment_product_code"}--> |
---|
507 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
508 | <!--{$arrShipping[$key][$item_index]|h}--> |
---|
509 | </td> |
---|
510 | <td> |
---|
511 | <!--{assign var=key1 value="shipment_product_name"}--> |
---|
512 | <!--{assign var=key2 value="shipment_classcategory_name1"}--> |
---|
513 | <!--{assign var=key3 value="shipment_classcategory_name2"}--> |
---|
514 | <input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key1][$item_index]|h}-->" /> |
---|
515 | <input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key2][$item_index]|h}-->" /> |
---|
516 | <input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key3][$item_index]|h}-->" /> |
---|
517 | <!--{$arrShipping[$key1][$item_index]|h}-->/<!--{$arrShipping[$key2][$item_index]|default:"(なし)"|h}-->/<!--{$arrShipping[$key3][$item_index]|default:"(なし)"|h}--> |
---|
518 | <br /> |
---|
519 | <a class="btn-normal" href="javascript:;" name="change" onclick="win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$item_index}-->&order_id=<!--{$arrForm.order_id.value|h}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500'); return false;">変更</a> |
---|
520 | <!--{if count($arrForm.quantity.value) > 1}--> |
---|
521 | <a class="btn-normal" href="javascript:;" name="delete" onclick="fnSetFormVal('form1', 'delete_no', <!--{$item_index}-->);fnSetFormVal('form1', 'select_shipping_id', <!--{$shipping_index}-->); fnModeSubmit('delete_product','anchor_key','order_products'); return false;">削除</a> |
---|
522 | <!--{/if}--> |
---|
523 | </td> |
---|
524 | <td class="right"> |
---|
525 | <!--{assign var=key value="shipment_price"}--> |
---|
526 | <!--{$arrShipping[$key][$item_index]|sfCalcIncTax:$arrForm.order_tax_rate.value:$arrForm.order_tax_rule.value|number_format}-->円 |
---|
527 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
528 | </td> |
---|
529 | <td class="right"> |
---|
530 | <!--{assign var=key value="shipment_quantity"}--> |
---|
531 | <span class="attention"><!--{$arrErr[$key][$shipping_index][$item_index]}--></span> |
---|
532 | <input type="text" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" size="3" class="box3" maxlength="<!--{$arrForm[$key].length}-->" /> |
---|
533 | </td> |
---|
534 | </tr> |
---|
535 | <!--{/section}--> |
---|
536 | </table> |
---|
537 | <!--{/if}--> |
---|
538 | <!--{else}--> |
---|
539 | <!-- 配送先が1つでも、shipment_itemを更新するために必要 --> |
---|
540 | <!--{assign var=product_quantity value="shipping_product_quantity"}--> |
---|
541 | <input type="hidden" name="<!--{$product_quantity}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$product_quantity]|h}-->" /> |
---|
542 | <!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}--> |
---|
543 | <!--{assign var=item_index value="`$smarty.section.item.index`"}--> |
---|
544 | <!--{assign var=key value="shipment_product_class_id"}--> |
---|
545 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
546 | <!--{assign var=key value="shipment_product_code"}--> |
---|
547 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
548 | <!--{assign var=key1 value="shipment_product_name"}--> |
---|
549 | <!--{assign var=key2 value="shipment_classcategory_name1"}--> |
---|
550 | <!--{assign var=key3 value="shipment_classcategory_name2"}--> |
---|
551 | <input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key1][$item_index]|h}-->" /> |
---|
552 | <input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key2][$item_index]|h}-->" /> |
---|
553 | <input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key3][$item_index]|h}-->" /> |
---|
554 | <!--{assign var=key value="shipment_price"}--> |
---|
555 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
556 | <!--{assign var=key value="shipment_quantity"}--> |
---|
557 | <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" /> |
---|
558 | <!--{/section}--> |
---|
559 | <!--{/if}--> |
---|
560 | |
---|
561 | <table class="form"> |
---|
562 | <tr> |
---|
563 | <th>お名前</th> |
---|
564 | <td> |
---|
565 | <!--{assign var=key1 value="shipping_name01"}--> |
---|
566 | <!--{assign var=key2 value="shipping_name02"}--> |
---|
567 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
568 | <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" /> |
---|
569 | <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" /> |
---|
570 | </td> |
---|
571 | </tr> |
---|
572 | <tr> |
---|
573 | <th>お名前(フリガナ)</th> |
---|
574 | <td> |
---|
575 | <!--{assign var=key1 value="shipping_kana01"}--> |
---|
576 | <!--{assign var=key2 value="shipping_kana02"}--> |
---|
577 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
578 | <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" /> |
---|
579 | <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" /> |
---|
580 | </td> |
---|
581 | </tr> |
---|
582 | <tr> |
---|
583 | <th>会社名</th> |
---|
584 | <td> |
---|
585 | <!--{assign var=key1 value="shipping_company_name"}--> |
---|
586 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
587 | <input type="text" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key1]|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
588 | </td> |
---|
589 | </tr> |
---|
590 | <tr> |
---|
591 | <th>TEL</th> |
---|
592 | <td> |
---|
593 | <!--{assign var=key1 value="shipping_tel01"}--> |
---|
594 | <!--{assign var=key2 value="shipping_tel02"}--> |
---|
595 | <!--{assign var=key3 value="shipping_tel03"}--> |
---|
596 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
597 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
598 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
599 | <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" /> - |
---|
600 | <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" /> - |
---|
601 | <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" /> |
---|
602 | </td> |
---|
603 | </tr> |
---|
604 | <tr> |
---|
605 | <th>FAX</th> |
---|
606 | <td> |
---|
607 | <!--{assign var=key1 value="shipping_fax01"}--> |
---|
608 | <!--{assign var=key2 value="shipping_fax02"}--> |
---|
609 | <!--{assign var=key3 value="shipping_fax03"}--> |
---|
610 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
611 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
612 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
613 | <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" /> - |
---|
614 | <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" /> - |
---|
615 | <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" /> |
---|
616 | </td> |
---|
617 | </tr> |
---|
618 | <!--{assign var=key1 value="shipping_country_id"}--> |
---|
619 | <!--{assign var=key2 value="shipping_zipcode"}--> |
---|
620 | <!--{if !$smarty.const.FORM_COUNTRY_ENABLE}--> |
---|
621 | <input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index}-->]" value="<!--{$smarty.const.DEFAULT_COUNTRY_ID}-->" /> |
---|
622 | <!--{else}--> |
---|
623 | <tr> |
---|
624 | <th>国</th> |
---|
625 | <td> |
---|
626 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
627 | <select name="<!--{$key1}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->"> |
---|
628 | <!--{html_options options=$arrCountry selected=$arrShipping[$key1]|default:$smarty.const.DEFAULT_COUNTRY_ID}--> |
---|
629 | </select> |
---|
630 | </td> |
---|
631 | </tr> |
---|
632 | <tr> |
---|
633 | <th>ZIP CODE</th> |
---|
634 | <td> |
---|
635 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
636 | <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"/> |
---|
637 | </td> |
---|
638 | </tr> |
---|
639 | <!--{/if}--> |
---|
640 | <tr> |
---|
641 | <th>住所</th> |
---|
642 | <td> |
---|
643 | <!--{assign var=key1 value="shipping_zip01"}--> |
---|
644 | <!--{assign var=key2 value="shipping_zip02"}--> |
---|
645 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
646 | 〒 |
---|
647 | <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" /> |
---|
648 | - |
---|
649 | <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" /> |
---|
650 | <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;">住所入力</a><br /> |
---|
651 | <!--{assign var=key value="shipping_pref"}--> |
---|
652 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
653 | <select class="top" name="<!--{$key}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->"> |
---|
654 | <option value="" selected="">都道府県を選択</option> |
---|
655 | <!--{html_options options=$arrPref selected=$arrShipping[$key]}--> |
---|
656 | </select><br /> |
---|
657 | <!--{assign var=key value="shipping_addr01"}--> |
---|
658 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
659 | <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 /> |
---|
660 | <!--{assign var=key value="shipping_addr02"}--> |
---|
661 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
662 | <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}-->" /> |
---|
663 | </td> |
---|
664 | </tr> |
---|
665 | <tr> |
---|
666 | <th>お届け時間</th> |
---|
667 | <td> |
---|
668 | <!--{assign var=key value="time_id"}--> |
---|
669 | <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span> |
---|
670 | <select name="<!--{$key}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key][$shipping_index]|sfGetErrorColor}-->"> |
---|
671 | <option value="">指定無し</option> |
---|
672 | <!--{html_options options=$arrDelivTime selected=$arrShipping[$key]}--> |
---|
673 | </select> |
---|
674 | </td> |
---|
675 | </tr> |
---|
676 | <tr> |
---|
677 | <th>お届け日</th> |
---|
678 | <td> |
---|
679 | <!--{assign var=key1 value="shipping_date_year"}--> |
---|
680 | <!--{assign var=key2 value="shipping_date_month"}--> |
---|
681 | <!--{assign var=key3 value="shipping_date_day"}--> |
---|
682 | <span class="attention"><!--{$arrErr[$key1][$shipping_index]}--></span> |
---|
683 | <span class="attention"><!--{$arrErr[$key2][$shipping_index]}--></span> |
---|
684 | <span class="attention"><!--{$arrErr[$key3][$shipping_index]}--></span> |
---|
685 | <select name="<!--{$key1}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key1][$shipping_index]|sfGetErrorColor}-->"> |
---|
686 | <!--{html_options options=$arrYearShippingDate selected=$arrShipping[$key1]|default:""}--> |
---|
687 | </select>年 |
---|
688 | <select name="<!--{$key2}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->"> |
---|
689 | <!--{html_options options=$arrMonthShippingDate selected=$arrShipping[$key2]|default:""}--> |
---|
690 | </select>月 |
---|
691 | <select name="<!--{$key3}-->[<!--{$shipping_index}-->]" style="<!--{$arrErr[$key3][$shipping_index]|sfGetErrorColor}-->"> |
---|
692 | <!--{html_options options=$arrDayShippingDate selected=$arrShipping[$key3]|default:""}--> |
---|
693 | </select>日 |
---|
694 | </td> |
---|
695 | </tr> |
---|
696 | |
---|
697 | </table> |
---|
698 | <!--{/foreach}--> |
---|
699 | <!--▲お届け先情報ここまで--> |
---|
700 | |
---|
701 | <a name="deliv"></a> |
---|
702 | <table class="form"> |
---|
703 | <tr> |
---|
704 | <th>配送業者<br /><span class="attention">(配送業者の変更に伴う送料の変更は手動にてお願いします。)</span></th> |
---|
705 | <td> |
---|
706 | <!--{assign var=key value="deliv_id"}--> |
---|
707 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
708 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('deliv','anchor_key','deliv');"> |
---|
709 | <option value="" selected="">選択してください</option> |
---|
710 | <!--{html_options options=$arrDeliv selected=$arrForm[$key].value}--> |
---|
711 | </select> |
---|
712 | </td> |
---|
713 | </tr> |
---|
714 | <tr> |
---|
715 | <th>お支払方法<br /><span class="attention">(お支払方法の変更に伴う手数料の変更は手動にてお願いします。)</span></th> |
---|
716 | <td> |
---|
717 | <!--{assign var=key value="payment_id"}--> |
---|
718 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
719 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('payment','anchor_key','deliv');"> |
---|
720 | <option value="" selected="">選択してください</option> |
---|
721 | <!--{html_options options=$arrPayment selected=$arrForm[$key].value}--> |
---|
722 | </select> |
---|
723 | </td> |
---|
724 | </tr> |
---|
725 | |
---|
726 | <!--{if $arrForm.payment_info|@count > 0}--> |
---|
727 | <tr> |
---|
728 | <th><!--{$arrForm.payment_type}-->情報</th> |
---|
729 | <td> |
---|
730 | <!--{foreach key=key item=item from=$arrForm.payment_info}--> |
---|
731 | <!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->:<!--{/if}--><!--{$item.value}--><br/><!--{/if}--> |
---|
732 | <!--{/foreach}--> |
---|
733 | </td> |
---|
734 | </tr> |
---|
735 | <!--{/if}--> |
---|
736 | |
---|
737 | <tr> |
---|
738 | <th>メモ</th> |
---|
739 | <td> |
---|
740 | <!--{assign var=key value="note"}--> |
---|
741 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
742 | <textarea name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" cols="80" rows="6" class="area80" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea> |
---|
743 | </td> |
---|
744 | </tr> |
---|
745 | </table> |
---|
746 | <!--▲受注商品情報ここまで--> |
---|
747 | |
---|
748 | <div class="btn-area"> |
---|
749 | <ul> |
---|
750 | <!--{if count($arrSearchHidden) > 0}--> |
---|
751 | <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li> |
---|
752 | <!--{/if}--> |
---|
753 | <li><a class="btn-action" href="javascript:;" onclick="return fnFormConfirm(); return false;"><span class="btn-next">この内容で登録する</span></a></li> |
---|
754 | </ul> |
---|
755 | </div> |
---|
756 | </div> |
---|
757 | <div id="multiple"></div> |
---|
758 | </form> |
---|