feat: интерактивный установщик install.sh (Docker / Ubuntu, админ, БД)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 13:57:54 +03:00
parent dedef454c8
commit db4bc9bfe1
28 changed files with 1069 additions and 22 deletions
+13 -1
View File
@@ -22,7 +22,19 @@
</li>
<% }) %>
</ul>
<p class="checkout-total">Итого: <strong><%= formatPrice(order.total_cents) %></strong></p>
<% const subtotal = order.subtotal_cents != null ? order.subtotal_cents : order.total_cents; %>
<% if (order.discount_cents > 0) { %>
<dl class="cart-summary__dl">
<dt>Товары</dt>
<dd><%= formatPrice(subtotal) %></dd>
<dt>Скидка</dt>
<dd class="cart-summary__discount"><%= formatPrice(order.discount_cents) %></dd>
</dl>
<% } %>
<% if (order.loyalty_points_earned > 0) { %>
<p class="muted">Начислено баллов лояльности: +<%= order.loyalty_points_earned %></p>
<% } %>
<p class="checkout-total">К оплате: <strong><%= formatPrice(order.total_cents) %></strong></p>
</div>
<p><a href="/orders" class="link-back">← Все заказы</a></p>