Ignore:
Timestamp:
2013/06/05 17:50:22 (11 years ago)
Author:
shutta
Message:

#2258 (商品管理> 商品登録画面の関連商品表示にて、規格のある商品の商品コードがひとつしか表示されない)
複数の商品コードを持った商品(規格のある商品)の場合、他の画面での表示と同様に、
最小の商品コード ~ 最大の商品コード
のように表示するよう修正。

Location:
branches/version-2_13-dev/data/Smarty/templates/admin/products
Files:
2 edited

Legend:

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

    r22736 r22849  
    282282                    <td> 
    283283                        <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}--> 
    284                             商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br /> 
     284                            商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--> 
     285                            <!--{if $arrRecommend[$recommend_no].product_code_min != $arrRecommend[$recommend_no].product_code_max}--> 
     286                                ~ <!--{$arrRecommend[$recommend_no].product_code_max}--> 
     287                            <!--{/if}--> 
     288                            <br /> 
    285289                            商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br /> 
    286290                            コメント:<br /> 
  • branches/version-2_13-dev/data/Smarty/templates/admin/products/product.tpl

    r22736 r22849  
    441441                <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}--> 
    442442                <span class="attention"><!--{$arrErr[$key]}--></span> 
    443                 商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br /> 
     443                商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--> 
     444                <!--{if $arrRecommend[$recommend_no].product_code_min != $arrRecommend[$recommend_no].product_code_max}--> 
     445                    ~ <!--{$arrRecommend[$recommend_no].product_code_max}--> 
     446                <!--{/if}--> 
     447                <br /> 
    444448                商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br /> 
    445449                <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrRecommend[$recommend_no].comment|h}--></textarea><br /> 
Note: See TracChangeset for help on using the changeset viewer.