1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2010 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 | <!--▼CONTENTS--> |
---|
25 | <div id="mypagecolumn"> |
---|
26 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
27 | <!--{include file=$tpl_navi}--> |
---|
28 | <div id="mycontentsarea"> |
---|
29 | <h3><!--{$tpl_subtitle|h}--></h3> |
---|
30 | <p class="myconditionarea"> |
---|
31 | <strong>購入日時: </strong><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br /> |
---|
32 | <strong>注文番号: </strong><!--{$tpl_arrOrderData.order_id}--><br /> |
---|
33 | <strong>お支払い方法: </strong><!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}--> |
---|
34 | <!--{if $tpl_arrOrderData.deliv_time_id != ""}--><br /> |
---|
35 | <strong>お届け時間: </strong><!--{$arrDelivTime[$tpl_arrOrderData.deliv_time_id]|h}--> |
---|
36 | <!--{/if}--> |
---|
37 | <!--{if $tpl_arrOrderData.deliv_date != ""}--><br /> |
---|
38 | <strong>お届け日: </strong><!--{$tpl_arrOrderData.deliv_date|h}--> |
---|
39 | <!--{/if}--> |
---|
40 | </p> |
---|
41 | |
---|
42 | <form action="order.php" method="post"> |
---|
43 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
44 | <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id}-->"> |
---|
45 | <input type="submit" name="submit" value="再注文"> |
---|
46 | </form> |
---|
47 | |
---|
48 | <table summary="購入商品詳細"> |
---|
49 | <tr> |
---|
50 | <th>商品コード</th> |
---|
51 | <th>商品名</th> |
---|
52 | <th>商品種別</th> |
---|
53 | <th>単価</th> |
---|
54 | <th>数量</th> |
---|
55 | <th>小計</th> |
---|
56 | </tr> |
---|
57 | <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}--> |
---|
58 | <tr> |
---|
59 | <td><!--{$orderDetail.product_code|h}--></td> |
---|
60 | <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a></td> |
---|
61 | <td> |
---|
62 | <!--{if $orderDetail.product_type_id == PRODUCT_TYPE_DOWNLOAD}--> |
---|
63 | <!--{if $orderDetail.price == "0" || ( $orderDetail.status >= "4" && $orderDetail.effective == "1" )}--> |
---|
64 | <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}-->">ダウンロード</a> |
---|
65 | <!--{elseif $orderDetail.payment_date == "" || $orderDetail.status < "4"}--> |
---|
66 | ダウンロード商品<BR />(入金確認中) |
---|
67 | <!--{elseif $orderDetail.effective != "1"}--> |
---|
68 | ダウンロード商品<BR />(期限切れ) |
---|
69 | <!--{/if}--> |
---|
70 | <!--{else if $orderDetail.product_type_id == PRODUCT_TYPE_NORMAL}--> |
---|
71 | 通常商品 |
---|
72 | <!--{/if}--> |
---|
73 | </td> |
---|
74 | <!--{assign var=price value=`$orderDetail.price`}--> |
---|
75 | <!--{assign var=quantity value=`$orderDetail.quantity`}--> |
---|
76 | <td class="alignR"><!--{$price|number_format|h}-->円</td> |
---|
77 | <td><!--{$quantity|h}--></td> |
---|
78 | <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td> |
---|
79 | </tr> |
---|
80 | <!--{/foreach}--> |
---|
81 | <tr> |
---|
82 | <th colspan="5" class="resulttd">小計</th> |
---|
83 | <td class="pricetd"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td> |
---|
84 | </tr> |
---|
85 | <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}--> |
---|
86 | <!--{if $point_discount > 0}--> |
---|
87 | <tr> |
---|
88 | <th colspan="5" class="resulttd">ポイント値引き</th> |
---|
89 | <td class="alignR"><!--{$point_discount|number_format}-->円</td> |
---|
90 | </tr> |
---|
91 | <!--{/if}--> |
---|
92 | <!--{assign var=key value="discount"}--> |
---|
93 | <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}--> |
---|
94 | <tr> |
---|
95 | <th colspan="5" class="resulttd">値引き</th> |
---|
96 | <td class="pricetd"><!--{$tpl_arrOrderData[$key]|number_format}-->円</td> |
---|
97 | </tr> |
---|
98 | <!--{/if}--> |
---|
99 | <tr> |
---|
100 | <th colspan="5" class="resulttd">送料</th> |
---|
101 | <td class="pricetd"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td> |
---|
102 | </tr> |
---|
103 | <tr> |
---|
104 | <th colspan="5" class="resulttd">手数料</th> |
---|
105 | <!--{assign var=key value="charge"}--> |
---|
106 | <td class="pricetd"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td> |
---|
107 | </tr> |
---|
108 | <tr> |
---|
109 | <th colspan="5" class="resulttd">合計</th> |
---|
110 | <td class="pricetd"><em><!--{$tpl_arrOrderData.payment_total|number_format}-->円</em></td> |
---|
111 | </tr> |
---|
112 | </table> |
---|
113 | |
---|
114 | <!-- 使用ポイントここから --> |
---|
115 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
116 | <table summary="使用ポイント"> |
---|
117 | <tr> |
---|
118 | <th>ご使用ポイント</th> |
---|
119 | <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td> |
---|
120 | </tr> |
---|
121 | <tr> |
---|
122 | <th>今回加算されるポイント</th> |
---|
123 | <td class="pricetd"><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td> |
---|
124 | </tr> |
---|
125 | </table> |
---|
126 | <!--{/if}--> |
---|
127 | <!-- 使用ポイントここまで --> |
---|
128 | |
---|
129 | <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}--> |
---|
130 | <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3> |
---|
131 | <!--{if $isMultiple}--> |
---|
132 | <table summary="お届け内容確認"> |
---|
133 | <tr> |
---|
134 | <th>商品コード</th> |
---|
135 | <th>商品名</th> |
---|
136 | <th>単価</th> |
---|
137 | <th>数量</th> |
---|
138 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
139 | <th>小計</th> |
---|
140 | *}--> |
---|
141 | </tr> |
---|
142 | <!--{foreach item=item from=$shippingItem.shipment_item}--> |
---|
143 | <tr> |
---|
144 | <td><!--{$item.productsClass.product_code|h}--></td> |
---|
145 | <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br /> |
---|
146 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
147 | <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> |
---|
148 | <!--{/if}--> |
---|
149 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
150 | <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--> |
---|
151 | <!--{/if}--> |
---|
152 | </td> |
---|
153 | <td class="alignR"> |
---|
154 | <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 |
---|
155 | </td> |
---|
156 | <td id="quantity"><!--{$item.quantity}--></td> |
---|
157 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
158 | <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td> |
---|
159 | *}--> |
---|
160 | </tr> |
---|
161 | <!--{/foreach}--> |
---|
162 | </table> |
---|
163 | <!--{/if}--> |
---|
164 | <table summary="お届け先" class="delivname"> |
---|
165 | <tbody> |
---|
166 | <tr> |
---|
167 | <th>お名前</th> |
---|
168 | <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td> |
---|
169 | </tr> |
---|
170 | <tr> |
---|
171 | <th>お名前(フリガナ)</th> |
---|
172 | <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td> |
---|
173 | </tr> |
---|
174 | <tr> |
---|
175 | <th>郵便番号</th> |
---|
176 | <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <th>住所</th> |
---|
180 | <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td> |
---|
181 | </tr> |
---|
182 | <tr> |
---|
183 | <th>電話番号</th> |
---|
184 | <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td> |
---|
185 | </tr> |
---|
186 | </tbody> |
---|
187 | </table> |
---|
188 | <!--{/foreach}--> |
---|
189 | |
---|
190 | <br /> |
---|
191 | |
---|
192 | <h3>メール配信履歴一覧</h3> |
---|
193 | <table> |
---|
194 | <tr> |
---|
195 | <th>処理日</th> |
---|
196 | <th>通知メール</th> |
---|
197 | <th>件名</th> |
---|
198 | </tr> |
---|
199 | <!--{section name=cnt loop=$tpl_arrMailHistory}--> |
---|
200 | <tr class="center"> |
---|
201 | <td><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td> |
---|
202 | <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}--> |
---|
203 | <td><!--{$arrMAILTEMPLATE[$key]|h}--></td> |
---|
204 | <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> |
---|
205 | </tr> |
---|
206 | <!--{/section}--> |
---|
207 | </table> |
---|
208 | |
---|
209 | <div class="tblareabtn"> |
---|
210 | <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.gif','change');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.gif','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" name="change" id="change" /></a> |
---|
211 | </div> |
---|
212 | |
---|
213 | </div> |
---|
214 | </div> |
---|
215 | <!--▲CONTENTS--> |
---|