Spaces:
Running
Running
Update index.html
Browse files- index.html +26 -0
index.html
CHANGED
@@ -70,6 +70,32 @@
|
|
70 |
<p>Общая прибыль: <span id="totalProfit">0</span></p>
|
71 |
</div>
|
72 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
<script src="script.js"></script>
|
74 |
</body>
|
75 |
</html>
|
|
|
70 |
<p>Общая прибыль: <span id="totalProfit">0</span></p>
|
71 |
</div>
|
72 |
</div>
|
73 |
+
|
74 |
+
<!-- Модальное окно для чека -->
|
75 |
+
<div id="receiptModal" class="modal">
|
76 |
+
<div class="modal-content">
|
77 |
+
<span class="close">×</span>
|
78 |
+
<h2>Чек продажи</h2>
|
79 |
+
<p>Дата и время: <span id="receiptDateTime"></span></p>
|
80 |
+
<table id="receiptTable">
|
81 |
+
<thead>
|
82 |
+
<tr>
|
83 |
+
<th>Название</th>
|
84 |
+
<th>Количество</th>
|
85 |
+
<th>Цена за единицу</th>
|
86 |
+
<th>Итого</th>
|
87 |
+
</tr>
|
88 |
+
</thead>
|
89 |
+
<tbody>
|
90 |
+
<!-- Товары в чеке будут добавляться сюда -->
|
91 |
+
</tbody>
|
92 |
+
</table>
|
93 |
+
<p>Общая сумма: <span id="receiptTotal"></span></p>
|
94 |
+
<button id="confirmSaleBtn">Подтвердить</button>
|
95 |
+
<button id="cancelSaleBtn">Отмена</button>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
|
99 |
<script src="script.js"></script>
|
100 |
</body>
|
101 |
</html>
|