| 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()))
|
| 29058 |
manish |
95 |
|
| 28758 |
amit.gupta |
96 |
|
| 29055 |
manish |
97 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="YES")
|
| 29064 |
manish |
98 |
|
|
|
99 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="YES" && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPartnerNotInterestedServiceComment() )
|
|
|
100 |
|
| 28847 |
manish |
101 |
|
| 29064 |
manish |
102 |
<td title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPartnerNotInterestedServiceComment()">PNI</td>
|
|
|
103 |
#else
|
|
|
104 |
|
| 28800 |
amit.gupta |
105 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getApplicableType()== "YES")
|
|
|
106 |
|
| 29055 |
manish |
107 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getCode())
|
| 28800 |
amit.gupta |
108 |
|
| 29055 |
manish |
109 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).isActive())
|
| 28901 |
manish |
110 |
|
| 29055 |
manish |
111 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPartnerStatusType() == "WORKING")
|
| 28901 |
manish |
112 |
|
|
|
113 |
<td class="working-green">✔</td>
|
|
|
114 |
#else
|
| 29055 |
manish |
115 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment() != "")
|
| 28977 |
manish |
116 |
|
|
|
117 |
<td class="not-working-red" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsPartnerStatusComment()">✖✖</td>
|
| 29055 |
manish |
118 |
#else
|
| 28977 |
manish |
119 |
<td class="not-working-red" title="No Comments Are There">✖✖</td>
|
| 29055 |
manish |
120 |
#end
|
|
|
121 |
#end
|
|
|
122 |
#else
|
| 29066 |
manish |
123 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeCreatedTimilines())
|
|
|
124 |
|
| 29055 |
manish |
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" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
| 29055 |
manish |
127 |
#else
|
| 28977 |
manish |
128 |
<td class="not-working" title="No Comments Are There">✖</td>
|
| 29055 |
manish |
129 |
#end
|
| 29065 |
manish |
130 |
|
| 29066 |
manish |
131 |
#else
|
| 29055 |
manish |
132 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment() != "")
|
| 28977 |
manish |
133 |
<td class="not-working" style="color:red;" title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPbsNaComment()">✖</td>
|
| 29055 |
manish |
134 |
#else
|
|
|
135 |
<td class="not-working" style="color:red;" title="No Comments Are There">✖</td>
|
| 28977 |
manish |
136 |
|
| 29055 |
manish |
137 |
#end
|
| 29066 |
manish |
138 |
#end
|
| 29055 |
manish |
139 |
#end
|
|
|
140 |
#else
|
|
|
141 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeTimeStamp())
|
|
|
142 |
<td>No Code</td>
|
|
|
143 |
#else
|
| 29064 |
manish |
144 |
<td data-timestamp="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceStatusByCodeTimeStamp()" style="color : red;">No Code</td>
|
|
|
145 |
#end
|
| 28800 |
amit.gupta |
146 |
|
|
|
147 |
#end
|
| 28883 |
manish |
148 |
|
| 28758 |
amit.gupta |
149 |
|
|
|
150 |
#else
|
| 28883 |
manish |
151 |
|
| 28800 |
amit.gupta |
152 |
|
| 28758 |
amit.gupta |
153 |
<td>NA</td>
|
| 28800 |
amit.gupta |
154 |
|
| 28758 |
amit.gupta |
155 |
#end
|
| 29064 |
manish |
156 |
#end
|
| 28847 |
manish |
157 |
|
| 29058 |
manish |
158 |
#elseif($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() =="NO")
|
|
|
159 |
|
| 29056 |
manish |
160 |
#if($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() && $financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment() != "")
|
|
|
161 |
<td title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsNaComment()" class="servicesComment">SNA </td>
|
| 28977 |
manish |
162 |
#else
|
| 29058 |
manish |
163 |
<td title="No Comments Are There" class="servicesComment">SNA</td>
|
| 29056 |
manish |
164 |
#end
|
| 29058 |
manish |
165 |
|
|
|
166 |
|
|
|
167 |
#elseif($financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getServiceApplicableType() == "PENDING")
|
| 29055 |
manish |
168 |
|
| 29058 |
manish |
169 |
<td title="$financeServicesMapOfMap.get($entryCr.getKey()).get($serviceBrand.getId()).getPsPendingCreateTimestamp()"> -- </td>
|
| 29055 |
manish |
170 |
|
| 29058 |
manish |
171 |
|
| 29056 |
manish |
172 |
#else
|
| 29058 |
manish |
173 |
|
|
|
174 |
<td title="They Nevered Work On This Partner"> -- </td>
|
| 29056 |
manish |
175 |
#end
|
| 29058 |
manish |
176 |
|
| 28883 |
manish |
177 |
|
| 28758 |
amit.gupta |
178 |
|
| 29058 |
manish |
179 |
|
| 28758 |
amit.gupta |
180 |
#end
|
| 28883 |
manish |
181 |
#else
|
| 28758 |
amit.gupta |
182 |
#end
|
|
|
183 |
#end
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
</tr>
|
|
|
187 |
#end
|
|
|
188 |
</tbody>
|
|
|
189 |
|
|
|
190 |
</table>
|
|
|
191 |
</div>
|
|
|
192 |
|
|
|
193 |
</section>
|
|
|
194 |
|
|
|
195 |
<script>
|
|
|
196 |
|
|
|
197 |
var dtable = $('#financePartnerServices').DataTable(
|
|
|
198 |
{
|
|
|
199 |
|
| 28761 |
amit.gupta |
200 |
"scrollX": true,
|
| 28766 |
amit.gupta |
201 |
"scrollCollapse": true,
|
| 28765 |
amit.gupta |
202 |
"scrollY": "700px",
|
|
|
203 |
"fixedHeader": true,
|
| 29024 |
manish |
204 |
"order": [[ 0, "desc" ]],
|
| 28765 |
amit.gupta |
205 |
"fixedColumns": {
|
| 28883 |
manish |
206 |
leftColumns: 1
|
|
|
207 |
},
|
| 28758 |
amit.gupta |
208 |
|
|
|
209 |
});
|
| 29024 |
manish |
210 |
|
|
|
211 |
dtable.column(0).visible(false);
|
| 28758 |
amit.gupta |
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
</script>
|