| 29061 |
tejbeer |
1 |
<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>
|
|
|
2 |
<style>
|
|
|
3 |
.dot {
|
|
|
4 |
height: 25px;
|
|
|
5 |
width: 25px;
|
|
|
6 |
border: 3px solid #BADA55;
|
|
|
7 |
border-radius: 50px;
|
|
|
8 |
display: inline-block;
|
|
|
9 |
}
|
|
|
10 |
</style>
|
|
|
11 |
<section class="wrapper">
|
|
|
12 |
<div class="row">
|
|
|
13 |
<div class="col-lg-12">
|
|
|
14 |
<h3 class="page-header">DMS CODE</i></h3>
|
|
|
15 |
<ol class="breadcrumb">
|
|
|
16 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
17 |
<li><i class="icon_document_alt"></i>Onboarding Timeline</li>
|
|
|
18 |
</ol>
|
|
|
19 |
</div>
|
|
|
20 |
</div>
|
|
|
21 |
<div class="col-lg-12">
|
|
|
22 |
<table class="table table-border table-condensed table-bordered" id="storeTimeline" style="width:100%">
|
|
|
23 |
|
|
|
24 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
25 |
|
|
|
26 |
<tr style="color:black;">
|
|
|
27 |
<th>Id</th>
|
|
|
28 |
<th>Outlet Name</th>
|
|
|
29 |
<th>Code</th>
|
|
|
30 |
<th>onBoarding</th>
|
|
|
31 |
<th>Verification</th>
|
|
|
32 |
<th>Store Code</th>
|
|
|
33 |
<th>Training</th>
|
|
|
34 |
<th>Recce</th>
|
|
|
35 |
<th>Advance Stock</th>
|
|
|
36 |
<th>Branding</th>
|
|
|
37 |
<th>Full Stock</th>
|
|
|
38 |
<th>Billing</th>
|
|
|
39 |
<th>Inaugration</th>
|
|
|
40 |
<th>Fin Services</th>
|
|
|
41 |
<th>Promoter </th>
|
|
|
42 |
|
|
|
43 |
</tr>
|
|
|
44 |
</thead>
|
|
|
45 |
<tbody>
|
|
|
46 |
|
|
|
47 |
#foreach($st in $storeTimelines)
|
|
|
48 |
<tr>
|
|
|
49 |
<td>$st.getOnboardingId()</td>
|
|
|
50 |
<td>$st.getOutletName() ($st.getCity())</td>
|
|
|
51 |
#if($st.getCode())
|
|
|
52 |
<td>$st.getCode()</td>
|
|
|
53 |
#else
|
|
|
54 |
<td>-</td>
|
|
|
55 |
#end
|
|
|
56 |
#foreach($obtm in $st.getObtm())
|
|
|
57 |
#if($obtm.getStatus() == "COMPLETED")
|
|
|
58 |
<td><span class="dot" style="background-color:#3bb143"></span> $obtm.getCompletedTimestamp().format($dateFormatter)</td>
|
|
|
59 |
#end
|
|
|
60 |
#if($obtm.getStatus() == "DELAY")
|
|
|
61 |
<td><span class="dot" style="background-color:#d3181f"></span>$obtm.getCompletedTimestamp().format($dateFormatter)</td>
|
|
|
62 |
#end
|
|
|
63 |
|
|
|
64 |
#if($obtm.getStatus() == "WIP")
|
|
|
65 |
<td><span class="dot" style="background-color:#ffd300"></span>$obtm.getCompletedTimestamp().format($dateFormatter)</td>
|
|
|
66 |
#end
|
|
|
67 |
#if($obtm.getStatus() == "NOT_STARTED")
|
|
|
68 |
<td><span class="dot" style="background-color:#999DA0"></span> $obtm.getCompletedTimestamp().format($dateFormatter)</td>
|
|
|
69 |
#end
|
|
|
70 |
#end
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
</tr>
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
#end
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
</tbody>
|
|
|
81 |
|
|
|
82 |
</table>
|
|
|
83 |
</div>
|
|
|
84 |
</section>
|
|
|
85 |
|
|
|
86 |
<script type="text/javascript">
|
|
|
87 |
|
|
|
88 |
$(document).ready(function () {
|
|
|
89 |
|
|
|
90 |
var dtable = $('#storeTimeline').DataTable({
|
|
|
91 |
"scrollX": true,
|
|
|
92 |
orderCellsTop: true,
|
|
|
93 |
});
|
|
|
94 |
|
|
|
95 |
});
|
|
|
96 |
</script>
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|