source: branches/version-2_13-dev/data/Smarty/templates/admin/products/product_class_confirm.tpl @ 22736

Revision 22736, 5.9 KB checked in by h_yoshimoto, 11 years ago (diff)

#2193 税率チームのコミットをマージ(from camp/camp-2_13-tax)

  • 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-2013 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<h2>確認</h2>
26<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
27<input type="hidden" name="mode" value="" />
28<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
29<!--{foreach key=key item=items from=$arrForm}-->
30    <!--{if !array_key_exists($key, $arrSearchHidden)}-->
31        <!--{if is_array($items.value)}-->
32            <!--{foreach key=index item=item from=$items.value}-->
33                <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$item|h}-->" />
34            <!--{/foreach}-->
35        <!--{else}-->
36            <input type="hidden" name="<!--{$key}-->" value="<!--{$items.value|h}-->" />
37        <!--{/if}-->
38    <!--{/if}-->
39<!--{/foreach}-->
40
41<!--{foreach key=key item=item from=$arrSearchHidden}-->
42    <!--{if is_array($item)}-->
43        <!--{foreach item=c_item from=$item}-->
44        <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
45        <!--{/foreach}-->
46    <!--{else}-->
47        <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
48    <!--{/if}-->
49<!--{/foreach}-->
50
51<div id="products" class="contents-main">
52
53    <!--{if count($arrForm.check.value) > 0}-->
54        <!--{assign var=key1 value="class_id1"}-->
55        <!--{assign var=key2 value="class_id2"}-->
56        <!--{assign var=class_id1 value=$arrForm[$key1].value|h}-->
57        <!--{assign var=class_id2 value=$arrForm[$key2].value|h}-->
58        <table class="list">
59                <tr>
60                <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"|h}-->)</th>
61                <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"|h}-->)</th>
62                <th>商品コード</th>
63                <th>在庫数</th>
64                <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
65                <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th>
66                <th>消費税率(%)</th>
67                <th>商品種別</th>
68                <th>ダウンロードファイル名</th>
69                <th>ダウンロード商品用ファイルアップロード</th>
70            </tr>
71            <!--{section name=cnt loop=$arrForm.total.value}-->
72                <!--{assign var=index value=$smarty.section.cnt.index}-->
73
74                <!--{if $arrForm.check.value[$index] == 1}-->
75                    <tr>
76                        <!--{assign var=key value="classcategory_name1"}-->
77                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
78                        <!--{assign var=key value="classcategory_name2"}-->
79                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
80                        <!--{assign var=key value="product_code"}-->
81                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
82                        <!--{assign var=key1 value="stock"}-->
83                        <!--{assign var=key2 value="stock_unlimited"}-->
84                        <td class="right">
85                            <!--{if $arrForm[$key2].value[$index] == 1}-->
86                                無制限
87                            <!--{else}-->
88                                <!--{$arrForm[$key1].value[$index]|h}-->
89                            <!--{/if}-->
90                        </td>
91                        <!--{assign var=key value="price01"}-->
92                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
93                        <!--{assign var=key value="price02"}-->
94                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
95                        <!--{assign var=key value="tax_rate"}-->
96                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
97                        <!--{assign var=key value="product_type_id"}-->
98                        <td class="right">
99                            <!--{foreach from=$arrForm[$key].value[$index] item=product_type_id}-->
100                                <!--{$arrProductType[$product_type_id]|h}-->
101                            <!--{/foreach}-->
102                        </td>
103                        <!--{assign var=key value="down_filename"}-->
104                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
105                        <!--{assign var=key value="down_realfilename"}-->
106                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
107                    </tr>
108                <!--{/if}-->
109            <!--{/section}-->
110        </table>
111    <!--{else}-->
112        <div class="message">規格が選択されていません。</div>
113    <!--{/if}-->
114
115    <div class="btn-area">
116        <ul>
117            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
118        <!--{if count($arrForm.check.value) > 0}-->
119            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
120        <!--{/if}-->
121        </ul>
122    </div>
123</div>
124</form>
Note: See TracBrowser for help on using the repository browser.