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/class/helper/SC_Helper_DB.php

    r22012 r22197  
    14101410        // 店舗基本情報を取得 
    14111411        $CONF = SC_Helper_DB_Ex::sfGetBasisData(); 
    1412  
    1413         return SC_Utils_Ex::sfCalcIncTax($price, $CONF['tax'], $CONF['tax_rule']); 
     1412        $tax      = $tax      === null ? $CONF['tax']      : $tax; 
     1413        $tax_rule = $tax_rule === null ? $CONF['tax_rule'] : $tax_rule; 
     1414 
     1415        return SC_Utils_Ex::sfCalcIncTax($price, $tax, $tax_rule); 
    14141416    } 
    14151417 
Note: See TracChangeset for help on using the changeset viewer.