| 28758 |
amit.gupta |
1 |
<style>
|
|
|
2 |
.working-green
|
|
|
3 |
{
|
|
|
4 |
color:green;
|
|
|
5 |
}
|
|
|
6 |
.not-working-red
|
|
|
7 |
{
|
|
|
8 |
color:red;
|
|
|
9 |
|
| 28977 |
manish |
10 |
}
|
| 28758 |
amit.gupta |
11 |
.cover-brand {
|
|
|
12 |
|
|
|
13 |
|
| 28977 |
manish |
14 |
}
|
| 28758 |
amit.gupta |
15 |
|
| 28977 |
manish |
16 |
.servicesComment .psComment {
|
|
|
17 |
visibility: hidden;
|
|
|
18 |
width: 120px;
|
|
|
19 |
background-color: black;
|
|
|
20 |
color: #fff;
|
|
|
21 |
text-align: center;
|
|
|
22 |
border-radius: 6px;
|
|
|
23 |
padding: 5px 0;
|
| 28758 |
amit.gupta |
24 |
|
| 28977 |
manish |
25 |
/* Position the tooltip */
|
|
|
26 |
position: absolute;
|
|
|
27 |
z-index: 1;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
.servicesComment:hover .psComment {
|
|
|
31 |
visibility: visible;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
| 28758 |
amit.gupta |
36 |
</style
|
|
|
37 |
|
|
|
38 |
<section class="wrapper">
|
|
|
39 |
<div class="row">
|
|
|
40 |
<div class="col-lg-12">
|
|
|
41 |
<h3 class="page-header"><i class="icon_document_alt"></i>Finance Sevices</h3>
|
|
|
42 |
<ol class="breadcrumb">
|
|
|
43 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
44 |
<li><i class="icon_document_alt"></i>Finance Sevices</li>
|
|
|
45 |
</ol>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
<div class="col-lg-12">
|
|
|
51 |
<table class="table table-striped table-advance table-hover table-border table-condensed table-bordered" id="financePartnerServices" style="width:100%">
|
|
|
52 |
|
|
|
53 |
<thead class="row">
|
|
|
54 |
|
|
|
55 |
<tr style="color:black;">
|
| 29024 |
manish |
56 |
<th rowspan="2">id</th>
|
|
|
57 |
<th rowspan="2">Partner Name</th>
|
|
|
58 |
<th rowspan="2">Store Code</th>
|
| 28758 |
amit.gupta |
59 |
#foreach($paymentOption in $paymentOptions)
|
|
|
60 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
|
|
61 |
|
|
|
62 |
<th colspan="$serviceBrandsConfigMap.get($paymentOption.getId()).size()">
|
|
|
63 |
$paymentOption.getName()
|
|
|
64 |
</th>
|
|
|
65 |
|
|
|
66 |
#end
|
|
|
67 |
|
|
|
68 |
#end
|
|
|
69 |
</tr>
|
|
|
70 |
<tr>
|
|
|
71 |
#foreach($paymentOption in $paymentOptions)
|
|
|
72 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
|
|
73 |
#foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
74 |
<th >
|
|
|
75 |
<img src="${brandUrlMap.get($serviceBrand.getBrand())}"
|
|
|
76 |
class="cover-brand $serviceBrand.getBrand()" id="finBrandUrl" style="height: 30px;">
|
|
|
77 |
</th>
|
|
|
78 |
#end
|
|
|
79 |
#end
|
|
|
80 |
#end
|
|
|
81 |
</tr>
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
</thead>
|
|
|
85 |
<tbody>
|
| 28764 |
amit.gupta |
86 |
#foreach($entryCr in $cr.entrySet())
|
|
|
87 |
|
| 29024 |
manish |
88 |
<tr>
|
|
|
89 |
<td>$entryCr.getValue().getPartnerId()</td>
|
|
|
90 |
<td data-id="$entryCr.getKey()">$entryCr.getValue().getBusinessName()</td>
|
|
|
91 |
<td data-id="$entryCr.getValue().getFofoActiveTimeStamp()">$entryCr.getValue().getCode()</td>
|
|
|
92 |
#foreach($paymentOption in $paymentOptions)
|
| 28758 |
amit.gupta |
93 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
| 29024 |
manish |
94 |
#foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))
|
| 28758 |
amit.gupta |
95 |
|
| 29024 |
manish |
96 |
|
| 29055 |
manish |
97 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="YES")
|
| 28847 |
manish |
98 |
|
| 28800 |
amit.gupta |
99 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getApplicableType()== "YES")
|
|
|
100 |
|
| 29055 |
manish |
101 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getCode())
|
| 28800 |
amit.gupta |
102 |
|
| 29055 |
manish |
103 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).isActive())
|
| 28901 |
manish |
104 |
|
| 29055 |
manish |
105 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPartnerStatusType() == "WORKING")
|
| 28901 |
manish |
106 |
|
|
|
107 |
<td class="working-green">✔</td>
|
|
|
108 |
#else
|
| 29055 |
manish |
109 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() != "")
|
| 28977 |
manish |
110 |
|
|
|
111 |
<td class="not-working-red" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment()">✖✖</td>
|
| 29055 |
manish |
112 |
#else
|
| 28977 |
manish |
113 |
<td class="not-working-red" title="No Comments Are There">✖✖</td>
|
| 29055 |
manish |
114 |
#end
|
|
|
115 |
#end
|
|
|
116 |
#else
|
|
|
117 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeCreatedTimilines())
|
| 28977 |
manish |
118 |
|
| 29055 |
manish |
119 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() != "")
|
| 28977 |
manish |
120 |
<td class="not-working" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
| 29055 |
manish |
121 |
#else
|
| 28977 |
manish |
122 |
<td class="not-working" title="No Comments Are There">✖</td>
|
| 29055 |
manish |
123 |
#end
|
|
|
124 |
#else
|
|
|
125 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() != "")
|
| 28977 |
manish |
126 |
<td class="not-working" style="color:red;" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
| 29055 |
manish |
127 |
#else
|
|
|
128 |
<td class="not-working" style="color:red;" title="No Comments Are There">✖</td>
|
| 28977 |
manish |
129 |
|
| 29055 |
manish |
130 |
#end
|
| 28977 |
manish |
131 |
#end
|
| 29055 |
manish |
132 |
#end
|
|
|
133 |
#else
|
|
|
134 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeTimeStamp())
|
|
|
135 |
<td>No Code</td>
|
|
|
136 |
#else
|
| 28883 |
manish |
137 |
<td style="color : red;">No Code</td>
|
| 29055 |
manish |
138 |
#end
|
| 28800 |
amit.gupta |
139 |
|
|
|
140 |
#end
|
| 28883 |
manish |
141 |
|
| 28758 |
amit.gupta |
142 |
|
|
|
143 |
#else
|
| 28883 |
manish |
144 |
|
| 28800 |
amit.gupta |
145 |
|
| 28758 |
amit.gupta |
146 |
<td>NA</td>
|
| 28800 |
amit.gupta |
147 |
|
| 28758 |
amit.gupta |
148 |
#end
|
| 28847 |
manish |
149 |
|
|
|
150 |
#else
|
| 28977 |
manish |
151 |
|
| 29055 |
manish |
152 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="NO")
|
| 28977 |
manish |
153 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() != "")
|
|
|
154 |
<td title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment()" class="servicesComment">SNA </td>
|
|
|
155 |
#else
|
| 29051 |
manish |
156 |
<td title="No Comments Are There" class="servicesComment">SNA </td>
|
| 28977 |
manish |
157 |
#end
|
| 29051 |
manish |
158 |
|
|
|
159 |
#else
|
| 29055 |
manish |
160 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="PENDING")
|
|
|
161 |
|
|
|
162 |
<td title="PENDING TIMESTAMP : $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPendingCreateTimestamp()"> -- </td>
|
|
|
163 |
|
|
|
164 |
#else
|
|
|
165 |
<td title="They Nevered Work On This Partner"> -- </td>
|
|
|
166 |
|
| 29051 |
manish |
167 |
#end
|
| 29055 |
manish |
168 |
#end
|
| 28883 |
manish |
169 |
|
| 28847 |
manish |
170 |
#end
|
| 28758 |
amit.gupta |
171 |
|
|
|
172 |
#end
|
| 28883 |
manish |
173 |
#else
|
| 28758 |
amit.gupta |
174 |
#end
|
|
|
175 |
#end
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
</tr>
|
|
|
179 |
#end
|
|
|
180 |
</tbody>
|
|
|
181 |
|
|
|
182 |
</table>
|
|
|
183 |
</div>
|
|
|
184 |
|
|
|
185 |
</section>
|
|
|
186 |
|
|
|
187 |
<script>
|
|
|
188 |
|
|
|
189 |
var dtable = $('#financePartnerServices').DataTable(
|
|
|
190 |
{
|
|
|
191 |
|
| 28761 |
amit.gupta |
192 |
"scrollX": true,
|
| 28766 |
amit.gupta |
193 |
"scrollCollapse": true,
|
| 28765 |
amit.gupta |
194 |
"scrollY": "700px",
|
|
|
195 |
"fixedHeader": true,
|
| 29024 |
manish |
196 |
"order": [[ 0, "desc" ]],
|
| 28765 |
amit.gupta |
197 |
"fixedColumns": {
|
| 28883 |
manish |
198 |
leftColumns: 1
|
|
|
199 |
},
|
| 28758 |
amit.gupta |
200 |
|
|
|
201 |
});
|
| 29024 |
manish |
202 |
|
|
|
203 |
dtable.column(0).visible(false);
|
| 28758 |
amit.gupta |
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
</script>
|