Changeset 23225
- Timestamp:
- 2013/09/17 16:47:32 (13 years ago)
- Location:
- branches/version-2_13_0/data
- Files:
-
- 3 edited
-
Smarty/templates/default/mail_templates/order_mail.tpl (modified) (1 diff)
-
Smarty/templates/mobile/mail_templates/order_mail.tpl (modified) (1 diff)
-
class/SC_Product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/Smarty/templates/default/mail_templates/order_mail.tpl
r23024 r23225 112 112 商品コード: <!--{$item.product_code}--> 113 113 商品名: <!--{$item.product_name}--> <!--{$item.classcategory_name1}--> <!--{$item.classcategory_name2}--> 114 単価:¥<!--{$item.price|number_format}--> 115 数量:<!--{$item.quantity}--> 114 <!--{assign var=shipping_product value=$item.productsClass}--> 115 単価:¥<!--{$shipping_product.price02_inctax|number_format}--> 116 数量:<!--{$item.quantity|number_format}--> 116 117 117 118 <!--{/foreach}--> -
branches/version-2_13_0/data/Smarty/templates/mobile/mail_templates/order_mail.tpl
r23013 r23225 85 85 商品コード:<!--{$item.product_code}--> 86 86 商品名:<!--{$item.product_name}--> <!--{$item.classcategory_name1}--> <!--{$item.classcategory_name2}--> 87 単価:¥<!--{$item.price|sfCalcIncTax:$arrOrder.order_tax_rate:$arrOrder.order_tax_rule|number_format}--> 88 数量:<!--{$item.quantity}--> 87 <!--{assign var=shipping_product value=$item.productsClass}--> 88 単価:¥<!--{$shipping_product.price02_inctax|number_format}--> 89 数量:<!--{$item.quantity|number_format}--> 89 90 90 91 <!--{/foreach}--> -
branches/version-2_13_0/data/class/SC_Product.php
r23187 r23225 405 405 $arrRes = $this->getProductsClassByQuery($objQuery, $productClassId); 406 406 407 return (array) $arrRes[0]; 407 $arrProduct = (array) $arrRes[0]; 408 409 // 税込計算 410 if(!SC_Utils_Ex::isBlank($arrProduct['price01'])) { 411 $arrProduct['price01_inctax'] = SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price01'], $arrProduct['product_id'], $productClassId); 412 } 413 if(!SC_Utils_Ex::isBlank($arrProduct['price02'])) { 414 $arrProduct['price02_inctax'] = SC_Helper_TaxRule_Ex::sfCalcIncTax($arrProduct['price02'], $arrProduct['product_id'], $productClassId); 415 } 416 417 return $arrProduct; 408 418 } 409 419
Note: See TracChangeset
for help on using the changeset viewer.
