-
Notifications
You must be signed in to change notification settings - Fork 0
/
salesall.php
executable file
路78 lines (78 loc) 路 3.23 KB
/
salesall.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
<?php
require_once dirname(__FILE__).'/include/header.php';
require_once dirname(__FILE__).'/include/api.php';
require_once dirname(__FILE__).'/include/navbar.php';
?>
<div class="socialcodia" style="margin-top: 0px">
<div class="row">
<div class="card z-depth-0 cotainer center">
<div class="row">
<div class="col s12 l4 m4">
<div class="input-field">
<i class="material-icons prefix">date_range</i>
<input type="date" name="fromDate" id="fromDate">
<label for="fromDate">From Date</label>
</div>
</div>
<div class="col s12 l4 m4" >
<div class="input-field">
<i class="material-icons prefix">date_range</i>
<input type="date" name="toDate" id="toDate">
<label for="fromDate">To Date </label>
</div>
</div>
<div class="col s12 l4 m4" >
<div class="input-field">
<input type="submit" style="border-radius:5px;" onclick="fetchProductRecordByDate()" class="btn blue" value="Search" name="btnFetchProduct" id="btnFetchProduct">
</div>
</div>
</div>
</div>
<div class="col l12 s12 m12" style="padding: 0px 0px 0px 10px;">
<div class="card z-depth-0">
<div class="card-content">
<div class="input-field">
<input type="text" name="productName" id="productName" placeholder="" onkeyup="filterProduct()">
<label for="productName">Enter Product Name</label>
</div>
</div>
</div>
<div id="productList">
<div class="card z-depth-0">
<table id="mstrTable" class="highlight responsive-table ">
<thead>
<tr>
<th>Sr No</th>
<th>Category</th>
<th>Name</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
<th>Total Price</th>
<th>Discount</th>
<th>Sale Price</th>
<th>Brand</th>
<th>Manufacture</th>
<th>Expire</th>
<th>Sales Time</th>
</tr>
</thead>
<tbody id="tableBody">
</tbody>
</table>
<div id="divProcess"></div>
<div class="row green lighten-4" style="padding:0px; margin: 0px;">
<div class="col l6 m6 s6 center">
<h5>Total Price = <span id="totalPrice" class="blue-text" style="font-weight: bold"><?php //echo number_format($totalEndPrice); ?></span></h5>
</div>
<div class="col l6 m6 s6 center">
<h5>Total Sell Price = <span id="sellPrice" class="blue-text" style="font-weight: bold"><?php // echo number_format($totalEndSellPrice); ?></span></h5>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php require_once dirname(__FILE__).'/include/sidenav.php'; ?>
<?php require_once dirname(__FILE__).'/include/footer.php'; ?>