Заголовок страницы накладной и итоговая сумма

This commit is contained in:
2024-12-04 11:39:36 +03:00
parent 576c0632d5
commit 0b6af28ff3

View File

@@ -9,7 +9,18 @@
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<body class="p-3 m-0 border-0 bd-example m-0 border-0">
<header>
<div class="row flex-nowrap justify-content-between pb-5">
<div class="col-1 pt-1"></div>
<div class="col-10 text-center">
<h1 class="display-5 fw-bold">Оформление накладной</h1>
</div>
<div class="col-1 d-flex justify-content-end align-items-center">
<a href="{{ url_for('logout') }}"><button class="btn btn-danger">Выход</button></a>
</div>
</div>
</header>
<div class="container mt-4">
<div class="row">
<!-- Секция заготовок -->
@@ -31,6 +42,9 @@
{% for item in waybill %}
{{ card.render_item(item, show_form = False, show_amount = True) }}
{% endfor %}
<div class="mt-3">
<h5>Итого: {{ session.get('total', '0') }} ₽</h5>
</div>
<div class="d-grid gap-2 mt-3">
<a href="{{url_for('waybill_bp.save_order')}}"><button class="btn btn-primary">Оформить накладную</button></a>
<a href="{{url_for('index')}}"><button class="btn btn-secondary">На главную</button></a>