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

Revision 19959, 5.9 KB checked in by kotani, 13 years ago (diff)

#880(mobile/sphoneディレクトリを削除)に対応。(mobile/mypageディレクトリ)

  • モバイルサイトのMYページをPCサイトの動作に合わせる。
  • mobileAction() を削除し、ビジネスロジック統一。
  • Property svn:eol-style set to LF
  • 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<div align="center">購入履歴</div>
25<hr>
26
27購入日時:<!--{$arrDisp.create_date|sfDispDBDate}--><br />
28注文番号:<!--{$arrDisp.order_id}--><br />
29お支払い方法:<!--{$arrPayment[$arrDisp.payment_id]|h}-->
30<!--{if $arrDisp.deliv_time_id != ""}--><br />
31お届け時間:<!--{$arrDelivTime[$arrDisp.deliv_time_id]|h}-->
32<!--{/if}-->
33<!--{if $arrDisp.deliv_date != ""}--><br />
34お届け日:<!--{$arrDisp.deliv_date|h}-->
35<!--{/if}-->
36
37<form action="order.php" method="post">
38<input type="hidden" name="order_id" value="<!--{$arrDisp.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 == PRODUCT_TYPE_DOWNLOAD}-->
49<!--{ if $orderDetail.price == "0" || ( $orderDetail.status >= "4" && $orderDetail.effective == "1" )}-->
50<a target="_self" href="<!--{$smarty.const.URL_PATH}-->mypage/download.php?order_id=<!--{$arrDisp.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">ダウンロード</a><br>
51<!--{ elseif $orderDetail.payment_date == "" || $orderDetail.status < "4"}-->
52ダウンロード商品<br>(入金確認中)<br>
53<!--{ elseif $orderDetail.effective != "1"}-->
54ダウンロード商品<br>(期限切れ)<br>
55<!--{ /if }-->
56<!--{ else if $orderDetail.product_type_id == PRODUCT_TYPE_NORMAL}-->
57通常商品<br>
58<!--{ /if }-->
59単価:
60<!--{assign var=price value=`$orderDetail.price`}-->
61<!--{assign var=quantity value=`$orderDetail.quantity`}-->
62<!--{$price|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小計:<!--{$arrDisp.subtotal|number_format}-->円<br>
68<!--{assign var=point_discount value="`$arrDisp.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 $arrDisp[$key] != "" && $arrDisp[$key] > 0}-->
74値引き:<!--{$arrDisp[$key]|number_format}-->円<br>
75<!--{/if}-->
76送料:<!--{assign var=key value="deliv_fee"}--><!--{$arrDisp[$key]|number_format|h}-->円<br>
77手数料:
78<!--{assign var=key value="charge"}-->
79<!--{$arrDisp[$key]|number_format|h}-->円<br>
80合計:<!--{$arrDisp.payment_total|number_format}-->円<br>
81<hr>
82<!-- 使用ポイントここから -->
83<!--{if $smarty.const.USE_POINT !== false}-->
84■使用ポイント<br>
85ご使用ポイント:<!--{assign var=key value="use_point"}--><!--{$arrDisp[$key]|number_format|default:0}--> pt<br>
86今回加算されるポイント:<!--{$arrDisp.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.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.productsClass.price02|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=$arrMailHistory}-->
123<!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
124処理日:<!--{$arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br>
125通知メール:<!--{$arrMAILTEMPLATE[$key]|h}--><br>
126件名:
127<a href="./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->"><!--{$arrMailHistory[cnt].subject|h}--></a><br>
128<!--{/section}-->
129<br>
130
131<!-- ▼フッター ここから -->
132<!--{include file='footer.tpl'}-->
133<!-- ▲フッター ここまで -->
Note: See TracBrowser for help on using the repository browser.