shish 3 lat temu
rodzic
commit
31af11092d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      biz-ghs/order/classes/PurchaseOrderClass.php

+ 2 - 0
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -467,9 +467,11 @@ class PurchaseOrderClass extends BaseClass
                 $currentBigUnit = $productList[$productId]['bigUnit'] ?? '';
                 $currentBigUnit = $productList[$productId]['bigUnit'] ?? '';
                 $currentSmallUnit = $productList[$productId]['smallUnit'] ?? '';
                 $currentSmallUnit = $productList[$productId]['smallUnit'] ?? '';
                 $currentRatio = $productList[$productId]['ratio'] ?? 0;
                 $currentRatio = $productList[$productId]['ratio'] ?? 0;
+                $currentRatioType = $productList[$productId]['ratioType'] ?? 0;
                 $batchData[$currentKey]['bigUnit'] = $currentBigUnit;
                 $batchData[$currentKey]['bigUnit'] = $currentBigUnit;
                 $batchData[$currentKey]['smallUnit'] = $currentSmallUnit;
                 $batchData[$currentKey]['smallUnit'] = $currentSmallUnit;
                 $batchData[$currentKey]['ratio'] = $currentRatio;
                 $batchData[$currentKey]['ratio'] = $currentRatio;
+                $batchData[$currentKey]['ratioType'] = $currentRatioType;
                 $batchData[$currentKey]['presell'] = $presell;
                 $batchData[$currentKey]['presell'] = $presell;
 
 
                 if ($inType == self::IN_TYPE_NOW) {
                 if ($inType == self::IN_TYPE_NOW) {