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

Revision 21354, 6.6 KB checked in by eccuore, 12 years ago (diff)

#1555 モバイルダウンロード対応(一部、スマフォも対応)

MIMETYPE判定追加
カタカナ変換をしている部分でエラー発生していたので、ダウンロード時は変換をしないように修正
AU実機では、Aタグでダウンロード出来ないケースがあるのでTPLでAU判定を追加
AndroidでのPDFダウンロード対応

  • 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<!--{if $isAU == false}-->
49<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>
50<!--{else}-->
51<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}-->">
52<param name="title" value="<!--{$orderDetail.down_filename}-->" valuetype="data">
53</object><br>
54<!--{/if}-->
55<!--{else}-->
56<!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
57<!--{$arrProductType[$orderDetail.product_type_id]}--><br>(入金確認中)<br>
58<!--{else}-->
59<!--{$arrProductType[$orderDetail.product_type_id]}--><br>(期限切れ)<br>
60<!--{/if}-->
61<!--{/if}-->
62<!--{else}-->
63<!--{$arrProductType[$orderDetail.product_type_id]}--><br>
64<!--{/if}-->
65単価:
66<!--{assign var=price value=`$orderDetail.price`}-->
67<!--{assign var=quantity value=`$orderDetail.quantity`}-->
68<!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format|h}-->円<br>
69数量:<!--{$quantity|h}--><br>
70小計:<!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円<br>
71<!--{/foreach}-->
72<hr>
73小計:<!--{$tpl_arrOrderData.subtotal|number_format}-->円<br>
74<!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
75<!--{if $point_discount > 0}-->
76ポイント値引き:<!--{$point_discount|number_format}-->円<br>
77<!--{/if}-->
78<!--{assign var=key value="discount"}-->
79<!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
80値引き:<!--{$tpl_arrOrderData[$key]|number_format}-->円<br>
81<!--{/if}-->
82送料:<!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円<br>
83手数料:
84<!--{assign var=key value="charge"}-->
85<!--{$tpl_arrOrderData[$key]|number_format|h}-->円<br>
86合計:<!--{$tpl_arrOrderData.payment_total|number_format}-->円<br>
87<hr>
88<!-- 使用ポイントここから -->
89<!--{if $smarty.const.USE_POINT !== false}-->
90■使用ポイント<br>
91ご使用ポイント:<!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt<br>
92今回加算されるポイント:<!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt<br>
93<hr>
94<!--{/if}-->
95<!-- 使用ポイントここまで -->
96
97<!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
98▼お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--><br>
99<!--{if $isMultiple}-->
100<!--{foreach item=item from=$shippingItem.shipment_item}-->
101商品コード:<!--{$item.productsClass.product_code|h}--><br>
102商品名:<!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br>
103<!--{if $item.productsClass.classcategory_name1 != ""}-->
104<!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br>
105<!--{/if}-->
106<!--{if $item.productsClass.classcategory_name2 != ""}-->
107<!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br>
108<!--{/if}-->
109単価:<!--{$item.price|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円<br>
110数量:<!--{$item.quantity}--><br>
111<br>
112<!--{/foreach}-->
113<!--{/if}-->
114●お名前<br>
115<!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--><br>
116●お名前(フリガナ)<br>
117<!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--><br>
118●住所<br>
119〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--><br>
120<!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--><br>
121●電話番号<br>
122<!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--><br>
123<!--{/foreach}-->
124
125<hr>
126
127■メール配信履歴一覧<br>
128<!--{section name=cnt loop=$tpl_arrMailHistory}-->
129<!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
130処理日:<!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br>
131通知メール:<!--{$arrMAILTEMPLATE[$key]|h}--><br>
132件名:
133<a href="./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a><br>
134<!--{/section}-->
135<br>
Note: See TracBrowser for help on using the repository browser.