Fix: общая сумма над таблицей; автор подставляется всегда (профиль или ФИО/логин)
Made-with: Cursor
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
</div>
|
||||
<div class="ws-form-section">
|
||||
<h3 class="ws-form-section-title">Товары</h3>
|
||||
<p class="ws-order-total-row"><strong>Общая сумма заказа:</strong> <span id="order-total-sum" class="ws-num">—</span></p>
|
||||
{{ formset.management_form }}
|
||||
<div class="ws-table-wrap">
|
||||
<table class="ws-table ws-table-items" id="order-items">
|
||||
@@ -77,7 +78,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="ws-order-total-row"><strong>Общая сумма заказа:</strong> <span id="order-total-sum" class="ws-num">—</span></p>
|
||||
<div class="ws-btn-group" style="margin-top: 0.75rem;">
|
||||
<button type="button" class="btn btn-ws-secondary" id="add-order-row">+ Добавить строку</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user