shish hace 4 años
padre
commit
34fd0307e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      biz-ghs/product/classes/ProductClass.php

+ 1 - 1
biz-ghs/product/classes/ProductClass.php

@@ -649,7 +649,7 @@ class ProductClass extends BaseClass
             $discountPrice = bcmul($itemPrice,$discount,2);
             $discountPrice = bcmul($itemPrice,$discount,2);
             $discountSmallPrice = bcdiv($discountPrice, $tmp['ratio'], 2);
             $discountSmallPrice = bcdiv($discountPrice, $tmp['ratio'], 2);
             $tmp['discountPrice'] = $discountPrice;
             $tmp['discountPrice'] = $discountPrice;
-            $tmp['smallUnitPrice'] = $discountSmallPrice;
+            $tmp['discountSmallPrice'] = $discountSmallPrice;
 
 
             $totalBigNum += $v['bigNum'];
             $totalBigNum += $v['bigNum'];
             $totalSmallNum += $v['smallNum'];
             $totalSmallNum += $v['smallNum'];