source: branches/version-2_5-dev/data/Smarty/templates/admin/basis/delivery_input.tpl @ 20069

Revision 20069, 6.7 KB checked in by nanasess, 11 years ago (diff)

#990(配送設定・支払方法設定の仕様変更)

  • 管理画面 -> 基本情報管理, 商品管理のみ対応
  • 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<form name="form1" id="form1" method="post" action="">
25<input type="hidden" name="mode" value="edit" />
26<!--{assign var=key value="deliv_id"}-->
27<input type="hidden" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" />
28<div id="basis" class="contents-main">
29  <h2>配送業者登録</h2>
30
31  <table>
32    <tr>
33      <th>配送業者名<span class="attention"> *</span></td>
34      <td colspan="3">
35      <!--{assign var=key value="name"}-->
36      <span class="attention"><!--{$arrErr[$key]}--></span>
37      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
38    </tr>
39    <tr>
40      <th>名称<span class="attention"> *</span></td>
41      <td colspan="3">
42      <!--{assign var=key value="service_name"}-->
43      <span class="attention"><!--{$arrErr[$key]}--></span>
44      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
45    </tr>
46    <tr>
47      <th>伝票No.URL</td>
48      <td colspan="3">
49      <!--{assign var=key value="confirm_url"}-->
50      <span class="attention"><!--{$arrErr[$key]}--></span>
51      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
52    </tr>
53    <!--{section name=cnt loop=$smarty.const.DELIVTIME_MAX}-->
54    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
55    <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
56    <!--{assign var=key value="deliv_time`$smarty.section.cnt.iteration`"}-->
57    <!--{assign var=key_next value="deliv_time`$smarty.section.cnt.iteration+1`"}-->
58    <!--{if $type == 0}-->
59      <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
60      <tr>
61        <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
62      </tr>   
63      <!--{/if}-->
64      <tr>
65      <th>お届け時間<!--{$keyno}--></td>
66      <!--{if $smarty.section.cnt.last}-->
67      <!--{assign var=colspan value="3"}--> 
68      <!--{else}-->
69      <!--{assign var=colspan value="1"}-->
70      <!--{/if}-->
71      <td colspan="<!--{$colspan}-->">
72      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="20" class="box20" /></td>
73    <!--{else}-->
74      <th>お届け時間<!--{$keyno}--></td>
75      <td><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> </td>
76      </tr>
77    <!--{/if}-->
78    <!--{/section}-->
79
80  </table>
81
82  <h2>取扱商品種別</h2>
83  <!--{assign var=key value="product_type_id"}-->
84  <table>
85    <tr>
86      <th>商品種別</th>
87      <td><span class="attention"><!--{$arrErr[$key]}--></span><!--{html_radios name=$key options=$arrProductType selected=$arrForm[$key].value separator='&nbsp;&nbsp;'}--></td>
88    </tr>
89  </table>
90
91  <h2>取扱支払方法</h2>
92  <!--{assign var=key value="payment_ids"}-->
93  <table>
94    <tr>
95      <th>支払方法</th>
96      <td>
97        <span class="attention"><!--{$arrErr[$key]}--></span>
98        <!--{html_checkboxes name=$key options=$arrPayments selected=$arrForm[$key].value separator='&nbsp;&nbsp;'}-->
99      </td>
100    </tr>
101  </table>
102
103  <!--{if $smarty.const.INPUT_DELIV_FEE}-->
104  <h2>配送料登録</h2>
105  <div class="btn">※全国一律送料 <input type="text" name="fee_all" class="box10" /> 円に設定する <a class="btn-normal" href="javascript:;" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->); return false;"><span>反映</span></a></div>
106  <table>
107    <!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}-->
108    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
109    <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
110    <!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}-->
111    <!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}-->
112 
113    <!--{if $type == 0}-->
114      <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
115      <tr>
116        <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
117      </tr>   
118      <!--{/if}-->
119      <tr>
120      <th><!--{$arrPref[$keyno]}--></td>
121      <!--{if $smarty.section.cnt.last}-->
122      <!--{assign var=colspan value="3"}--> 
123      <!--{else}-->
124      <!--{assign var=colspan value="1"}-->
125      <!--{/if}-->
126      <td width="247" colspan="<!--{$colspan}-->">
127      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td>
128    <!--{else}-->
129      <th><!--{$arrPref[$keyno]}--></td>
130      <td width="248"><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td>
131      </tr>
132    <!--{/if}-->
133    <!--{/section}-->
134  </table>
135  <!--{/if}-->
136
137  <div class="btn-area">
138    <ul>
139      <li><a class="btn-action" href="javascript:;" onclick="location.href='./delivery.php';"><span class="btn-prev">前のページに戻る</span></a></li>
140      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
141    </ul>
142  </div>
143</div>
144</form>
Note: See TracBrowser for help on using the repository browser.