fix: форматирование цен с разделителями тысяч в Open Positions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-09 03:02:42 +10:00
co-authored by Claude Opus 4.6
parent 7bd7fa8231
commit f82cc4aa3a
@@ -20,11 +20,11 @@
{{ 'LONG' if p.direction == 1 else 'SHORT' }}
</span>
</td>
<td>${{ "%.2f"|format(p.entry_price) }}</td>
<td>${{ "%.2f"|format(p.stop_price) }}</td>
<td>${{ "{:,.2f}".format(p.entry_price) }}</td>
<td>${{ "{:,.2f}".format(p.stop_price) }}</td>
<td>{{ "%.3f"|format(p.correlation or 0) }}</td>
<td>{{ p.entry_date }}</td>
<td>${{ "%.2f"|format(p.equity) }}</td>
<td>${{ "{:,.2f}".format(p.equity) }}</td>
<td>
<button class="outline secondary"
hx-post="/api/close-position/{{ p.id }}"