From 5e8ac5636dce4d0c7b326ed134df8a794bde9d79 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Wed, 10 Dec 2025 11:33:20 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api3/core/services/ReportService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/api3/core/services/ReportService.php b/erp24/api3/core/services/ReportService.php index 2666e97d..2fa6981e 100644 --- a/erp24/api3/core/services/ReportService.php +++ b/erp24/api3/core/services/ReportService.php @@ -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; -- 2.39.5