Ignore:
Timestamp:
2013/01/04 16:31:37 (8 years ago)
Author:
habu
Message:

#1730 税率変更に対応できない

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/admin/order/disp.tpl

    r21867 r22197  
    141141                <!--{assign var=price value=`$arrForm.price.value[$product_index]`}--> 
    142142                <!--{assign var=quantity value=`$arrForm.quantity.value[$product_index]`}--> 
    143                 <td class="right"><!--{$price|sfCalcIncTax|number_format}--> 円</td> 
    144                 <td class="right"><!--{$price|sfCalcIncTax|sfMultiply:$quantity|number_format}-->円</td> 
     143                <!--{assign var=tax_rate value=`$arrForm.tax_rate.value[$product_index]`}--> 
     144                <!--{assign var=tax_rule value=`$arrForm.tax_rule.value[$product_index]`}--> 
     145                <td class="right"><!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|number_format}--> 円(税率<!--{$tax_rate|number_format}-->%)</td> 
     146                <td class="right"><!--{$price|sfCalcIncTax:$tax_rate:$tax_rule|sfMultiply:$quantity|number_format}-->円</td> 
    145147        </tr> 
    146148        <!--{/section}--> 
     
    219221                            <td class="right"> 
    220222                                <!--{assign var=key value="shipment_price"}--> 
    221                                 <!--{$arrShipping[$key][$item_index]|sfCalcIncTax|number_format}-->円 
     223                                <!--{$arrShipping[$key][$item_index]|sfCalcIncTax:$arrForm.order_tax_rate.value:$arrForm.order_tax_rule.value|number_format}-->円 
    222224                            </td> 
    223225                            <td class="right"> 
Note: See TracChangeset for help on using the changeset viewer.