Ignore:
Timestamp:
2013/06/08 16:35:27 (11 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 主に空白・空白行の調整。もう少し整えたいが、一旦現状コミット。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_TaxRule.php

    r22848 r22856  
    3131class SC_Helper_TaxRule 
    3232{ 
    33  
    3433    /** 
    3534     * 設定情報に基づいて税金付与した金額を返す 
     
    5251    { 
    5352        $arrTaxRule = SC_Helper_TaxRule_Ex::getTaxRule($product_id, $product_class_id, $pref_id, $country_id); 
     53 
    5454        return SC_Helper_TaxRule_Ex::calcTax($price, $arrTaxRule['tax_rate'], $arrTaxRule['tax_rule'], $arrTaxRule['tax_adjust']); 
    5555    } 
     
    7777    { 
    7878        $arrTaxRule = SC_Helper_TaxRule_Ex::getTaxRuleData($tax_rule_id); 
     79 
    7980        return SC_Helper_TaxRule_Ex::calcTax($price, $arrTaxRule['tax_rate'], $arrTaxRule['tax_rule'], $arrTaxRule['tax_adjust']); 
    8081    } 
     
    111112                break; 
    112113        } 
     114 
    113115        return $ret + $tax_adjust; 
    114116    } 
    115  
    116117 
    117118    /** 
     
    272273    } 
    273274 
    274  
    275275    function getTaxRuleList($has_deleted = false) 
    276276    { 
     
    285285        $objQuery->setOrder('apply_date DESC'); 
    286286        $arrRet = $objQuery->select($col, $table, $where); 
     287 
    287288        return $arrRet; 
    288289 
     
    296297            $where .= ' AND del_flg = 0'; 
    297298        } 
     299 
    298300        return $objQuery->getRow('*', 'dtb_tax_rule', $where, array($tax_rule_id)); 
    299301    } 
    300  
    301  
    302302 
    303303    function getTaxRuleByTime($apply_date, $has_deleted = false) 
     
    309309        } 
    310310        $arrRet = $objQuery->select('*', 'dtb_tax_rule', $where, array($apply_date)); 
     311 
    311312        return $arrRet[0]; 
    312313    } 
Note: See TracChangeset for help on using the changeset viewer.