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

Revision 21545, 7.4 KB checked in by Seasoft, 12 years ago (diff)

#1661 (共通ロジックを利用する)

  • SC_Helper_DB#sfCalcIncTax (メソッドの変更は既に完了しているため、引数の省略のみ)
  • 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<!--{strip}-->
26    購入日時:<!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br>
27    注文番号:<!--{$tpl_arrOrderData.order_id}--><br>
28    お支払い方法:<!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}-->
29    <!--{if $tpl_arrOrderData.deliv_time_id != ""}--><br>
30        お届け時間:<!--{$arrDelivTime[$tpl_arrOrderData.deliv_time_id]|h}-->
31    <!--{/if}-->
32    <!--{if $tpl_arrOrderData.deliv_date != ""}--><br>
33        お届け日:<!--{$tpl_arrOrderData.deliv_date|h}-->
34    <!--{/if}-->
35
36    <form action="order.php" method="post">
37        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
38        <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id}-->">
39        <input type="submit" name="submit" value="再注文">
40    </form>
41
42    ■購入商品詳細<br>
43    <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
44        <hr>
45        商品コード:<!--{$orderDetail.product_code|h}--><br>
46        商品名:<a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a><br>
47        商品種別:
48        <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
49            <!--{if $orderDetail.is_downloadable}-->
50                <!--{if $isAU == false}-->
51                    <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><br>
52                <!--{else}-->
53                    <object data="<!--{$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}-->&PHPSESSID=<!--{$phpsessid}-->" copyright="no" standby="ダウンロード" type="<!--{$orderDetail.mime_type}-->">
54                        <param name="title" value="<!--{$orderDetail.down_filename}-->" valuetype="data">
55                    </object><br>
56                <!--{/if}-->
57            <!--{else}-->
58                <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
59                    <!--{$arrProductType[$orderDetail.product_type_id]}--><br>(入金確認中)<br>
60                <!--{else}-->
61                    <!--{$arrProductType[$orderDetail.product_type_id]}--><br>(期限切れ)<br>
62                <!--{/if}-->
63            <!--{/if}-->
64        <!--{else}-->
65            <!--{$arrProductType[$orderDetail.product_type_id]}--><br>
66        <!--{/if}-->
67        単価:
68        <!--{assign var=price value=`$orderDetail.price`}-->
69        <!--{assign var=quantity value=`$orderDetail.quantity`}-->
70        <!--{$price|sfCalcIncTax|number_format|h}-->円<br>
71        数量:<!--{$quantity|h}--><br>
72        小計:<!--{$price|sfCalcIncTax|sfMultiply:$quantity|number_format}-->円<br>
73    <!--{/foreach}-->
74    <hr>
75    小計:<!--{$tpl_arrOrderData.subtotal|number_format}-->円<br>
76    <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
77    <!--{if $point_discount > 0}-->
78        ポイント値引き:<!--{$point_discount|number_format}-->円<br>
79    <!--{/if}-->
80    <!--{assign var=key value="discount"}-->
81    <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
82        値引き:<!--{$tpl_arrOrderData[$key]|number_format}-->円<br>
83    <!--{/if}-->
84    送料:<!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円<br>
85    手数料:
86    <!--{assign var=key value="charge"}-->
87    <!--{$tpl_arrOrderData[$key]|number_format|h}-->円<br>
88    合計:<!--{$tpl_arrOrderData.payment_total|number_format}-->円<br>
89    <hr>
90    <!-- 使用ポイントここから -->
91    <!--{if $smarty.const.USE_POINT !== false}-->
92        ■使用ポイント<br>
93        ご使用ポイント:<!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt<br>
94        今回加算されるポイント:<!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt<br>
95        <hr>
96    <!--{/if}-->
97    <!-- 使用ポイントここまで -->
98
99    <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
100        ▼お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--><br>
101        <!--{if $isMultiple}-->
102            <!--{foreach item=item from=$shippingItem.shipment_item}-->
103                商品コード:<!--{$item.productsClass.product_code|h}--><br>
104                商品名:<!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br>
105                <!--{if $item.productsClass.classcategory_name1 != ""}-->
106                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br>
107                <!--{/if}-->
108                <!--{if $item.productsClass.classcategory_name2 != ""}-->
109                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br>
110                <!--{/if}-->
111                単価:<!--{$item.price|sfCalcIncTax|number_format}-->円<br>
112                数量:<!--{$item.quantity}--><br>
113                <br>
114            <!--{/foreach}-->
115        <!--{/if}-->
116        ●お名前<br>
117        <!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--><br>
118        ●お名前(フリガナ)<br>
119        <!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--><br>
120        ●住所<br>
121        〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--><br>
122        <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--><br>
123        ●電話番号<br>
124        <!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--><br>
125    <!--{/foreach}-->
126
127    <hr>
128
129    ■メール配信履歴一覧<br>
130    <!--{section name=cnt loop=$tpl_arrMailHistory}-->
131        <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
132        処理日:<!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br>
133        通知メール:<!--{$arrMAILTEMPLATE[$key]|h}--><br>
134        件名:
135        <a href="./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a><br>
136    <!--{/section}-->
137    <br>
138<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.