| 21987 |
kshitij.so |
1 |
<style>
|
|
|
2 |
.table-striped > tbody > tr:nth-child(odd) > td{
|
|
|
3 |
background: white;
|
|
|
4 |
background-color: white;
|
|
|
5 |
}
|
|
|
6 |
.table-striped > tbody > tr:nth-child(even) > td{
|
|
|
7 |
background: white;
|
|
|
8 |
background-color:white;
|
|
|
9 |
}
|
|
|
10 |
.table-striped > tbody > tr:hover > td,
|
|
|
11 |
.table-striped > tbody > tr:hover {
|
|
|
12 |
background-color: #6DC767;
|
|
|
13 |
color:white;
|
|
|
14 |
font-weight:600;
|
|
|
15 |
}
|
|
|
16 |
.btn:hover{
|
|
|
17 |
color: grey;
|
|
|
18 |
text-decoration: none;
|
|
|
19 |
}
|
|
|
20 |
.btn-primary:hover{
|
|
|
21 |
color: grey;
|
|
|
22 |
text-decoration: none;
|
|
|
23 |
}
|
|
|
24 |
</style>
|
|
|
25 |
<section class="wrapper">
|
|
|
26 |
<div class="row">
|
|
|
27 |
<div class="col-lg-12">
|
|
|
28 |
<h3 class="page-header"><i class="icon_desktop"></i>GOOD INVENTORY</h3>
|
|
|
29 |
<ol class="breadcrumb">
|
|
|
30 |
<li><i class="fa fa-home"></i><a href="${request.getContextPath()}/dashboard">Home</a></li>
|
|
|
31 |
<li><i class="icon_desktop"></i>GOOD INVENTORY</li>
|
|
|
32 |
</ol>
|
|
|
33 |
</div>
|
|
|
34 |
</div>
|
|
|
35 |
|
|
|
36 |
<div id="good-inventory-search">
|
|
|
37 |
<div class="row">
|
|
|
38 |
<div class="col-lg-12">
|
|
|
39 |
<div class="col-md-3 col-sm-3 col-xs-12 form-group pull-right top_search">
|
|
|
40 |
<div class="input-group">
|
|
|
41 |
<input type="text" class="form-control" id="good-inventory-search-text"" placeholder="Search for product..." value="$searchTerm" />
|
|
|
42 |
<span class="input-group-btn">
|
|
|
43 |
<button class="btn btn-primary submit" id="good-inventory-search-button" type="button">Go!</button>
|
|
|
44 |
</span>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|
|
|
49 |
</div>
|
|
|
50 |
<div id="good-inventory-table">
|
|
|
51 |
<div class="row">
|
|
|
52 |
<div class="col-lg-12">
|
|
|
53 |
<table class="table table-striped table-advance table-hover">
|
|
|
54 |
<tbody>
|
|
|
55 |
<tr>
|
|
|
56 |
<th>Item Code</th>
|
|
|
57 |
<th>Brand</th>
|
|
|
58 |
<th>Model Name</th>
|
|
|
59 |
<th>Model Number</th>
|
|
|
60 |
<th>Color</th>
|
|
|
61 |
<th>Type</th>
|
|
|
62 |
<th>Quantity</th>
|
|
|
63 |
</tr>
|
|
|
64 |
#if($currentInventorySnapshot.size() > 0)
|
|
|
65 |
#foreach( $inventorySnapshot in $currentInventorySnapshot )
|
|
|
66 |
<tr>
|
|
|
67 |
<td>$inventorySnapshot.getId().getItemId()</td>
|
|
|
68 |
<td>$inventorySnapshot.getItem().getBrand()</td>
|
|
|
69 |
<td>$inventorySnapshot.getItem().getModelName()</td>
|
|
|
70 |
<td>$inventorySnapshot.getItem().getModelNumber()</td>
|
|
|
71 |
<td>$inventorySnapshot.getItem().getColor()</td>
|
|
|
72 |
<td>$inventorySnapshot.getItem().getType()</td>
|
|
|
73 |
<td>$inventorySnapshot.getAvailability()</td>
|
|
|
74 |
</tr>
|
|
|
75 |
#end
|
|
|
76 |
#else
|
|
|
77 |
<tr>
|
|
|
78 |
<td colspan="7" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
79 |
</tr>
|
|
|
80 |
#end
|
|
|
81 |
</tbody>
|
|
|
82 |
</table>
|
|
|
83 |
</div>
|
|
|
84 |
</div>
|
|
|
85 |
</div>
|
|
|
86 |
#if($currentInventorySnapshot.size() > 0)
|
|
|
87 |
<div class="row" id="good-inventory-paginated">
|
|
|
88 |
<div class="col-lg-9">
|
|
|
89 |
<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
|
|
|
90 |
</div>
|
|
|
91 |
<div class="col-lg-3" style="text-align:right;">
|
|
|
92 |
<div class="btn-group" style="width:40%">
|
|
|
93 |
<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
|
|
|
94 |
</div>
|
|
|
95 |
<div class="btn-group" style="width:40%">
|
|
|
96 |
#if($end >= $size)
|
|
|
97 |
<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
|
|
|
98 |
#else
|
|
|
99 |
<button class="btn btn-primary next" style="width:100%">Next</button>
|
|
|
100 |
#end
|
|
|
101 |
</div>
|
|
|
102 |
</div>
|
|
|
103 |
</div>
|
|
|
104 |
#end
|
|
|
105 |
</section>
|