source: branches/version-2_12-dev/data/Smarty/templates/default/mypage/history.tpl @ 21866

Revision 21866, 13.2 KB checked in by h_yoshimoto, 12 years ago (diff)

#1831 Copyrightを更新を誤っているので戻します

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2011 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">購入日時:&nbsp;</span><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br />
33                <span class="st">注文番号:&nbsp;</span><!--{$tpl_arrOrderData.order_id}--><br />
34                <span class="st">お支払い方法:&nbsp;</span><!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}-->
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}-->">
40                    <input type="image" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="この購入内容で再注文する" name="submit" value="この購入内容で再注文する" />
41                </p>
42            </form>
43        </div>
44
45        <table summary="購入商品詳細">
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">商品コード</th>
54                <th class="alignC">商品名</th>
55                <th class="alignC">商品種別</th>
56                <th class="alignC">単価</th>
57                <th class="alignC">数量</th>
58                <th class="alignC">小計</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}-->">ダウンロード</a>
75                        <!--{else}-->
76                            <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
77                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(入金確認中)
78                            <!--{else}-->
79                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(期限切れ)
80                            <!--{/if}-->
81                        <!--{/if}-->
82                    <!--{else}-->
83                        <!--{$arrProductType[$orderDetail.product_type_id]}-->
84                    <!--{/if}-->
85                    </td>
86                    <!--{assign var=price value=`$orderDetail.price`}-->
87                    <!--{assign var=quantity value=`$orderDetail.quantity`}-->
88                    <td class="alignR"><!--{$price|sfCalcIncTax|number_format|h}-->円</td>
89                    <td class="alignR"><!--{$quantity|h}--></td>
90                    <td class="alignR"><!--{$price|sfCalcIncTax|sfMultiply:$quantity|number_format}-->円</td>
91                </tr>
92            <!--{/foreach}-->
93            <tr>
94                <th colspan="5" class="alignR">小計</th>
95                <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td>
96            </tr>
97            <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
98            <!--{if $point_discount > 0}-->
99            <tr>
100                <th colspan="5" class="alignR">ポイント値引き</th>
101                <td class="alignR">&minus;<!--{$point_discount|number_format}-->円</td>
102            </tr>
103            <!--{/if}-->
104            <!--{assign var=key value="discount"}-->
105            <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
106            <tr>
107                <th colspan="5" class="alignR">値引き</th>
108                <td class="alignR">&minus;<!--{$tpl_arrOrderData[$key]|number_format}-->円</td>
109            </tr>
110            <!--{/if}-->
111            <tr>
112                <th colspan="5" class="alignR">送料</th>
113                <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
114            </tr>
115            <tr>
116                <th colspan="5" class="alignR">手数料</th>
117                <!--{assign var=key value="charge"}-->
118                <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
119            </tr>
120            <tr>
121                <th colspan="5" class="alignR">合計</th>
122                <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</span></td>
123            </tr>
124        </table>
125
126        <!-- 使用ポイントここから -->
127        <!--{if $smarty.const.USE_POINT !== false}-->
128            <table summary="使用ポイント">
129                <col width="30%" />
130                <col width="70%" />
131                <tr>
132                    <th class="alignL">ご使用ポイント</th>
133                    <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
134                </tr>
135                <tr>
136                    <th class="alignL">今回加算されるポイント</th>
137                    <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
138                </tr>
139            </table>
140        <!--{/if}-->
141        <!-- 使用ポイントここまで -->
142
143        <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
144            <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
145            <!--{if $isMultiple}-->
146                <table summary="お届け内容確認">
147                    <col width="30%" />
148                    <col width="40%" />
149                    <col width="20%" />
150                    <col width="10%" />
151                    <tr>
152                        <th class="alignC">商品コード</th>
153                        <th class="alignC">商品名</th>
154                        <th class="alignC">単価</th>
155                        <th class="alignC">数量</th>
156                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
157                        <th>小計</th>
158                        *}-->
159                    </tr>
160                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
161                        <tr>
162                            <td><!--{$item.productsClass.product_code|h}--></td>
163                            <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br />
164                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
165                                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
166                                <!--{/if}-->
167                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
168                                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
169                                <!--{/if}-->
170                            </td>
171                            <td class="alignR">
172                                <!--{$item.price|sfCalcIncTax|number_format}-->円
173                            </td>
174                            <td class="alignC"><!--{$item.quantity}--></td>
175                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
176                            <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
177                            *}-->
178                        </tr>
179                    <!--{/foreach}-->
180                </table>
181            <!--{/if}-->
182            <table summary="お届け先" class="delivname">
183                    <col width="30%" />
184                    <col width="70%" />
185                    <tr>
186                        <th class="alignL">お名前</th>
187                        <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
188                    </tr>
189                    <tr>
190                        <th class="alignL">お名前(フリガナ)</th>
191                        <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
192                    </tr>
193                    <tr>
194                        <th class="alignL">郵便番号</th>
195                        <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
196                    </tr>
197                    <tr>
198                        <th class="alignL">住所</th>
199                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
200                    </tr>
201                    <tr>
202                        <th class="alignL">電話番号</th>
203                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
204                    </tr>
205                    <tr>
206                        <th class="alignL">FAX番号</th>
207                        <td>
208                            <!--{if $shippingItem.shipping_fax01 > 0}-->
209                                <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
210                            <!--{/if}-->
211                        </td>
212                    </tr>
213                    <tr>
214                        <th class="alignL">お届け日</th>
215                        <td><!--{$shippingItem.shipping_date|default:'指定なし'|h}--></td>
216                    </tr>
217                    <tr>
218                        <th class="alignL">お届け時間</th>
219                        <td><!--{$shippingItem.shipping_time|default:'指定なし'|h}--></td>
220                    </tr>
221                </tbody>
222            </table>
223        <!--{/foreach}-->
224
225        <br />
226
227        <h3>メール配信履歴一覧</h3>
228        <table>
229            <tr>
230                <th class="alignC">処理日</th>
231                <th class="alignC">通知メール</th>
232                <th class="alignC">件名</th>
233            </tr>
234            <!--{section name=cnt loop=$tpl_arrMailHistory}-->
235            <tr class="center">
236                <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
237                <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
238                <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
239                <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>
240            </tr>
241            <!--{/section}-->
242        </table>
243
244        <div class="btn_area">
245            <ul>
246                <li>
247                    <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="change" id="change" /></a>
248                </li>
249            </ul>
250        </div>
251
252    </div>
253</div>
Note: See TracBrowser for help on using the repository browser.