feat: интерактивный установщик install.sh (Docker / Ubuntu, админ, БД)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+13
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user