[22157] | 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 | <div id="mypagecolumn"> |
---|
| 26 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
| 27 | <!--{include file=$tpl_navi}--> |
---|
| 28 | <div id="mycontents_area"> |
---|
| 29 | <h3><!--{$tpl_subtitle|h}--></h3> |
---|
| 30 | <div class="mycondition_area clearfix"> |
---|
| 31 | <p> |
---|
| 32 | <span class="st">Date and time of purchase: </span><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br /> |
---|
| 33 | <span class="st">Order number: </span><!--{$tpl_arrOrderData.order_id}--><br /> |
---|
[22740] | 34 | <span class="st">Payment method: </span><!--{$tpl_arrOrderData.payment_method|h}--> |
---|
[22157] | 35 | </p> |
---|
| 36 | <form action="order.php" method="post"> |
---|
| 37 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 38 | <p class="btn"> |
---|
| 39 | <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->"> |
---|
[22175] | 40 | <button class="bt01">Place another order with these purchase details</button> |
---|
[22157] | 41 | </p> |
---|
| 42 | </form> |
---|
| 43 | </div> |
---|
| 44 | |
---|
| 45 | <table summary="Details of purchased product"> |
---|
| 46 | <col width="15%" /> |
---|
| 47 | <col width="25%" /> |
---|
| 48 | <col width="20%" /> |
---|
| 49 | <col width="15%" /> |
---|
| 50 | <col width="10%" /> |
---|
| 51 | <col width="15%" /> |
---|
| 52 | <tr> |
---|
| 53 | <th class="alignC">Product code</th> |
---|
| 54 | <th class="alignC">Product name</th> |
---|
| 55 | <th class="alignC">Product type</th> |
---|
| 56 | <th class="alignC">Unit price</th> |
---|
| 57 | <th class="alignC">Quantity</th> |
---|
| 58 | <th class="alignC">Subtotal</th> |
---|
| 59 | </tr> |
---|
| 60 | <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}--> |
---|
| 61 | <tr> |
---|
| 62 | <td><!--{$orderDetail.product_code|h}--></td> |
---|
| 63 | <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a><br /> |
---|
| 64 | <!--{if $orderDetail.classcategory_name1 != ""}--> |
---|
| 65 | <!--{$orderDetail.classcategory_name1|h}--><br /> |
---|
| 66 | <!--{/if}--> |
---|
| 67 | <!--{if $orderDetail.classcategory_name2 != ""}--> |
---|
| 68 | <!--{$orderDetail.classcategory_name2|h}--> |
---|
| 69 | <!--{/if}--> |
---|
| 70 | </td> |
---|
| 71 | <td class="alignC"> |
---|
| 72 | <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
| 73 | <!--{if $orderDetail.is_downloadable}--> |
---|
| 74 | <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">Download |
---|
| 75 | </a> |
---|
| 76 | <!--{else}--> |
---|
| 77 | <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}--> |
---|
| 78 | <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(Credit being confirmed) |
---|
| 79 | <!--{else}--> |
---|
| 80 | <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(Expired) |
---|
| 81 | <!--{/if}--> |
---|
| 82 | <!--{/if}--> |
---|
| 83 | <!--{else}--> |
---|
| 84 | <!--{$arrProductType[$orderDetail.product_type_id]}--> |
---|
| 85 | <!--{/if}--> |
---|
| 86 | </td> |
---|
| 87 | <!--{assign var=price value=`$orderDetail.price`}--> |
---|
| 88 | <!--{assign var=quantity value=`$orderDetail.quantity`}--> |
---|
[22210] | 89 | <td class="alignR">$ <!--{$price|sfCalcIncTax|number_format|h}--></td> |
---|
[22157] | 90 | <td class="alignR"><!--{$quantity|h}--></td> |
---|
[22210] | 91 | <td class="alignR">$ <!--{$price|sfCalcIncTax|sfMultiply:$quantity|number_format}--></td> |
---|
[22157] | 92 | </tr> |
---|
| 93 | <!--{/foreach}--> |
---|
| 94 | <tr> |
---|
| 95 | <th colspan="5" class="alignR">Subtotal</th> |
---|
[22210] | 96 | <td class="alignR">$ <!--{$tpl_arrOrderData.subtotal|number_format}--></td> |
---|
[22157] | 97 | </tr> |
---|
| 98 | <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}--> |
---|
| 99 | <!--{if $point_discount > 0}--> |
---|
| 100 | <tr> |
---|
| 101 | <th colspan="5" class="alignR">Point discount</th> |
---|
[22210] | 102 | <td class="alignR">$ −<!--{$point_discount|number_format}--></td> |
---|
[22157] | 103 | </tr> |
---|
| 104 | <!--{/if}--> |
---|
| 105 | <!--{assign var=key value="discount"}--> |
---|
| 106 | <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}--> |
---|
| 107 | <tr> |
---|
| 108 | <th colspan="5" class="alignR">Discount</th> |
---|
[22210] | 109 | <td class="alignR">$ −<!--{$tpl_arrOrderData[$key]|number_format}--></td> |
---|
[22157] | 110 | </tr> |
---|
| 111 | <!--{/if}--> |
---|
| 112 | <tr> |
---|
| 113 | <th colspan="5" class="alignR">Shipping fee</th> |
---|
[22210] | 114 | <td class="alignR">$ <!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}--></td> |
---|
[22157] | 115 | </tr> |
---|
| 116 | <tr> |
---|
| 117 | <th colspan="5" class="alignR">Processing fee</th> |
---|
| 118 | <!--{assign var=key value="charge"}--> |
---|
[22210] | 119 | <td class="alignR">$ <!--{$tpl_arrOrderData[$key]|number_format|h}--></td> |
---|
[22157] | 120 | </tr> |
---|
| 121 | <tr> |
---|
| 122 | <th colspan="5" class="alignR">Total</th> |
---|
[22210] | 123 | <td class="alignR"><span class="price">$ <!--{$tpl_arrOrderData.payment_total|number_format}--></span></td> |
---|
[22157] | 124 | </tr> |
---|
| 125 | </table> |
---|
| 126 | |
---|
| 127 | <!-- 使用ポイントここから --> |
---|
| 128 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
| 129 | <table summary="Points used"> |
---|
| 130 | <col width="30%" /> |
---|
| 131 | <col width="70%" /> |
---|
| 132 | <tr> |
---|
| 133 | <th class="alignL">Points used</th> |
---|
[22345] | 134 | <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pts</td> |
---|
[22157] | 135 | </tr> |
---|
| 136 | <tr> |
---|
| 137 | <th class="alignL">Points added at this time</th> |
---|
[22345] | 138 | <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pts</td> |
---|
[22157] | 139 | </tr> |
---|
| 140 | </table> |
---|
| 141 | <!--{/if}--> |
---|
| 142 | <!-- 使用ポイントここまで --> |
---|
| 143 | |
---|
| 144 | <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}--> |
---|
| 145 | <h3>Delivery destination<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3> |
---|
| 146 | <!--{if $isMultiple}--> |
---|
| 147 | <table summary="Confirm delivery contents"> |
---|
| 148 | <col width="30%" /> |
---|
| 149 | <col width="40%" /> |
---|
| 150 | <col width="20%" /> |
---|
| 151 | <col width="10%" /> |
---|
| 152 | <tr> |
---|
| 153 | <th class="alignC">Product code</th> |
---|
| 154 | <th class="alignC">Product name</th> |
---|
| 155 | <th class="alignC">Unit price</th> |
---|
| 156 | <th class="alignC">Quantity</th> |
---|
| 157 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
| 158 | <th>Subtotal</th> |
---|
| 159 | *}--> |
---|
| 160 | </tr> |
---|
| 161 | <!--{foreach item=item from=$shippingItem.shipment_item}--> |
---|
| 162 | <tr> |
---|
| 163 | <td><!--{$item.productsClass.product_code|h}--></td> |
---|
| 164 | <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br /> |
---|
| 165 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
| 166 | <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> |
---|
| 167 | <!--{/if}--> |
---|
| 168 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
| 169 | <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--> |
---|
| 170 | <!--{/if}--> |
---|
| 171 | </td> |
---|
| 172 | <td class="alignR"> |
---|
[22210] | 173 | $ <!--{$item.price|sfCalcIncTax|number_format}--> |
---|
[22157] | 174 | </td> |
---|
| 175 | <td class="alignC"><!--{$item.quantity}--></td> |
---|
| 176 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
[22210] | 177 | <td class="alignR">$ <!--{$item.total_inctax|number_format}--></td> |
---|
[22157] | 178 | *}--> |
---|
| 179 | </tr> |
---|
| 180 | <!--{/foreach}--> |
---|
| 181 | </table> |
---|
| 182 | <!--{/if}--> |
---|
| 183 | <table summary="Delivery destination" class="delivname"> |
---|
| 184 | <col width="30%" /> |
---|
| 185 | <col width="70%" /> |
---|
| 186 | <tr> |
---|
| 187 | <th class="alignL">Name</th> |
---|
| 188 | <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td> |
---|
| 189 | </tr> |
---|
| 190 | <tr> |
---|
| 191 | <th class="alignL">Postal code</th> |
---|
[22222] | 192 | <!--{* <td><!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td> *}--> |
---|
| 193 | <td><!--{$shippingItem.shipping_zipcode}--></td> |
---|
[22157] | 194 | </tr> |
---|
| 195 | <tr> |
---|
| 196 | <th class="alignL">Address</th> |
---|
| 197 | <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td> |
---|
| 198 | </tr> |
---|
| 199 | <tr> |
---|
[22367] | 200 | <th class="alignL">Phone number</th> |
---|
[22157] | 201 | <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td> |
---|
| 202 | </tr> |
---|
| 203 | <tr> |
---|
| 204 | <th class="alignL">Fax number</th> |
---|
| 205 | <td> |
---|
| 206 | <!--{if $shippingItem.shipping_fax01 > 0}--> |
---|
| 207 | <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}--> |
---|
| 208 | <!--{/if}--> |
---|
| 209 | </td> |
---|
| 210 | </tr> |
---|
| 211 | <tr> |
---|
| 212 | <th class="alignL">Delivery date</th> |
---|
| 213 | <td><!--{$shippingItem.shipping_date|default:'No designation'|h}--></td> |
---|
| 214 | </tr> |
---|
| 215 | <tr> |
---|
| 216 | <th class="alignL">Delivery time</th> |
---|
| 217 | <td><!--{$shippingItem.shipping_time|default:'No designation'|h}--></td> |
---|
| 218 | </tr> |
---|
| 219 | </tbody> |
---|
| 220 | </table> |
---|
| 221 | <!--{/foreach}--> |
---|
| 222 | |
---|
| 223 | <br /> |
---|
| 224 | |
---|
[22262] | 225 | <h3>E-mail delivery history</h3> |
---|
[22157] | 226 | <table> |
---|
| 227 | <tr> |
---|
| 228 | <th class="alignC">Processing date</th> |
---|
| 229 | <th class="alignC">Notification e-mail</th> |
---|
| 230 | <th class="alignC">Item name</th> |
---|
| 231 | </tr> |
---|
| 232 | <!--{section name=cnt loop=$tpl_arrMailHistory}--> |
---|
| 233 | <tr class="center"> |
---|
| 234 | <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td> |
---|
| 235 | <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}--> |
---|
| 236 | <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td> |
---|
| 237 | <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td> |
---|
| 238 | </tr> |
---|
| 239 | <!--{/section}--> |
---|
| 240 | </table> |
---|
| 241 | |
---|
| 242 | <div class="btn_area"> |
---|
| 243 | <ul> |
---|
| 244 | <li> |
---|
[22175] | 245 | <a class="bt04" href="./<!--{$smarty.const.DIR_INDEX_PATH}-->">Go back</a> |
---|
[22157] | 246 | </li> |
---|
| 247 | </ul> |
---|
| 248 | </div> |
---|
| 249 | |
---|
| 250 | </div> |
---|
| 251 | </div> |
---|