shish 2 anni fa
parent
commit
5bb20f2c8b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      biz-ghs/order/classes/OrderClass.php

+ 1 - 1
biz-ghs/order/classes/OrderClass.php

@@ -870,7 +870,7 @@ class OrderClass extends BaseClass
                 if ($bookSavePrice == 0) {
                 if ($bookSavePrice == 0) {
                     $list[$key]['currentHdPrice'] = floatval($currentPrice);
                     $list[$key]['currentHdPrice'] = floatval($currentPrice);
                 } else {
                 } else {
-                    $list[$key]['currentHdPrice'] = $list['xhUnitPrice'] ?? 0;
+                    $list[$key]['currentHdPrice'] = $val['xhUnitPrice'] ?? 0;
                 }
                 }
                 $list[$key]['property'] = '';
                 $list[$key]['property'] = '';
                 $list[$key]['cost'] = $currentInfo['cost'] ?? 0;
                 $list[$key]['cost'] = $currentInfo['cost'] ?? 0;