-
Notifications
You must be signed in to change notification settings - Fork 0
/
barcode.php
335 lines (306 loc) · 18.4 KB
/
barcode.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<?php
include("./layouts/session.php");
include 'conn.php'; // Include database connection
// Establish the connection to the user's database
$conn = connectMainDB();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'layouts/title-meta.php'; ?>
<?php include 'layouts/head-css.php'; ?>
</head>
<body>
<div id="global-loader" >
<div class="whirly-loader"> </div>
</div>
<!-- main Wrapper-->
<div class="main-wrapper">
<?php include 'layouts/menu.php'; ?>
<div class="page-wrapper notes-page-wrapper">
<div class="content">
<div class="page-header">
<div class="add-item d-flex">
<div class="page-title">
<h4>Print Barcode</h4>
<h6>Manage your barcodes</h6>
</div>
</div>
<div class="d-flex align-items-center">
<ul class="table-top-head">
<li>
<a data-bs-toggle="tooltip" data-bs-placement="top" title="Refresh"><i data-feather="rotate-ccw" class="feather-rotate-ccw"></i></a>
</li>
<li>
<a data-bs-toggle="tooltip" data-bs-placement="top" title="Collapse" id="collapse-header"><i data-feather="chevron-up" class="feather-chevron-up"></i></a>
</li>
</ul>
</div>
</div>
<div class="barcode-content-list">
<form>
<div class="row">
<div class="col-lg-6 col-12">
<div class="row seacrh-barcode-item">
<div class="col-sm-6 mb-3 seacrh-barcode-item-one">
<label class="form-label">Warehouse</label>
<select class="select">
<option>Choose</option>
<option>Manufacture</option>
<option>Transport</option>
<option>Customs</option>
</select>
</div>
<div class="col-sm-6 mb-3 seacrh-barcode-item-one">
<label class="form-label">Select Store</label>
<select class="select">
<option>Choose</option>
<option>Online</option>
<option>Offline</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="input-blocks search-form seacrh-barcode-item">
<div class="searchInput">
<label class="form-label">Product</label>
<input type="text" class="form-control" placeholder="Search Product by Codename">
<div class="resultBox">
</div>
<div class="icon"><i class="fas fa-search"></i></div>
</div>
</div>
</div>
</div>
</form>
<div class="col-lg-12">
<div class="modal-body-table search-modal-header">
<div class="table-responsive">
<table class="table datanew">
<thead>
<tr>
<th>Product</th>
<th>SKU</th>
<th>Code</th>
<th>Qty</th>
<th class="text-center no-sort">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="productimgname">
<a href="javascript:void(0);" class="product-img stock-img">
<img src="assets/img/products/stock-img-02.png" alt="product">
</a>
<a href="javascript:void(0);">Nike Jordan</a>
</div>
</td>
<td>PT002</td>
<td>HG3FK</td>
<td>
<div class="product-quantity">
<span class="quantity-btn"><i data-feather="minus-circle" class="feather-search"></i></span>
<input type="text" class="quntity-input" value="4">
<span class="quantity-btn">+<i data-feather="plus-circle" class="plus-circle"></i></span>
</div>
</td>
<td class="action-table-data justify-content-center">
<div class="edit-delete-action">
<a class="confirm-text barcode-delete-icon" href="javascript:void(0);">
<i data-feather="trash-2" class="feather-trash-2"></i>
</a>
</div>
</td>
</tr>
<tr>
<td>
<div class="productimgname">
<a href="javascript:void(0);" class="product-img stock-img">
<img src="assets/img/products/stock-img-03.png" alt="product">
</a>
<a href="javascript:void(0);">Apple Series 5 Watch</a>
</div>
</td>
<td>PT003</td>
<td>TEUIU7</td>
<td>
<div class="product-quantity">
<span class="quantity-btn"><i data-feather="minus-circle" class="feather-search"></i></span>
<input type="text" class="quntity-input" value="4">
<span class="quantity-btn">+<i data-feather="plus-circle" class="plus-circle"></i></span>
</div>
</td>
<td class="action-table-data justify-content-center">
<div class="edit-delete-action">
<a class="barcode-delete-icon confirm-text" href="javascript:void(0);">
<i data-feather="trash-2" class="feather-trash-2"></i>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="paper-search-size">
<div class="row align-items-center">
<div class="col-lg-6">
<form class="mb-0">
<label class="form-label">Paper Size</label>
<select class="select">
<option>Choose</option>
<option>Recent1</option>
<option>Recent2</option>
</select>
</form>
</div>
<div class="col-lg-6 pt-3">
<div class="row">
<div class="col-sm-4">
<div class="search-toggle-list">
<p>Show Store Name</p>
<div class="input-blocks m-0">
<div class="status-toggle modal-status d-flex justify-content-between align-items-center">
<input type="checkbox" id="user7" class="check" checked>
<label for="user7" class="checktoggle mb-0"> </label>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="search-toggle-list">
<p>Show Product Name</p>
<div class="input-blocks m-0">
<div class="status-toggle modal-status d-flex justify-content-between align-items-center">
<input type="checkbox" id="user8" class="check" checked>
<label for="user8" class="checktoggle mb-0"> </label>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="search-toggle-list">
<p>Show Price</p>
<div class="input-blocks m-0">
<div class="status-toggle modal-status d-flex justify-content-between align-items-center">
<input type="checkbox" id="user9" class="check" checked>
<label for="user9" class="checktoggle mb-0"> </label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="search-barcode-button">
<a href="javascript:void(0);" class="btn btn-submit me-2" data-bs-toggle="modal" data-bs-target="#prints-barcode">
<span><i class="fas fa-eye me-2"></i></span>
Generate Barcode</a>
<a href="javascript:void(0);" class="btn btn-cancel me-2">
<span><i class="fas fa-power-off me-2"></i></span>
Reset Barcode</a>
<a href="javascript:void(0);" class="btn btn-cancel close-btn">
<span><i class="fas fa-print me-2"></i></span>
Print Barcode</a>
</div>
</div>
</div>
</div>
</div>
<!-- end main Wrapper-->
<!-- Print Barcode -->
<div class="modal fade" id="prints-barcode">
<div class="modal-dialog modal-dialog-centered stock-adjust-modal">
<div class="modal-content">
<div class="page-wrapper-new p-0">
<div class="content">
<div class="modal-header border-0 custom-modal-header">
<div class="page-title">
<h4>Barcode</h4>
</div>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body custom-modal-body">
<div class="d-flex justify-content-end">
<a href="javascript:void(0);" class="btn btn-cancel close-btn">
<span><i class="fas fa-print me-2"></i></span>
Print Barcode</a>
</div>
<div class="barcode-scan-header">
<h5>Nike Jordan</h5>
</div>
<div class="row">
<div class="col-sm-4">
<div class="barcode-scanner-link text-center">
<h6>Grocery Alpha</h6>
<p>
Nike Jordan
</p>
<p>Price: $400</p>
<div class="barscaner-img">
<img src="./assets/img/barcode/barcode-01.png" alt="Barcode" class="img-fluid">
</div>
</div>
</div>
</div>
<div class="barcode-scan-header">
<h5>Apple Series 5 Watch</h5>
</div>
<div class="row">
<div class="col-sm-4">
<div class="barcode-scanner-link text-center">
<h6>Grocery Alpha</h6>
<p>
Apple Series 5 Watch
</p>
<p>Price: $300</p>
<div class="barscaner-img">
<img src="./assets/img/barcode/barcode-02.png" alt="Barcode" class="img-fluid">
</div>
</div>
</div>
<div class="col-sm-4">
<div class="barcode-scanner-link text-center">
<h6>Grocery Alpha</h6>
<p>
Apple Series 5 Watch
</p>
<p>Price: $300</p>
<div class="barscaner-img">
<img src="./assets/img/barcode/barcode-02.png" alt="Barcode" class="img-fluid">
</div>
</div>
</div>
<div class="col-sm-4">
<div class="barcode-scanner-link text-center">
<h6>Grocery Alpha</h6>
<p>
Apple Series 5 Watch
</p>
<p>Price: $300</p>
<div class="barscaner-img">
<img src="./assets/img/barcode/barcode-02.png" alt="Barcode" class="img-fluid">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /Print Barcode -->
<?php include 'layouts/customizer.php'; ?>
<!-- JAVASCRIPT -->
<?php include 'layouts/vendor-scripts.php'; ?>
</body>
</html>