basket -> waybill

This commit is contained in:
2024-12-01 20:44:34 +03:00
parent b58fcc7d0e
commit 0d2a5ff959
3 changed files with 30 additions and 30 deletions

View File

@@ -27,11 +27,11 @@
<!-- Секция кнакладной -->
<div class="col-md-4">
<h4>Накладная</h4>
{% if basket %}
{% for item in basket %}
{% if waybill %}
{% for item in waybill %}
{{ components.render_item(item, show_form = False, show_amount = True) }}
{% endfor %}
<a href="{{url_for('basket_bp.save_order')}}"><button class="btn btn-primary">Оформить накладную</button></a>
<a href="{{url_for('waybill_bp.save_order')}}"><button class="btn btn-primary">Оформить накладную</button></a>
{% else %}
<span>Ваша накладная пуста</span>
{% endif %}