Changeset 22631


Ignore:
Timestamp:
2013/03/09 17:06:30 (11 years ago)
Author:
maeken
Message:

商品登録画面の消費税率入力対応

Location:
branches/camp/camp-2_13-tax/data/Smarty/templates/admin/products
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_13-tax/data/Smarty/templates/admin/products/confirm.tpl

    r22571 r22631  
    123123            </tr> 
    124124            <tr> 
     125                <th>消費税率</th> 
     126                <td> 
     127                    <!--{if strlen($arrForm.tax_rate) >= 1}--><!--{$arrForm.tax_rate|h}--> %<!--{/if}--> 
     128                </td> 
     129            </tr> 
     130            <tr> 
    125131                <th>在庫数</th> 
    126132                <td> 
  • branches/camp/camp-2_13-tax/data/Smarty/templates/admin/products/product.tpl

    r22571 r22631  
    187187        </tr> 
    188188        <tr> 
     189            <th>消費税率<span class="attention"> *</span></th> 
     190            <td> 
     191                <span class="attention"><!--{$arrErr.tax_rate}--></span> 
     192                <input type="text" name="tax_rate" value="<!--{$arrForm.tax_rate|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.tax_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>% 
     193                <span class="attention">(半角数字で入力)</span> 
     194            </td> 
     195        </tr> 
     196        <tr> 
    189197            <th>在庫数<span class="attention"> *</span></th> 
    190198            <td> 
  • branches/camp/camp-2_13-tax/data/Smarty/templates/admin/products/product_class.tpl

    r22571 r22631  
    201201            <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th> 
    202202            <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)<span class="attention">*</span></th> 
     203            <th>消費税率(%)<span class="attention">*</span></th> 
    203204            <th>商品種別<span class="attention">*</span></th> 
    204205            <th>ダウンロード<br />ファイル名<span class="red"><br />上限<!--{$smarty.const.STEXT_LEN}-->文字</span></th> 
     
    270271                    <!--{/if}--> 
    271272                    <input type="text" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]|h}-->" size="6" class="box6" maxlength="<!--{$arrForm[$key].length}-->" <!--{if $arrErr[$key][$index] != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> id="<!--{$key}-->_<!--{$index}-->" /> 
     273                </td> 
     274                <td class="center"> 
     275                    <!--{assign var=key value="tax_rate"}--> 
     276                    <!--{if $arrErr[$key][$index]}--> 
     277                        <span class="attention"><!--{$arrErr[$key][$index]}--></span> 
     278                    <!--{/if}--> 
     279                    <input type="text" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]|h}-->" size="6" class="box6" maxlength="<!--{$arrForm[$key].length}-->" <!--{if $arrErr[$key][$index] != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> id="<!--{$key}-->_<!--{$index}-->" />                 
    272280                </td> 
    273281                <td class="class-product-type"> 
  • branches/camp/camp-2_13-tax/data/Smarty/templates/admin/products/product_class_confirm.tpl

    r22206 r22631  
    6464                <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th> 
    6565                <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th> 
     66                <th>消費税率(%)</th> 
    6667                <th>商品種別</th> 
    6768                <th>ダウンロードファイル名</th> 
     
    9192                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td> 
    9293                        <!--{assign var=key value="price02"}--> 
     94                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td> 
     95                        <!--{assign var=key value="tax_rate"}--> 
    9396                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td> 
    9497                        <!--{assign var=key value="product_type_id"}--> 
Note: See TracChangeset for help on using the changeset viewer.