shish 5 лет назад
Родитель
Сommit
092c551190
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      biz-hd/px/classes/PxApplyClass.php

+ 2 - 2
biz-hd/px/classes/PxApplyClass.php

@@ -31,8 +31,8 @@ class PxApplyClass extends BaseClass
 		$shopId = $shop['id'];
 		$totalIncome = bcadd($shop['totalIncome'], $data['actPrice'], 2);
 		ShopClass::updateById($shopId, ['totalIncome' => $totalIncome]);
-		
-		$capitalType = dict::getConfig('capitalType', 'capitalType');
+
+		$capitalType = dict::getConfig('capitalType');
 		$payWay = $data['payWay'] ?? 0;
 		$capitalTypeId = $capitalType['id'];
 		$sjId = $shop['sjId'];