Aleksmorshen commited on
Commit
8b6936e
·
verified ·
1 Parent(s): 604bf0a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +50 -45
index.html CHANGED
@@ -38,42 +38,46 @@
38
  </div>
39
 
40
  <!-- Таблица товаров -->
41
- <table id="productTable">
42
- <thead>
43
- <tr>
44
- <th>Название</th>
45
- <th>Приходная цена</th>
46
- <th>Оптовая цена</th>
47
- <th>Розничная цена</th>
48
- <th>Остаток (пачек)</th>
49
- <th>Штук в пачке</th>
50
- <th>Действия</th>
51
- </tr>
52
- </thead>
53
- <tbody>
54
- <!-- Строки с товарами будут добавляться сюда -->
55
- </tbody>
56
- </table>
 
 
57
  </div>
58
 
59
  <!-- Колонка 2: Корзина -->
60
  <div class="column cart" id="cart">
61
  <h2>Корзина</h2>
62
- <table id="cartTable">
63
- <thead>
64
- <tr>
65
- <th>Название</th>
66
- <th>Количество</th>
67
- <th>Цена за единицу</th>
68
- <th>Тип продажи</th>
69
- <th>Итого</th>
70
- <th>Действия</th>
71
- </tr>
72
- </thead>
73
- <tbody>
74
- <!-- Товары в корзине будут добавляться сюда -->
75
- </tbody>
76
- </table>
 
 
77
  <div class="discount-container">
78
  <label for="discountInput">Скидка:</label>
79
  <input type="number" id="discountInput" placeholder="Введите сумму скидки">
@@ -110,20 +114,21 @@
110
  <span class="close">&times;</span>
111
  <h2>Чек продажи</h2>
112
  <p>Дата и время: <span id="receiptDateTime"></span></p>
113
- <table id="receiptTable">
114
- <thead>
115
- <tr>
116
- <th>Название</th>
117
- <th>Количество</th>
118
- <th>Цена за единицу</th>
119
- <th>Тип продажи</th>
120
- <th>Итого</th>
121
- </tr>
122
- </thead>
123
- <tbody>
124
- <!-- Товары в чеке будут добавляться сюда -->
125
- </tbody>
126
- </table>
 
127
  <p>Общая сумма: <span id="receiptTotal"></span></p>
128
  <p>Скидка: <span id="receiptDiscount"></span></p>
129
  <p>Итого к оплате: <span id="receiptFinalTotal"></span></p>
 
38
  </div>
39
 
40
  <!-- Таблица товаров -->
41
+ <div class="table-wrapper">
42
+ <table id="productTable">
43
+ <thead>
44
+ <tr>
45
+ <th>Название</th>
46
+ <th>Приходная цена</th>
47
+ <th>Оптовая цена</th>
48
+ <th>Розничная цена</th>
49
+ <th>Остаток (пачек)</th>
50
+ <th>Штук в пачке</th>
51
+ <th>Действия</th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <!-- Строки с товарами будут добавляться сюда -->
56
+ </tbody>
57
+ </table>
58
+ </div>
59
  </div>
60
 
61
  <!-- Колонка 2: Корзина -->
62
  <div class="column cart" id="cart">
63
  <h2>Корзина</h2>
64
+ <div class="table-wrapper">
65
+ <table id="cartTable">
66
+ <thead>
67
+ <tr>
68
+ <th>Название</th>
69
+ <th>Количество</th>
70
+ <th>Цена за единицу</th>
71
+ <th>Тип продажи</th>
72
+ <th>Итого</th>
73
+ <th>Действия</th>
74
+ </tr>
75
+ </thead>
76
+ <tbody>
77
+ <!-- Товары в корзине будут добавляться сюда -->
78
+ </tbody>
79
+ </table>
80
+ </div>
81
  <div class="discount-container">
82
  <label for="discountInput">Скидка:</label>
83
  <input type="number" id="discountInput" placeholder="Введите сумму скидки">
 
114
  <span class="close">&times;</span>
115
  <h2>Чек продажи</h2>
116
  <p>Дата и время: <span id="receiptDateTime"></span></p>
117
+ <div class="table-wrapper">
118
+ <table id="receiptTable">
119
+ <thead>
120
+ <tr>
121
+ <th>Название</th>
122
+ <th>Количество</th>
123
+ <th>Цена за единицу</th>
124
+ <th>Итого</th>
125
+ </tr>
126
+ </thead>
127
+ <tbody>
128
+ <!-- Товары в чеке будут добавляться сюда -->
129
+ </tbody>
130
+ </table>
131
+ </div>
132
  <p>Общая сумма: <span id="receiptTotal"></span></p>
133
  <p>Скидка: <span id="receiptDiscount"></span></p>
134
  <p>Итого к оплате: <span id="receiptFinalTotal"></span></p>