$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;
) : 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;