Changeset 22484 for branches/version-2_12-dev/data/class
- Timestamp:
- 2013/01/30 20:14:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Product.php
r22206 r22484 554 554 $arrProducts[$key]['price02_max_format'] = number_format($arrProducts[$key]['price02_max']); 555 555 556 $arrProducts[$key]['price01_min_tax'] = SC_Helper_DB ::sfCalcIncTax($arrProducts[$key]['price01_min']);557 $arrProducts[$key]['price01_max_tax'] = SC_Helper_DB ::sfCalcIncTax($arrProducts[$key]['price01_max']);558 $arrProducts[$key]['price02_min_tax'] = SC_Helper_DB ::sfCalcIncTax($arrProducts[$key]['price02_min']);559 $arrProducts[$key]['price02_max_tax'] = SC_Helper_DB ::sfCalcIncTax($arrProducts[$key]['price02_max']);556 $arrProducts[$key]['price01_min_tax'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProducts[$key]['price01_min']); 557 $arrProducts[$key]['price01_max_tax'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProducts[$key]['price01_max']); 558 $arrProducts[$key]['price02_min_tax'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProducts[$key]['price02_min']); 559 $arrProducts[$key]['price02_max_tax'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProducts[$key]['price02_max']); 560 560 561 561 $arrProducts[$key]['price01_min_tax_format'] = number_format($arrProducts[$key]['price01_min_tax']); … … 586 586 */ 587 587 static function setIncTaxToProduct(&$arrProduct) { 588 $arrProduct['price01_min_inctax'] = isset($arrProduct['price01_min']) ? SC_Helper_DB ::sfCalcIncTax($arrProduct['price01_min']) : null;589 $arrProduct['price01_max_inctax'] = isset($arrProduct['price01_max']) ? SC_Helper_DB ::sfCalcIncTax($arrProduct['price01_max']) : null;590 $arrProduct['price02_min_inctax'] = isset($arrProduct['price02_min']) ? SC_Helper_DB ::sfCalcIncTax($arrProduct['price02_min']) : null;591 $arrProduct['price02_max_inctax'] = isset($arrProduct['price02_max']) ? SC_Helper_DB ::sfCalcIncTax($arrProduct['price02_max']) : null;588 $arrProduct['price01_min_inctax'] = isset($arrProduct['price01_min']) ? SC_Helper_DB_Ex::sfCalcIncTax($arrProduct['price01_min']) : null; 589 $arrProduct['price01_max_inctax'] = isset($arrProduct['price01_max']) ? SC_Helper_DB_Ex::sfCalcIncTax($arrProduct['price01_max']) : null; 590 $arrProduct['price02_min_inctax'] = isset($arrProduct['price02_min']) ? SC_Helper_DB_Ex::sfCalcIncTax($arrProduct['price02_min']) : null; 591 $arrProduct['price02_max_inctax'] = isset($arrProduct['price02_max']) ? SC_Helper_DB_Ex::sfCalcIncTax($arrProduct['price02_max']) : null; 592 592 } 593 593
Note: See TracChangeset
for help on using the changeset viewer.