- Timestamp:
- 2013/08/05 06:22:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_History.php
r23009 r23026 48 48 $this->arrMAILTEMPLATE = $masterData->getMasterData('mtb_mail_template'); 49 49 $this->arrPref = $masterData->getMasterData('mtb_pref'); 50 $this->arrCountry = $masterData->getMasterData('mtb_country'); 50 51 $this->arrWDAY = $masterData->getMasterData('mtb_wday'); 51 52 $this->arrProductType = $masterData->getMasterData('mtb_product_type'); … … 98 99 //必要なのは商品の販売金額のみなので、遅い場合は、別途SQL作成した方が良い 99 100 $arrTempProductDetail = $objProduct->getProductsClass($arrOrderProductDetail['product_class_id']); 100 if($this->tpl_arrOrderDetail[$product_index]['price'] != $arrTempProductDetail['price02']) { 101 // 税計算 102 $this->tpl_arrOrderDetail[$product_index]['price_inctax'] = $this->tpl_arrOrderDetail[$product_index]['price'] + 103 SC_Helper_TaxRule_Ex::calcTax ( 104 $this->tpl_arrOrderDetail[$product_index]['price'], 105 $this->tpl_arrOrderDetail[$product_index]['tax_rate'], 106 $this->tpl_arrOrderDetail[$product_index]['tax_rule'] 107 ); 108 $arrTempProductDetail['price02_inctax'] = SC_Helper_TaxRule_Ex::sfCalcIncTax( 109 $arrTempProductDetail['price02'], 110 $arrTempProductDetail['product_id'], 111 $arrTempProductDetail['product_class_id'] 112 ); 113 if($this->tpl_arrOrderDetail[$product_index]['price_inctax'] != $arrTempProductDetail['price02_inctax']) { 101 114 $this->is_price_change = true; 102 115 } 103 $this->tpl_arrOrderDetail[$product_index]['product_price '] = ($arrTempProductDetail['price02'])?$arrTempProductDetail['price02']:0;116 $this->tpl_arrOrderDetail[$product_index]['product_price_inctax'] = ($arrTempProductDetail['price02_inctax']) ? $arrTempProductDetail['price02_inctax'] : 0 ; 104 117 } 105 118
Note: See TracChangeset
for help on using the changeset viewer.