| 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 | <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}--> |
---|
| 25 | |
---|
| 26 | <script type="text/javascript"> |
---|
| 27 | <!-- |
---|
| 28 | self.moveTo(20,20);self.focus(); |
---|
| 29 | //--> |
---|
| 30 | </script> |
---|
| 31 | |
---|
| 32 | <!--▼お客様情報ここから--> |
---|
| 33 | <table class="form"> |
---|
| 34 | <tr> |
---|
| 35 | <th>注文番号</th> |
---|
| 36 | <td><!--{$arrForm.order_id.value|h}--></td> |
---|
| 37 | <input type="hidden" name="order_id" value="<!--{$arrForm.order_id.value|h}-->" /> |
---|
| 38 | </tr> |
---|
| 39 | <tr> |
---|
| 40 | <th>受注日</th> |
---|
| 41 | <td><!--{$arrForm.create_date.value|sfDispDBDate|h}--></td> |
---|
| 42 | </tr> |
---|
| 43 | <tr> |
---|
| 44 | <th>対応状況</th> |
---|
| 45 | <td><!--{$arrORDERSTATUS[$arrForm.status.value]|h}--></td> |
---|
| 46 | </tr> |
---|
| 47 | <tr> |
---|
| 48 | <th>入金日</th> |
---|
| 49 | <td><!--{$arrForm.payment_date.value|sfDispDBDate|default:"未入金"}--></td> |
---|
| 50 | </tr> |
---|
| 51 | <tr> |
---|
| 52 | <th>発送日</th> |
---|
| 53 | <td><!--{$arrForm.commit_date.value|sfDispDBDate|default:"未発送"}--></td> |
---|
| 54 | </tr> |
---|
| 55 | </table> |
---|
| 56 | |
---|
| 57 | <h2>注文者情報</h2> |
---|
| 58 | <table class="form"> |
---|
| 59 | <tr> |
---|
| 60 | <th>会員ID</th> |
---|
| 61 | <td> |
---|
| 62 | <!--{if $arrForm.customer_id.value > 0}--> |
---|
| 63 | <!--{$arrForm.customer_id.value|h}--> |
---|
| 64 | <!--{else}--> |
---|
| 65 | (非会員) |
---|
| 66 | <!--{/if}--> |
---|
| 67 | </td> |
---|
| 68 | </tr> |
---|
| 69 | <tr> |
---|
| 70 | <th>お名前</th> |
---|
| 71 | <td><!--{$arrForm.order_name01.value|h}--> <!--{$arrForm.order_name02.value|h}--></td> |
---|
| 72 | </tr> |
---|
| 73 | <tr> |
---|
| 74 | <th>お名前(カナ)</th> |
---|
| 75 | <td><!--{$arrForm.order_kana01.value|h}--> <!--{$arrForm.order_kana02.value|h}--></td> |
---|
| 76 | </tr> |
---|
| 77 | <tr> |
---|
| 78 | <th>会社名</th> |
---|
| 79 | <td><!--{$arrForm.order_company_name.value|h}--></td> |
---|
| 80 | </tr> |
---|
| 81 | <tr> |
---|
| 82 | <th>メールアドレス</th> |
---|
| 83 | <td><!--{$arrForm.order_email.value|h}--></td> |
---|
| 84 | </tr> |
---|
| 85 | <tr> |
---|
| 86 | <th>TEL</th> |
---|
| 87 | <td><!--{$arrForm.order_tel01.value|h}--> - <!--{$arrForm.order_tel02.value|h}--> - <!--{$arrForm.order_tel03.value|h}--></td> |
---|
| 88 | </tr> |
---|
| 89 | <!--{if $smarty.const.FORM_COUNTRY_ENABLE}--> |
---|
| 90 | <tr> |
---|
| 91 | <th>国</th> |
---|
| 92 | <td> |
---|
| 93 | <!--{$arrCountry[$arrForm.order_country_id.value]|h}--> |
---|
| 94 | </td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <th>ZIP CODE</th> |
---|
| 98 | <td> |
---|
| 99 | <!--{$arrForm.order_zipcode.value|h}--> |
---|
| 100 | </td> |
---|
| 101 | </tr> |
---|
| 102 | <!--{/if}--> |
---|
| 103 | <tr> |
---|
| 104 | <th>住所</th> |
---|
| 105 | <td> |
---|
| 106 | 〒 <!--{$arrForm.order_zip01.value|h}--> - <!--{$arrForm.order_zip02.value|h}--><br /> |
---|
| 107 | <!--{$arrPref[$arrForm.order_pref.value]|h}--><!--{$arrForm.order_addr01.value|h}--><!--{$arrForm.order_addr02.value|h}--> |
---|
| 108 | </td> |
---|
| 109 | </tr> |
---|
| 110 | <tr> |
---|
| 111 | <th>備考</th> |
---|
| 112 | <td><!--{$arrForm.message.value|h|nl2br}--></td> |
---|
| 113 | </tr> |
---|
| 114 | <tr> |
---|
| 115 | <th>現在ポイント</th> |
---|
| 116 | <td> |
---|
| 117 | <!--{if $arrForm.customer_id >0}--> |
---|
| 118 | <!--{$arrForm.customer_point.value|number_format}--> |
---|
| 119 | pt |
---|
| 120 | <!--{else}--> |
---|
| 121 | (非会員) |
---|
| 122 | <!--{/if}--> |
---|
| 123 | </td> |
---|
| 124 | </tr> |
---|
| 125 | <tr> |
---|
| 126 | <th>端末種別</th> |
---|
| 127 | <td><!--{$arrDeviceType[$arrForm.device_type_id.value]|h}--></td> |
---|
| 128 | </tr> |
---|
| 129 | </table> |
---|
| 130 | <!--▲お客様情報ここまで--> |
---|
| 131 | |
---|
| 132 | <!--▼受注商品情報ここから--> |
---|
| 133 | <h2>受注商品情報</h2> |
---|
| 134 | <table class="list" id="order-edit-products"> |
---|
| 135 | <tr> |
---|
| 136 | <th class="id">商品コード</th> |
---|
| 137 | <th class="name">商品名/規格1/規格2</th> |
---|
| 138 | <th class="price">単価</th> |
---|
| 139 | <th class="qty">数量</th> |
---|
| 140 | <th class="price">税込み価格</th> |
---|
| 141 | <th class="price">小計</th> |
---|
| 142 | </tr> |
---|
| 143 | <!--{section name=cnt loop=$arrForm.quantity.value}--> |
---|
| 144 | <!--{assign var=product_index value="`$smarty.section.cnt.index`"}--> |
---|
| 145 | <tr> |
---|
| 146 | <td class="center"> |
---|
| 147 | <!--{$arrForm.product_code.value[$product_index]|h}--> |
---|
| 148 | </td> |
---|
| 149 | <td class="center"> |
---|
| 150 | <!--{$arrForm.product_name.value[$product_index]|h}-->/<!--{$arrForm.classcategory_name1.value[$product_index]|default:"(なし)"|h}-->/<!--{$arrForm.classcategory_name2.value[$product_index]|default:"(なし)"|h}--> |
---|
| 151 | </td> |
---|
| 152 | <td class="center"> |
---|
| 153 | <!--{$arrForm.price.value[$product_index]|h}-->円 |
---|
| 154 | </td> |
---|
| 155 | <td class="center"> |
---|
| 156 | <!--{$arrForm.quantity.value[$product_index]|h}--> |
---|
| 157 | </td> |
---|
| 158 | <!--{assign var=price value=`$arrForm.price.value[$product_index]`}--> |
---|
| 159 | <!--{assign var=quantity value=`$arrForm.quantity.value[$product_index]`}--> |
---|
| 160 | <!--{assign var=tax_rate value=`$arrForm.tax_rate.value[$product_index]`}--> |
---|
| 161 | <!--{assign var=tax_rule value=`$arrForm.tax_rule.value[$product_index]`}--> |
---|
| 162 | <td class="center"><!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|number_format}--> 円<br />(税率<!--{$tax_rate|number_format}-->%)</td> |
---|
| 163 | <td class="center"><!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|sfMultiply:$quantity|number_format}-->円</td> |
---|
| 164 | </tr> |
---|
| 165 | <!--{/section}--> |
---|
| 166 | <tr> |
---|
| 167 | <th colspan="5" class="column right">小計</th> |
---|
| 168 | <td class="right"><!--{$arrForm.subtotal.value|number_format}-->円</td> |
---|
| 169 | </tr> |
---|
| 170 | <tr> |
---|
| 171 | <th colspan="5" class="column right">値引き</th> |
---|
| 172 | <td class="right"><!--{$arrForm.discount.value|h}-->円</td> |
---|
| 173 | </tr> |
---|
| 174 | <tr> |
---|
| 175 | <th colspan="5" class="column right">送料</th> |
---|
| 176 | <td class="right"><!--{$arrForm.deliv_fee.value|h}-->円</td> |
---|
| 177 | </tr> |
---|
| 178 | <tr> |
---|
| 179 | <th colspan="5" class="column right">手数料</th> |
---|
| 180 | <td class="right"><!--{$arrForm.charge.value|h}-->円</td> |
---|
| 181 | </tr> |
---|
| 182 | <tr> |
---|
| 183 | <th colspan="5" class="column right">合計</th> |
---|
| 184 | <td class="right"><!--{$arrForm.total.value|number_format}--> 円</td> |
---|
| 185 | </tr> |
---|
| 186 | <tr> |
---|
| 187 | <th colspan="5" class="column right">お支払い合計</th> |
---|
| 188 | <td class="right"><!--{$arrForm.payment_total.value|number_format}--> 円</td> |
---|
| 189 | </tr> |
---|
| 190 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
| 191 | <tr> |
---|
| 192 | <th colspan="5" class="column right">使用ポイント</th> |
---|
| 193 | <td class="right"><!--{$arrForm.use_point.value|default:0|h}-->pt</td> |
---|
| 194 | </tr> |
---|
| 195 | <!--{if $arrForm.birth_point.value > 0}--> |
---|
| 196 | <tr> |
---|
| 197 | <th colspan="5" class="column right">お誕生日ポイント</th> |
---|
| 198 | <td class="right"><!--{$arrForm.birth_point.value|number_format}-->pt</td> |
---|
| 199 | </tr> |
---|
| 200 | <!--{/if}--> |
---|
| 201 | <tr> |
---|
| 202 | <th colspan="5" class="column right">加算ポイント</th> |
---|
| 203 | <td class="right"><!--{$arrForm.add_point.value|number_format|default:0}-->pt</td> |
---|
| 204 | </tr> |
---|
| 205 | <!--{/if}--> |
---|
| 206 | </table> |
---|
| 207 | <!--▼お届け先情報ここから--> |
---|
| 208 | <h2>お届け先情報</h2> |
---|
| 209 | <!--{if $arrForm.product_type_id.value[0] != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
| 210 | <!--{foreach name=shipping from=$arrAllShipping item=arrShipping key=shipping_index}--> |
---|
| 211 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
| 212 | <h3>お届け先<!--{$smarty.foreach.shipping.iteration}--></h3> |
---|
| 213 | <!--{/if}--> |
---|
| 214 | <!--{assign var=key value="shipping_id"}--> |
---|
| 215 | <!--{if $arrForm.shipping_quantity.value > 1}--> |
---|
| 216 | |
---|
| 217 | <!--{if count($arrShipping.shipment_product_class_id) > 0}--> |
---|
| 218 | <table class="list" id="order-edit-products"> |
---|
| 219 | <tr> |
---|
| 220 | <th class="id">商品コード</th> |
---|
| 221 | <th class="name">商品名/規格1/規格2</th> |
---|
| 222 | <th class="price">単価</th> |
---|
| 223 | <th class="qty">数量</th> |
---|
| 224 | </tr> |
---|
| 225 | <!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}--> |
---|
| 226 | <!--{assign var=item_index value="`$smarty.section.item.index`"}--> |
---|
| 227 | <tr> |
---|
| 228 | <td class="center"> |
---|
| 229 | <!--{assign var=key value="shipment_product_code"}--> |
---|
| 230 | <!--{$arrShipping[$key][$item_index]|h}--> |
---|
| 231 | </td> |
---|
| 232 | <td class="center"> |
---|
| 233 | <!--{assign var=key1 value="shipment_product_name"}--> |
---|
| 234 | <!--{assign var=key2 value="shipment_classcategory_name1"}--> |
---|
| 235 | <!--{assign var=key3 value="shipment_classcategory_name2"}--> |
---|
| 236 | <!--{$arrShipping[$key1][$item_index]|h}-->/<!--{$arrShipping[$key2][$item_index]|default:"(なし)"|h}-->/<!--{$arrShipping[$key3][$item_index]|default:"(なし)"|h}--> |
---|
| 237 | </td> |
---|
| 238 | <td class="center"> |
---|
| 239 | <!--{assign var=key value="shipment_price"}--> |
---|
| 240 | <!--{$arrShipping[$key][$item_index]|sfCalcIncTax:$arrForm.order_tax_rate.value:$arrForm.order_tax_rule.value|number_format}-->円 |
---|
| 241 | </td> |
---|
| 242 | <td class="center"> |
---|
| 243 | <!--{assign var=key value="shipment_quantity"}--> |
---|
| 244 | <!--{$arrShipping[$key][$item_index]|h}--> |
---|
| 245 | </td> |
---|
| 246 | </tr> |
---|
| 247 | <!--{/section}--> |
---|
| 248 | </table> |
---|
| 249 | <!--{/if}--> |
---|
| 250 | <!--{/if}--> |
---|
| 251 | |
---|
| 252 | <table class="form"> |
---|
| 253 | <tr> |
---|
| 254 | <th>お名前</th> |
---|
| 255 | <td> |
---|
| 256 | <!--{assign var=key1 value="shipping_name01"}--> |
---|
| 257 | <!--{assign var=key2 value="shipping_name02"}--> |
---|
| 258 | <!--{$arrShipping[$key1]|h}--> <!--{$arrShipping[$key2]|h}--> |
---|
| 259 | </td> |
---|
| 260 | </tr> |
---|
| 261 | <tr> |
---|
| 262 | <th>お名前(カナ)</th> |
---|
| 263 | <td> |
---|
| 264 | <!--{assign var=key1 value="shipping_kana01"}--> |
---|
| 265 | <!--{assign var=key2 value="shipping_kana02"}--> |
---|
| 266 | <!--{$arrShipping[$key1]|h}--> <!--{$arrShipping[$key2]|h}--> |
---|
| 267 | </td> |
---|
| 268 | </tr> |
---|
| 269 | <tr> |
---|
| 270 | <th>会社名</th> |
---|
| 271 | <!--{assign var=key1 value="shipping_company_name"}--> |
---|
| 272 | <td><!--{$arrShipping[$key1]|h}--></td> |
---|
| 273 | </tr> |
---|
| 274 | <tr> |
---|
| 275 | <th>TEL</th> |
---|
| 276 | <td> |
---|
| 277 | <!--{assign var=key1 value="shipping_tel01"}--> |
---|
| 278 | <!--{assign var=key2 value="shipping_tel02"}--> |
---|
| 279 | <!--{assign var=key3 value="shipping_tel03"}--> |
---|
| 280 | <!--{$arrShipping[$key1]|h}--> - |
---|
| 281 | <!--{$arrShipping[$key2]|h}--> - |
---|
| 282 | <!--{$arrShipping[$key3]|h}--> |
---|
| 283 | </td> |
---|
| 284 | </tr> |
---|
| 285 | <!--{if $smarty.const.FORM_COUNTRY_ENABLE}--> |
---|
| 286 | <tr> |
---|
| 287 | <th>国</th> |
---|
| 288 | <td> |
---|
| 289 | <!--{assign var=key1 value="shipping_country_id"}--> |
---|
| 290 | <!--{assign var=key2 value=$arrShipping[$key1]}--> |
---|
| 291 | <!--{$arrCountry[$key2]|h}--> |
---|
| 292 | </td> |
---|
| 293 | </tr> |
---|
| 294 | <tr> |
---|
| 295 | <th>ZIP CODE</th> |
---|
| 296 | <td> |
---|
| 297 | <!--{assign var=key1 value="shipping_zipcode"}--> |
---|
| 298 | <!--{$arrShipping[$key1]|h}--> |
---|
| 299 | </td> |
---|
| 300 | </tr> |
---|
| 301 | <!--{/if}--> |
---|
| 302 | <tr> |
---|
| 303 | <th>住所</th> |
---|
| 304 | <td> |
---|
| 305 | <!--{assign var=key1 value="shipping_zip01"}--> |
---|
| 306 | <!--{assign var=key2 value="shipping_zip02"}--> |
---|
| 307 | 〒 |
---|
| 308 | <!--{$arrShipping[$key1]|h}--> |
---|
| 309 | - |
---|
| 310 | <!--{$arrShipping[$key2]|h}--> |
---|
| 311 | <br /> |
---|
| 312 | <!--{$arrPref[$arrShipping.shipping_pref]|h}--> |
---|
| 313 | <!--{assign var=key value="shipping_addr01"}--> |
---|
| 314 | <!--{$arrShipping[$key]|h}--> |
---|
| 315 | <!--{assign var=key value="shipping_addr02"}--> |
---|
| 316 | <!--{$arrShipping[$key]|h}--> |
---|
| 317 | </td> |
---|
| 318 | </tr> |
---|
| 319 | <tr> |
---|
| 320 | <th>お届け時間</th> |
---|
| 321 | <td> |
---|
| 322 | <!--{$arrDelivTime[$arrShipping.time_id]|default:"指定無し"}--> |
---|
| 323 | </td> |
---|
| 324 | </tr> |
---|
| 325 | <tr> |
---|
| 326 | <th>お届け日</th> |
---|
| 327 | <td> |
---|
| 328 | <!--{assign var=key1 value="shipping_date_year"}--> |
---|
| 329 | <!--{assign var=key2 value="shipping_date_month"}--> |
---|
| 330 | <!--{assign var=key3 value="shipping_date_day"}--> |
---|
| 331 | <!--{if $arrShipping[$key1] == "" && $arrShipping[$key2] == "" && $arrShipping[$key3] == ""}--> |
---|
| 332 | 指定無し |
---|
| 333 | <!--{else}--> |
---|
| 334 | <!--{$arrShipping[$key1]}-->年 |
---|
| 335 | <!--{$arrShipping[$key2]}-->月 |
---|
| 336 | <!--{$arrShipping[$key3]}-->日 |
---|
| 337 | <!--{/if}--> |
---|
| 338 | </td> |
---|
| 339 | </tr> |
---|
| 340 | |
---|
| 341 | </table> |
---|
| 342 | <!--{/foreach}--> |
---|
| 343 | <!--{/if}--> |
---|
| 344 | <!--▲お届け先情報ここまで--> |
---|
| 345 | |
---|
| 346 | <a name="deliv"></a> |
---|
| 347 | <table class="form"> |
---|
| 348 | <tr> |
---|
| 349 | <th>配送業者</th> |
---|
| 350 | <td> |
---|
| 351 | <!--{$arrDeliv[$arrForm.deliv_id.value]|h}--> |
---|
| 352 | </td> |
---|
| 353 | </tr> |
---|
| 354 | <tr> |
---|
| 355 | <th>お支払方法</th> |
---|
| 356 | <td> |
---|
| 357 | <!--{$arrPayment[$arrForm.payment_id.value]|h}--> |
---|
| 358 | </td> |
---|
| 359 | </tr> |
---|
| 360 | |
---|
| 361 | <!--{if $arrForm.payment_info|@count > 0}--> |
---|
| 362 | <tr> |
---|
| 363 | <th><!--{$arrForm.payment_type}-->情報</th> |
---|
| 364 | <td> |
---|
| 365 | <!--{foreach key=key item=item from=$arrForm.payment_info}--> |
---|
| 366 | <!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->:<!--{/if}--><!--{$item.value}--><br/><!--{/if}--> |
---|
| 367 | <!--{/foreach}--> |
---|
| 368 | </td> |
---|
| 369 | </tr> |
---|
| 370 | <!--{/if}--> |
---|
| 371 | |
---|
| 372 | <tr> |
---|
| 373 | <th>メモ</th> |
---|
| 374 | <td> |
---|
| 375 | <!--{$arrForm.note.value|h|nl2br}--> |
---|
| 376 | </td> |
---|
| 377 | </tr> |
---|
| 378 | </table> |
---|
| 379 | |
---|
| 380 | <div class="btn-area"> |
---|
| 381 | <ul> |
---|
| 382 | <li><a class="btn-action" href="javascript:;" onclick="window.close(); return false;"><span class="btn-next">閉じる</span></a></li> |
---|
| 383 | </ul> |
---|
| 384 | </div> |
---|
| 385 | |
---|
| 386 | <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}--> |
---|