Show bracket gross total price on bracket filter view
Sums gross_price estimates for all bracket jobs with known STL volume and displays it as a badge next to the bracket name. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
<span class="badge bg-secondary fs-6 fw-normal px-3 py-2">
|
||||
<i class="bi bi-collection me-1"></i>{{ active_bracket.name }}
|
||||
</span>
|
||||
{% if bracket_gross_total is not none %}
|
||||
<span class="badge bg-dark border border-secondary fs-6 fw-normal px-3 py-2 text-white">
|
||||
<i class="bi bi-currency-euro me-1 text-secondary"></i>{{ "%.2f"|format(bracket_gross_total) }} <span class="text-secondary fw-normal" style="font-size:.75em">gross total</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
<a href="/jobs{% if q %}?q={{ q }}{% endif %}" class="text-secondary text-decoration-none small">× clear filter</a>
|
||||
</div>
|
||||
{% elif q %}
|
||||
|
||||
Reference in New Issue
Block a user