cqp 3 nedēļas atpakaļ
vecāks
revīzija
b3fb320d85
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Service/StatisticsService.php

+ 2 - 2
app/Service/StatisticsService.php

@@ -372,8 +372,8 @@ class StatisticsService extends Service
     }
 
     private function makeShouldPay($value, &$data){
-        $index_1 = bcdiv($value['index_1'],100,2);
-        $index_5 = bcdiv($value['index_5'],100,2);
+        $index_1 = bcdiv($data['index_1'],100,2);
+        $index_5 = bcdiv($data['index_5'],100,2);
         // 分红比例/2
         $a = bcdiv($index_5,2,2);
         // 回款金额*季度预支分红比例/2