Changeset 22736 for branches/version-2_13-dev/data/class/SC_Product.php
- Timestamp:
- 2013/03/15 19:12:17 (11 years ago)
- Location:
- branches/version-2_13-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev
-
branches/version-2_13-dev/data/class/SC_Product.php
r22593 r22736 29 29 * @version $Id$ 30 30 */ 31 class SC_Product 31 class SC_Product 32 32 { 33 33 … … 304 304 $arrClassCats2['price01'] 305 305 = strlen($arrProductsClass['price01']) 306 ? number_format(SC_Helper_ DB_Ex::sfCalcIncTax($arrProductsClass['price01']))306 ? number_format(SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProductsClass['price01'], $productId, $arrProductsClass['product_class_id'])) 307 307 : ''; 308 308 309 309 $arrClassCats2['price02'] 310 310 = strlen($arrProductsClass['price02']) 311 ? number_format(SC_Helper_ DB_Ex::sfCalcIncTax($arrProductsClass['price02']))311 ? number_format(SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProductsClass['price02'], $productId, $arrProductsClass['product_class_id'])) 312 312 : ''; 313 313 … … 611 611 static function setIncTaxToProduct(&$arrProduct) 612 612 { 613 $arrProduct['price01_min_inctax'] = isset($arrProduct['price01_min']) ? SC_Helper_ DB_Ex::sfCalcIncTax($arrProduct['price01_min']) : null;614 $arrProduct['price01_max_inctax'] = isset($arrProduct['price01_max']) ? SC_Helper_ DB_Ex::sfCalcIncTax($arrProduct['price01_max']) : null;615 $arrProduct['price02_min_inctax'] = isset($arrProduct['price02_min']) ? SC_Helper_ DB_Ex::sfCalcIncTax($arrProduct['price02_min']) : null;616 $arrProduct['price02_max_inctax'] = isset($arrProduct['price02_max']) ? SC_Helper_ DB_Ex::sfCalcIncTax($arrProduct['price02_max']) : null;613 $arrProduct['price01_min_inctax'] = isset($arrProduct['price01_min']) ? SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price01_min'], $arrProduct['product_id']) : null; 614 $arrProduct['price01_max_inctax'] = isset($arrProduct['price01_max']) ? SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price01_max'], $arrProduct['product_id']) : null; 615 $arrProduct['price02_min_inctax'] = isset($arrProduct['price02_min']) ? SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price02_min'], $arrProduct['product_id']) : null; 616 $arrProduct['price02_max_inctax'] = isset($arrProduct['price02_max']) ? SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price02_max'], $arrProduct['product_id']) : null; 617 617 } 618 618
Note: See TracChangeset
for help on using the changeset viewer.