From: Vladimir Fomichev Date: Wed, 10 Dec 2025 08:33:20 +0000 (+0300) Subject: правки X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5e8ac5636dce4d0c7b326ed134df8a794bde9d79;p=erp24_rep%2Fyii-erp24%2F.git правки --- 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;