shish há 4 anos atrás
pai
commit
34fd0307e9
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
             $discountSmallPrice = bcdiv($discountPrice, $tmp['ratio'], 2);
             $tmp['discountPrice'] = $discountPrice;
-            $tmp['smallUnitPrice'] = $discountSmallPrice;
+            $tmp['discountSmallPrice'] = $discountSmallPrice;
 
             $totalBigNum += $v['bigNum'];
             $totalSmallNum += $v['smallNum'];