From b3003c4858fa7d134d42d2ce3e01ff9172718765 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Fri, 13 Mar 2026 12:55:17 +0300 Subject: [PATCH] Redesign pricing tab: split into purchase/sale tables with unit prices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Split into two sections: Цена покупки and Цена продажи - All price cells show unit price (per 1 pcs); totals only in footer - Added note "Цены указаны за 1 шт." next to each table heading - Buy table: Своя цена redistributes proportionally with green/red coloring vs estimate; footer shows % diff - Sale table: configurable uplift (default 1.3) applied to estimate; Склад/Конкуренты fixed at ×1.3 - Footer Склад/Конкуренты marked red with asterisk tooltip when coverage is partial - CSV export updated: all 8 columns, SPEC-BUY/SPEC-SALE suffix, no % annotation in totals Co-Authored-By: Claude Sonnet 4.6 --- web/templates/index.html | 754 +++++++++++++++++++++------------------ 1 file changed, 415 insertions(+), 339 deletions(-) diff --git a/web/templates/index.html b/web/templates/index.html index 991833f..474fe3c 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -199,58 +199,106 @@ -