From 8feb69aa6a9b81518133928ee3eb6e1493c82239 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Thu, 19 Feb 2026 12:30:10 +0300 Subject: [PATCH] feat(dashboard): add thousands separator to sales and plan columns Co-Authored-By: Claude Sonnet 4.6 --- erp24/views/dashboard/sales.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/views/dashboard/sales.php b/erp24/views/dashboard/sales.php index 6d0c45b1..2880f5b1 100755 --- a/erp24/views/dashboard/sales.php +++ b/erp24/views/dashboard/sales.php @@ -261,8 +261,8 @@ foreach ($sales as $key => $arr) { " . $sales_store_date1 . " " . $konv . "% " . $sales_store_summ_date1 . " - " . $arr["summ"] . " - " . $arr["plan"] . " + " . number_format((float)$arr["summ"], 0, '.', ' ') . " + " . number_format((int)$arr["plan"], 0, '.', ' ') . " " . $arr["percent"] . "% " . $adminRes . " +" . $new_client_date1 . " = $konvNew% @@ -287,7 +287,7 @@ if (!empty($plan)) { } -echo"Итого$sales_summ_all "; +echo"Итого" . number_format((float)$sales_summ_all, 0, '.', ' ') . ""; echo""; -- 2.39.5