-
Notifications
You must be signed in to change notification settings - Fork 0
/
CheckinScan.aspx
161 lines (148 loc) · 9.12 KB
/
CheckinScan.aspx
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
<%@ Page Title="" Language="C#" MasterPageFile="~/secure/CherryPantry.Master" AutoEventWireup="true" CodeBehind="CheckinScan.aspx.cs" Inherits="FoodPantry.CheckinScan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<%--js plugins--%>
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="DataTables/datatables.min.js"></script>
<script type="text/javascript" src="DataTables/Responsive-2.2.2/js/responsive.bootstrap.min.js"></script>
<script type="text/javascript" src="DataTables/Responsive-2.2.2/js/dataTables.responsive.min.js"></script>
<script type="text/javascript" src="js/Validate.js"></script>
<script type="text/javascript" src="js/Checkin.js"></script>
<script type="text/javascript" src="plugin/dist/sweetalert2.all.min.js"></script>
<script type="text/javascript" src="plugin/dist/rmodal.min.js"></script>
<script type="text/javascript" src="tooltipster/dist/js/tooltipster.bundle.min.js"></script>
<script type="text/javascript" src="plugin/dist/select2.full.min.js"></script>
<%--css stylesheets--%>
<link rel="stylesheet" href="css/scan.css" />
<link rel="stylesheet" type="text/css" href="css/POS.css" />
<link rel="stylesheet" type="text/css" href="css/POS-Media.css" />
<link rel="stylesheet" type="text/css" href="css/CheckIn.css" />
<link rel="stylesheet" type="text/css" href="tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css" />
<link rel="stylesheet" type="text/css" href="DataTables/datatables.min.css" />
<link rel="stylesheet" type="text/css" href="plugin/dist/animate.css" />
<link rel="stylesheet" type="text/css" href="plugin/dist/rmodal.css" />
<link rel="stylesheet" type="text/css" href="tooltipster/dist/css/tooltipster.bundle.min.css" />
<link rel="stylesheet" type="text/css" href="plugin/dist/select2.min.css" />
<link rel="stylesheet" type="text/css" href="plugin/dist/animate.css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="modal" class="modal">
<div class="modal-dialog animated">
<div class="modal-content">
<div class="modal-header">
<strong>Add New Item</strong>
</div>
<div class="modal-body">
<div class="modal-error"></div>
<div class="form-group">
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>UPC/Name<span class="required">*</span></span>
</div>
<input id='txtUPC' type='text' class='form-control' readonly aria-label='UPC' value='' />
</div>
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>Category<span class="required">*</span></span>
</div>
<select class='form-control select2 select2-category' id='selCategory' style="width: 70%"></select>
</div>
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>Packaging<span class="required">*</span></span>
</div>
<select class='form-control select2 select2-packaging' id='selPackaging' style="width: 70%"></select>
</div>
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>Quantity<span class="required">*</span></span>
</div>
<input type="text" id="txtQuantity" class="form-control" />
</div>
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>Weight</span>
</div>
<input id='weight' type='text' class='form-control' aria-label='Weight' value='' />
<div class='input-group-append'>
<select class='form-control' id='weightunit'>
<option value="oz">oz</option>
<option value="g">g</option>
<option value="kg">Kg</option>
<option value="lbs">lbs</option>
<option value="floz">fl oz</option>
</select>
</div>
</div>
<div class='input-group w-100 p-3'>
<div class='input-group-prepend' style='width: 30%;'>
<span class='input-group-text w-100'>Point Value<span class="required">*</span></span>
</div>
<input type="text" id="txtPoint" class="form-control" />
</div>
</div>
</div>
<div class="modal-footer">
<button id="btnModalCancel" class="btn btn-cancel" type="button" onclick="modal.close();">Cancel</button>
<button id="btnModalSave" class="btn btn-save" type="button">Save</button>
</div>
</div>
</div>
</div>
<div class="content" id="mainContent">
<div class="pos d-flex justify-content-center" id="pos-checkin">
<div class="box box-primary" style="height: 100%">
<div class="box-header" style="display:none">
<h3>Scan UPC Code</h3>
</div>
<div class="box-body pt-4">
<input type="text" id="txtSearchUPC" title="Please Continue Using Scanner Device" class="scan-box form-control form-control-danger tooltipper" placeholder="Search Product by UPC" />
<div class="buttonWrapper">
<asp:Button runat="server" ID="btnSearch" Text="Search" OnClientClick='return false;' CssClass="btn btn-info" Style="display: none" />
</div>
<div id="alert-wrapper">
</div>
<div id="cart">
<table id="cart-table" class="table" style="width: 100%">
<thead>
<tr>
<th>UPC</th>
<th>Category</th>
<th>Packaging</th>
<th>Quantity</th>
<%--<th>Weight</th>--%>
<th>Points</th>
<th>Subtotal</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="pos-footer">
<div id="cart-info">
<table id="info-table">
<tr>
<td>
<span class="label">Items:</span><span class="value" id="totalItems">0</span>
</td>
<%-- <td>
<span class="label">Total Points:</span><span class="value" id="totalPoints">0</span>
</td>--%>
</tr>
</table>
</div>
<br />
<div class="buttonWrapper" id="checkout-buttons">
<button id="btnClear" class="btn btn-cancel" value="Checkout" onclick="return false;"><i class="material-icons">delete_sweep</i> Clear</button>
<button id="btnCheckin" class="btn btn-save" value="Checkin" onclick="return false;"><i class="material-icons">check_circle</i> Check-in</button>
<%--<button id="btnCancel" class="btn btn-danger" value="Checkout" onclick="return false;"><i class="material-icons">cancel</i> Cancel</button>--%>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>