]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
правки
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 10 Dec 2025 08:33:20 +0000 (11:33 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 10 Dec 2025 08:33:20 +0000 (11:33 +0300)
erp24/api3/core/services/ReportService.php

index 2666e97d1cc8feff7e6f28c5c1a679f6768c1533..2fa6981efd08df56413a1fb4dd445a8fde6cd8bb 100644 (file)
@@ -1394,7 +1394,7 @@ class ReportService
             $total["total_payroll_days_percent"] = $total["sale_total"] > 0 ? floor($total["total_payroll_days"] / $total["sale_total"] * 100) : 0;
             $total["total_payroll_month_percent"] = $total["sale_month_total"] > 0 ? floor($total["total_payroll_month"] / $total["sale_month_total"] * 100) : 0;
             $total["employee_sale_avg"] = $employeeCountTotal > 0 ? floor($total["sale_total"] / $employeeCountTotal) : 0;
-            $total["conversion"] = $total["visitors_quantity"] > 0 ? floor($total["sale_quantity"] / $total["visitors_quantity"] * 100) : 0;;
+            $total["conversion"] = $total["visitors_quantity"] > 0 ? floor($total["sale_quantity"] / $total["visitors_quantity"] * 100) : 0;
             $total["bonus_user_per_sale_percent"] = $total["sale_quantity"] > 0 ? floor($total["bonus_user_count"] / $total["sale_quantity"] * 100) : 0;
             $total["employee_positions_on_shift"] = $totalEmployeePositionsOnShift;
             $total["employee_count_on_shift"] = $totalEmployeeCountOnShift;
@@ -1957,7 +1957,7 @@ class ReportService
             ) : 0;
             $total["conversion"] = $total["visitors_quantity"] > 0 ? floor(
                 $total["sale_quantity"] / $total["visitors_quantity"] * 100
-            ) : 0;;
+            ) : 0;
             $total["bonus_user_per_sale_percent"] = $total["sale_quantity"] > 0 ? floor(
                 $total["bonus_user_count"] / $total["sale_quantity"] * 100
             ) : 0;