Aleksmorshen commited on
Commit
6f8fd5a
·
verified ·
1 Parent(s): 58b4907

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -0
index.html CHANGED
@@ -71,6 +71,10 @@
71
  <!-- Товары в корзине будут добавляться сюда -->
72
  </tbody>
73
  </table>
 
 
 
 
74
  <button id="sellCartBtn" onclick="sellCart()">Продать товары из корзины</button>
75
  </div>
76
 
@@ -106,6 +110,8 @@
106
  </tbody>
107
  </table>
108
  <p>Общая сумма: <span id="receiptTotal"></span></p>
 
 
109
  <button id="confirmSaleBtn">Подтвердить</button>
110
  <button id="cancelSaleBtn">Отмена</button>
111
  </div>
 
71
  <!-- Товары в корзине будут добавляться сюда -->
72
  </tbody>
73
  </table>
74
+ <div class="discount-container">
75
+ <label for="discountInput">Скидка:</label>
76
+ <input type="number" id="discountInput" placeholder="Введите сумму скидки">
77
+ </div>
78
  <button id="sellCartBtn" onclick="sellCart()">Продать товары из корзины</button>
79
  </div>
80
 
 
110
  </tbody>
111
  </table>
112
  <p>Общая сумма: <span id="receiptTotal"></span></p>
113
+ <p>Скидка: <span id="receiptDiscount"></span></p>
114
+ <p>Итого к оплате: <span id="receiptFinalTotal"></span></p>
115
  <button id="confirmSaleBtn">Подтвердить</button>
116
  <button id="cancelSaleBtn">Отмена</button>
117
  </div>