-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsales.html
189 lines (181 loc) · 9.43 KB
/
sales.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.2.0/mdb.min.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
<title>POS</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-mdb-toggle="collapse"
data-mdb-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<a class="navbar-brand mt-2 mt-lg-0" href="/index.html">
<img src="./img/logo.png" height="50" alt="MDB Logo" loading="lazy" />
</a>
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="/index.html">Terminal</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/sales.html">Sales</a>
</li>
<li class="nav-item">
<a class="nav-link" href="addproduct.html">Products</a>
</li>
</ul>
</div>
<div class="d-flex align-items-center">
<a class="text-reset me-3" href="#">
<i class="fas fa-shopping-cart"></i>
</a>
<div class="dropdown">
<a class="text-reset me-3 dropdown-toggle hidden-arrow" href="#" id="navbarDropdownMenuLink"
role="button" data-mdb-toggle="dropdown" aria-expanded="false">
<i class="fas fa-bell"></i>
<span class="badge rounded-pill badge-notification bg-danger">1</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuLink">
<li>
<a class="dropdown-item" href="#">Some news</a>
</li>
<li>
<a class="dropdown-item" href="#">Another news</a>
</li>
<li>
<a class="dropdown-item" href="#">Something else here</a>
</li>
</ul>
</div>
<!-- Avatar -->
<div class="dropdown">
<a class="dropdown-toggle d-flex align-items-center hidden-arrow" href="#"
id="navbarDropdownMenuAvatar" role="button" data-mdb-toggle="dropdown" aria-expanded="false">
<img src="https://mdbcdn.b-cdn.net/img/new/avatars/2.webp" class="rounded-circle" height="25"
alt="Black and White Portrait of a Man" loading="lazy" />
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
<li>
<a class="dropdown-item" href="#">My profile</a>
</li>
<li>
<a class="dropdown-item" href="#">Settings</a>
</li>
<li>
<a class="dropdown-item" href="#">Logout</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container mt-2">
<h5 class="display-6">Point of Sale Software</h>
<hr />
</div>
<div class="container mt-1">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="cash">Rs. 200</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">Cash</small>
</p>
</div>
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="esewa">Rs. 200</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">Esewa</small>
</p>
</div>
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="today">Rs. 200</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">Today</small>
</p>
</div>
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="yesterday">Rs. 300</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">Yesterday</small>
</p>
</div>
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="thisWeek">Rs. 2100</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">This week</small>
</p>
</div>
<div class="col-md-2 text-end border-4 border-end">
<h5 class="card-title" id="thisMonth">Rs. 6000</h5>
<p class="card-text">
<small class="text-muted" id="filter_time">This Month</small>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="border-bottom col-md-12 d-flex m-auto my-2 p-3">
<h4 class="w-50 flex-fill">Sales</h4>
<select class="custom-select w-25 ml-auto" id="filter"
aria-label="Example select with button addon">
<option value="all" selected>All</option>
<option value="today">Today</option>
<option value="yesterday">Yesterday</option>
<option value="thisweek">Last Week</option>
<option value="thismonth">Last Month</option>
</select>
</div>
<div class="col-md-8 mx-auto my-2">
<div class="row" id="">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Customer</th>
<th scope="col">Total</th>
<th scope="col">Date</th>
<th scope="col">Payment</th>
<th scope="col">Recipt</th>
</tr>
</thead>
<tbody id="salesList">
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Rs. 200</td>
<td>12/12/2019</td>
<td>Cash</td>
<td>
<a href="#" class="btn btn-primary">
<i class="fas fa-print"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.2.0/mdb.min.js"></script>
<script src="./sales.js" type="text/javascript"></script>
</body>
</html>