source: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl @ 20727

Revision 20727, 10.9 KB checked in by nanasess, 13 years ago (diff)

#932 (商品をお気に入りに入れたかどうかの判別が動いていない。)

  • その他デザイン調整
  • 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-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>購入日時:&nbsp;</strong><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br />
32        <strong>注文番号:&nbsp;</strong><!--{$tpl_arrOrderData.order_id}--><br />
33        <strong>お支払い方法:&nbsp;</strong><!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}-->
34        <!--{if $tpl_arrOrderData.deliv_time_id != ""}--><br />
35        <strong>お届け時間:&nbsp;</strong><!--{$arrDelivTime[$tpl_arrOrderData.deliv_time_id]|h}-->
36        <!--{/if}-->
37        <!--{if $tpl_arrOrderData.deliv_date != ""}--><br />
38        <strong>お届け日:&nbsp;</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 class="spbtn spbtn-shopping" type="submit" name="submit" value="再注文">
46        </form>
47
48        <table summary="購入商品詳細" class="entryform">
49            <tr>
50                <th class="alignC valignM">商品コード</th>
51                <th class="alignC valignM">商品内容</th>
52                <th class="alignC valignM">数量</th>
53                <th class="alignC valignM">小計</th>
54            </tr>
55            <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
56                <tr>
57                    <td><!--{$orderDetail.product_code|h}--></td>
58                    <td><!--→商品名--><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a><!--←商品名--><br /><!--→商品種別--><!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
59                        <!--{if $orderDetail.price == "0" || ( $orderDetail.status >= "4" && $orderDetail.effective == "1" )}-->
60                            <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&amp;product_id=<!--{$orderDetail.product_id}-->&amp;product_class_id=<!--{$orderDetail.product_class_id}-->">ダウンロード</a>
61                        <!--{elseif $orderDetail.payment_date == "" || $orderDetail.status < "4"}-->
62                            <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(入金確認中)
63                        <!--{elseif $orderDetail.effective != "1"}-->
64                            <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(期限切れ)
65                        <!--{/if}-->
66                    <!--{else}-->
67                        <!--{$arrProductType[$orderDetail.product_type_id]}-->
68                    <!--{/if}--><!--←商品種別--><br /><!--→金額--><!--{assign var=price value=`$orderDetail.price`}-->
69                    <!--{assign var=quantity value=`$orderDetail.quantity`}-->
70<!--{$price|number_format|h}-->円<!--←金額--></td>
71
72                    <td class="detailtdNumber"><!--{$quantity|h}--></td>
73                    <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
74                </tr>
75            <!--{/foreach}-->
76            <tr>
77                <th colspan="3" class="resulttd">小計</th>
78                <td class="pricetd"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td>
79            </tr>
80            <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
81            <!--{if $point_discount > 0}-->
82            <tr>
83                <th colspan="3" class="resulttd">ポイント値引き</th>
84                <td class="alignR"><!--{$point_discount|number_format}-->円</td>
85            </tr>
86            <!--{/if}-->
87            <!--{assign var=key value="discount"}-->
88            <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
89            <tr>
90                <th colspan="3" class="resulttd">値引き</th>
91                <td class="pricetd"><!--{$tpl_arrOrderData[$key]|number_format}-->円</td>
92            </tr>
93            <!--{/if}-->
94            <tr>
95                <th colspan="3" class="resulttd">送料</th>
96                <td class="pricetd"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
97            </tr>
98            <tr>
99                <th colspan="3" class="resulttd">手数料</th>
100                <!--{assign var=key value="charge"}-->
101                <td class="pricetd"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
102            </tr>
103            <tr>
104                <th colspan="3" class="resulttd">合計</th>
105                <td class="pricetd"><em><!--{$tpl_arrOrderData.payment_total|number_format}-->円</em></td>
106            </tr>
107        </table>
108
109        <!-- 使用ポイントここから -->
110        <!--{if $smarty.const.USE_POINT !== false}-->
111            <table summary="使用ポイント" class="entryform">
112                <tr>
113                    <th>ご使用ポイント</th>
114                    <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
115                </tr>
116                <tr>
117                    <th>今回加算されるポイント</th>
118                    <td class="pricetd"><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
119                </tr>
120            </table>
121        <!--{/if}-->
122        <!-- 使用ポイントここまで -->
123
124        <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
125        <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
126        <!--{if $isMultiple}-->
127            <table summary="お届け内容確認" class="entryform">
128              <tr>
129                <th class="alignC valignM">商品コード</th>
130                <th class="alignC valignM">商品名</th>
131                <th class="alignC valignM">単価</th>
132                <th class="alignC valignM">数量</th>
133                <!--{* XXX 購入小計と誤差が出るためコメントアウト
134                <th>小計</th>
135                *}-->
136              </tr>
137              <!--{foreach item=item from=$shippingItem.shipment_item}-->
138                  <tr>
139                      <td><!--{$item.productsClass.product_code|h}--></td>
140                      <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br />
141                          <!--{if $item.productsClass.classcategory_name1 != ""}-->
142                              <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
143                          <!--{/if}-->
144                          <!--{if $item.productsClass.classcategory_name2 != ""}-->
145                              <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
146                          <!--{/if}-->
147                      </td>
148                      <td class="alignR">
149                          <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
150                      </td>
151                      <td id="quantity"><!--{$item.quantity}--></td>
152                      <!--{* XXX 購入小計と誤差が出るためコメントアウト
153                      <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
154                      *}-->
155                  </tr>
156              <!--{/foreach}-->
157            </table>
158         <!--{/if}-->
159        <table summary="お届け先" class="entryform">
160            <tbody>
161                <tr>
162                    <th>お名前</th>
163                    <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
164                </tr>
165                <tr>
166                    <th>お名前(フリガナ)</th>
167                    <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
168                </tr>
169                <tr>
170                    <th>郵便番号</th>
171                    <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
172                </tr>
173                <tr>
174                    <th>住所</th>
175                    <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
176                </tr>
177                <tr>
178                    <th>電話番号</th>
179                    <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
180                </tr>
181            </tbody>
182        </table>
183        <!--{/foreach}-->
184
185        <h3>メール配信履歴一覧</h3>
186        <table class="entryform">
187            <tr>
188                <th class="alignC valignM">処理日</th>
189                <th class="alignC valignM">通知メール</th>
190                <th class="alignC valignM">件名</th>
191            </tr>
192            <!--{section name=cnt loop=$tpl_arrMailHistory}-->
193            <tr class="center">
194                <td><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
195                <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
196                <td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
197                <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>
198            </tr>
199            <!--{/section}-->
200        </table>
201
202        <div class="tblareabtn">
203            <a class="spbtn spbtn-medeum" href="./<!--{$smarty.const.DIR_INDEX_PATH}-->">戻る</a>
204        </div>
205
206    </div>
207</div>
208<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.