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

Revision 21000, 6.1 KB checked in by shutta, 13 years ago (diff)

refs #1382 (Myページ>購入履歴詳細 商品単価だけ税抜価格で表示されている)

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