From 677b5d898f5dfd0a2e97540c2a8e3cdce5696273 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Tue, 23 Jun 2026 11:59:06 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D1=87=D1=91?= =?UTF-8?q?=D1=80=D0=BA=D0=B8=D0=B2=D0=B0=D1=82=D1=8C=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=80=D1=83=D1=8E=20=D1=86=D0=B5=D0=BD=D1=83=20=D0=B2=20=D0=B8?= =?UTF-8?q?=D1=82=D0=BE=D0=B3=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=D1=83=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D0=B5=D1=81=D0=BB=D0=B8?= =?UTF-8?q?=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B9=20?= =?UTF-8?q?=D0=BD=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- web/templates/base.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/templates/base.html b/web/templates/base.html index ec2b138..001eb25 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -629,11 +629,13 @@ const totalColor = totalDelta > 0 ? 'text-red-600' : totalDelta < 0 ? 'text-green-600' : 'text-gray-600'; const totalArrow = _fmtArrow(r.prevTotal || 0, r.newTotal || 0); + const totalPrevHtml = totalDelta !== 0 + ? `${_fmtMoneyDiff(r.prevTotal || 0)}` + : ''; html += `
Итог конфигурации - ${_fmtMoneyDiff(r.prevTotal || 0)} - ${_fmtMoneyDiff(r.newTotal || 0)}${totalArrow} + ${totalPrevHtml}${_fmtMoneyDiff(r.newTotal || 0)}${totalArrow}
`; }