                      <span class="fs-5 fw-bold text-success">¥{{ sale.total_amount|floatformat:2 }}</span>
                    </li>
                    {% if sale.discount_amount %}
                    <li class="list-group-item d-flex justify-content-between">
                        <span class="text-muted">优惠金额:</span>
                        <span class="text-danger">-¥{{ sale.discount_amount|floatformat:2 }}</span>
                    </li>
                    {% endif %}
          