| 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;">
|
|
|
56 |
<th rowspan="2">Partner Name</th>
|
|
|
57 |
#foreach($paymentOption in $paymentOptions)
|
|
|
58 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
|
|
59 |
|
|
|
60 |
<th colspan="$serviceBrandsConfigMap.get($paymentOption.getId()).size()">
|
|
|
61 |
$paymentOption.getName()
|
|
|
62 |
</th>
|
|
|
63 |
|
|
|
64 |
#end
|
|
|
65 |
|
|
|
66 |
#end
|
|
|
67 |
</tr>
|
|
|
68 |
<tr>
|
|
|
69 |
#foreach($paymentOption in $paymentOptions)
|
|
|
70 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
|
|
71 |
#foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
72 |
<th >
|
|
|
73 |
<img src="${brandUrlMap.get($serviceBrand.getBrand())}"
|
|
|
74 |
class="cover-brand $serviceBrand.getBrand()" id="finBrandUrl" style="height: 30px;">
|
|
|
75 |
</th>
|
|
|
76 |
#end
|
|
|
77 |
#end
|
|
|
78 |
#end
|
|
|
79 |
</tr>
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
</thead>
|
|
|
83 |
<tbody>
|
| 28764 |
amit.gupta |
84 |
#foreach($entryCr in $cr.entrySet())
|
|
|
85 |
|
| 28758 |
amit.gupta |
86 |
<tr>
|
| 29007 |
manish |
87 |
<td data-id="$entryCr.getKey()">$entryCr.getValue().getBusinessName() ($entryCr.getValue().getCode())</td>
|
| 28758 |
amit.gupta |
88 |
#foreach($paymentOption in $paymentOptions)
|
|
|
89 |
#if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
|
|
|
90 |
#foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
91 |
|
| 28847 |
manish |
92 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="YES")
|
|
|
93 |
|
| 28800 |
amit.gupta |
94 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getApplicableType()== "YES")
|
|
|
95 |
|
| 28901 |
manish |
96 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getCode())
|
| 28800 |
amit.gupta |
97 |
|
| 28901 |
manish |
98 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).isActive())
|
|
|
99 |
|
|
|
100 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPartnerStatusType() == "WORKING")
|
|
|
101 |
|
|
|
102 |
<td class="working-green">✔</td>
|
|
|
103 |
#else
|
| 28977 |
manish |
104 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() != "")
|
|
|
105 |
|
|
|
106 |
<td class="not-working-red" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment()">✖✖</td>
|
|
|
107 |
#else
|
|
|
108 |
<td class="not-working-red" title="No Comments Are There">✖✖</td>
|
|
|
109 |
#end
|
| 28901 |
manish |
110 |
#end
|
|
|
111 |
#else
|
| 28977 |
manish |
112 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeCreatedTimilines())
|
|
|
113 |
|
|
|
114 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() != "")
|
|
|
115 |
<td class="not-working" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
|
|
116 |
#else
|
|
|
117 |
<td class="not-working" title="No Comments Are There">✖</td>
|
|
|
118 |
#end
|
|
|
119 |
#else
|
|
|
120 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() != "")
|
|
|
121 |
<td class="not-working" style="color:red;" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
|
|
122 |
#else
|
|
|
123 |
<td class="not-working" style="color:red;" title="No Comments Are There">✖</td>
|
|
|
124 |
|
|
|
125 |
#end
|
|
|
126 |
#end
|
| 28901 |
manish |
127 |
#end
|
|
|
128 |
#else
|
|
|
129 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeTimeStamp())
|
| 28883 |
manish |
130 |
<td>No Code</td>
|
|
|
131 |
|
| 28800 |
amit.gupta |
132 |
#else
|
| 28883 |
manish |
133 |
<td style="color : red;">No Code</td>
|
|
|
134 |
|
| 28800 |
amit.gupta |
135 |
#end
|
|
|
136 |
|
|
|
137 |
#end
|
| 28883 |
manish |
138 |
|
| 28758 |
amit.gupta |
139 |
|
|
|
140 |
#else
|
| 28883 |
manish |
141 |
|
| 28800 |
amit.gupta |
142 |
|
| 28758 |
amit.gupta |
143 |
<td>NA</td>
|
| 28800 |
amit.gupta |
144 |
|
| 28758 |
amit.gupta |
145 |
#end
|
| 28847 |
manish |
146 |
|
|
|
147 |
#else
|
| 28977 |
manish |
148 |
|
|
|
149 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() != "")
|
|
|
150 |
<td title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment()" class="servicesComment">SNA </td>
|
|
|
151 |
#else
|
|
|
152 |
|
|
|
153 |
<td title="No Comments Are There" class="servicesComment">SNA
|
|
|
154 |
|
|
|
155 |
#end
|
| 28883 |
manish |
156 |
|
| 28847 |
manish |
157 |
#end
|
| 28758 |
amit.gupta |
158 |
|
|
|
159 |
#end
|
| 28883 |
manish |
160 |
#else
|
| 28758 |
amit.gupta |
161 |
#end
|
|
|
162 |
#end
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
</tr>
|
|
|
169 |
#end
|
|
|
170 |
</tbody>
|
|
|
171 |
|
|
|
172 |
</table>
|
|
|
173 |
</div>
|
|
|
174 |
|
|
|
175 |
</section>
|
|
|
176 |
|
|
|
177 |
<script>
|
|
|
178 |
|
|
|
179 |
var dtable = $('#financePartnerServices').DataTable(
|
|
|
180 |
{
|
|
|
181 |
|
| 28761 |
amit.gupta |
182 |
"scrollX": true,
|
| 28766 |
amit.gupta |
183 |
"scrollCollapse": true,
|
| 28765 |
amit.gupta |
184 |
"scrollY": "700px",
|
|
|
185 |
"fixedHeader": true,
|
|
|
186 |
"fixedColumns": {
|
| 28883 |
manish |
187 |
leftColumns: 1
|
|
|
188 |
},
|
| 28758 |
amit.gupta |
189 |
|
|
|
190 |
});
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
</script>
|