source: branches/version-2_13_0/data/Smarty/templates/default/mypage/history.tpl @ 23103

Revision 23103, 14.9 KB checked in by h_yoshimoto, 11 years ago (diff)

#2342 一旦戻した内容を再度適用

  • 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-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<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}--><br />
35                <!--{if $smarty.const.MYPAGE_ORDER_STATUS_DISP_FLAG}-->
36                    <span class="st">ご注文状況:&nbsp;</span>
37                    <!--{if $tpl_arrOrderData.status != $smarty.const.ORDER_PENDING}-->
38                        <!--{$arrCustomerOrderStatus[$tpl_arrOrderData.status]|h}-->
39                    <!--{else}-->
40                        <span class="attention"><!--{$arrCustomerOrderStatus[$tpl_arrOrderData.status]|h}--></span>
41                    <!--{/if}-->
42                <!--{/if}-->
43                <!--{if $is_price_change == true}-->
44                    <div class="attention" Align="right">※金額が変更されている商品があるため、再注文時はご注意ください。</div>
45                <!--{/if}-->
46            </p>
47            <form action="order.php" method="post">
48                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
49                <p class="btn">
50                    <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->" />
51                    <input type="image" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="この購入内容で再注文する" name="submit" value="この購入内容で再注文する" />
52                </p>
53            </form>
54        </div>
55
56        <table summary="購入商品詳細">
57            <col width="15%" />
58            <col width="25%" />
59            <col width="20%" />
60            <col width="15%" />
61            <col width="10%" />
62            <col width="15%" />
63            <tr>
64                <th class="alignC">商品コード</th>
65                <th class="alignC">商品名</th>
66                <th class="alignC">商品種別</th>
67                <th class="alignC">単価</th>
68                <th class="alignC">数量</th>
69                <th class="alignC">小計</th>
70            </tr>
71            <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
72                <tr>
73                    <td><!--{$orderDetail.product_code|h}--></td>
74                    <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a><br />
75                        <!--{if $orderDetail.classcategory_name1 != ""}-->
76                            <!--{$orderDetail.classcategory_name1|h}--><br />
77                        <!--{/if}-->
78                        <!--{if $orderDetail.classcategory_name2 != ""}-->
79                            <!--{$orderDetail.classcategory_name2|h}-->
80                        <!--{/if}-->
81                    </td>
82                    <td class="alignC">
83                    <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
84                        <!--{if $orderDetail.is_downloadable}-->
85                            <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>
86                        <!--{else}-->
87                            <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
88                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(入金確認中)
89                            <!--{else}-->
90                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(期限切れ)
91                            <!--{/if}-->
92                        <!--{/if}-->
93                    <!--{else}-->
94                        <!--{$arrProductType[$orderDetail.product_type_id]}-->
95                    <!--{/if}-->
96                    </td>
97                    <td class="alignR"><!--{$orderDetail.price_inctax|number_format|h}-->円
98                    <!--{if $orderDetail.price_inctax != $orderDetail.product_price_inctax}-->
99                        <div class="attention">【現在価格】</div><span class="attention"><!--{$orderDetail.product_price_inctax|number_format|h}-->円</span>
100                    <!--{/if}-->
101                    </td>
102                    <td class="alignR"><!--{$orderDetail.quantity|h}--></td>
103                    <td class="alignR"><!--{$orderDetail.price_inctax|sfMultiply:$orderDetail.quantity|number_format}-->円</td>
104                </tr>
105            <!--{/foreach}-->
106            <tr>
107                <th colspan="5" class="alignR">小計</th>
108                <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td>
109            </tr>
110            <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
111            <!--{if $point_discount > 0}-->
112            <tr>
113                <th colspan="5" class="alignR">ポイント値引き</th>
114                <td class="alignR">&minus;<!--{$point_discount|number_format}-->円</td>
115            </tr>
116            <!--{/if}-->
117            <!--{assign var=key value="discount"}-->
118            <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
119            <tr>
120                <th colspan="5" class="alignR">値引き</th>
121                <td class="alignR">&minus;<!--{$tpl_arrOrderData[$key]|number_format}-->円</td>
122            </tr>
123            <!--{/if}-->
124            <tr>
125                <th colspan="5" class="alignR">送料</th>
126                <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
127            </tr>
128            <tr>
129                <th colspan="5" class="alignR">手数料</th>
130                <!--{assign var=key value="charge"}-->
131                <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
132            </tr>
133            <tr>
134                <th colspan="5" class="alignR">合計</th>
135                <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</span></td>
136            </tr>
137        </table>
138
139        <!-- 使用ポイントここから -->
140        <!--{if $smarty.const.USE_POINT !== false}-->
141            <table summary="使用ポイント">
142                <col width="30%" />
143                <col width="70%" />
144                <tr>
145                    <th class="alignL">ご使用ポイント</th>
146                    <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
147                </tr>
148                <tr>
149                    <th class="alignL">今回加算されるポイント</th>
150                    <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
151                </tr>
152            </table>
153        <!--{/if}-->
154        <!-- 使用ポイントここまで -->
155
156        <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
157            <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
158            <!--{if $isMultiple}-->
159                <table summary="お届け内容確認">
160                    <col width="30%" />
161                    <col width="40%" />
162                    <col width="20%" />
163                    <col width="10%" />
164                    <tr>
165                        <th class="alignC">商品コード</th>
166                        <th class="alignC">商品名</th>
167                        <th class="alignC">単価</th>
168                        <th class="alignC">数量</th>
169                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
170                        <th>小計</th>
171                        *}-->
172                    </tr>
173                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
174                        <tr>
175                            <td><!--{$item.productsClass.product_code|h}--></td>
176                            <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br />
177                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
178                                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
179                                <!--{/if}-->
180                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
181                                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
182                                <!--{/if}-->
183                            </td>
184                            <td class="alignR">
185                                <!--{$item.price|sfCalcIncTax:$tpl_arrOrderData.order_tax_rate:$tpl_arrOrderData.order_tax_rule|number_format}-->円
186                            </td>
187                            <td class="alignC"><!--{$item.quantity}--></td>
188                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
189                            <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
190                            *}-->
191                        </tr>
192                    <!--{/foreach}-->
193                </table>
194            <!--{/if}-->
195            <table summary="お届け先" class="delivname">
196                <col width="30%" />
197                <col width="70%" />
198                <tbody>
199                    <tr>
200                        <th class="alignL">お名前</th>
201                        <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
202                    </tr>
203                    <tr>
204                        <th class="alignL">お名前(フリガナ)</th>
205                        <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
206                    </tr>
207                    <tr>
208                        <th class="alignL">会社名</th>
209                        <td><!--{$shippingItem.shipping_company_name|h}--></td>
210                    </tr>
211                    <!--{if $smarty.const.FORM_COUNTRY_ENABLE}-->
212                    <tr>
213                        <th class="alignL">国</th>
214                        <td><!--{$arrCountry[$shippingItem.shipping_country_id]|h}--></td>
215                    </tr>
216                    <tr>
217                        <th class="alignL">ZIPCODE</th>
218                        <td><!--{$shippingItem.shipping_zipcode|h}--></td>
219                    </tr>
220                    <!--{/if}-->
221                    <tr>
222                        <th class="alignL">郵便番号</th>
223                        <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
224                    </tr>
225                    <tr>
226                        <th class="alignL">住所</th>
227                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
228                    </tr>
229                    <tr>
230                        <th class="alignL">電話番号</th>
231                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
232                    </tr>
233                    <tr>
234                        <th class="alignL">FAX番号</th>
235                        <td>
236                            <!--{if $shippingItem.shipping_fax01 > 0}-->
237                                <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
238                            <!--{/if}-->
239                        </td>
240                    </tr>
241                    <tr>
242                        <th class="alignL">お届け日</th>
243                        <td><!--{$shippingItem.shipping_date|default:'指定なし'|h}--></td>
244                    </tr>
245                    <tr>
246                        <th class="alignL">お届け時間</th>
247                        <td><!--{$shippingItem.shipping_time|default:'指定なし'|h}--></td>
248                    </tr>
249                </tbody>
250            </table>
251        <!--{/foreach}-->
252
253        <br />
254
255        <h3>メール配信履歴一覧</h3>
256        <table>
257            <tr>
258                <th class="alignC">処理日</th>
259                <th class="alignC">通知メール</th>
260                <th class="alignC">件名</th>
261            </tr>
262            <!--{section name=cnt loop=$tpl_arrMailHistory}-->
263            <tr class="center">
264                <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
265                <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
266                <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
267                <td><a href="#" onclick="eccube.win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
268            </tr>
269            <!--{/section}-->
270        </table>
271
272        <div class="btn_area">
273            <ul>
274                <li>
275                    <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="change" id="change" /></a>
276                </li>
277            </ul>
278        </div>
279
280    </div>
281</div>
Note: See TracBrowser for help on using the repository browser.