| 24317 |
govind |
1 |
<style>
|
|
|
2 |
.column {
|
|
|
3 |
float: none;
|
|
|
4 |
width: 50%;
|
|
|
5 |
position:relative;
|
|
|
6 |
padding: 5px;
|
|
|
7 |
left:40px;
|
|
|
8 |
border-style: groove;
|
|
|
9 |
border-width: 1px;
|
|
|
10 |
}
|
|
|
11 |
a {
|
|
|
12 |
text-decoration: none !important;
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
.tooltip-arrow,
|
|
|
16 |
.red-tooltip + .tooltip.top > .tooltip-inner {background-color: #f00;}
|
|
|
17 |
|
|
|
18 |
</style>
|
|
|
19 |
<script>
|
|
|
20 |
$(document).ready(function(){
|
|
|
21 |
$('[data-toggle="tooltip"]').tooltip();
|
|
|
22 |
});
|
|
|
23 |
</script>
|
| 29049 |
tejbeer |
24 |
|
| 24317 |
govind |
25 |
#if($roleType=="false")
|
|
|
26 |
<section class="wrapper">
|
|
|
27 |
<div class="row">
|
|
|
28 |
<div class="col-lg-12">
|
|
|
29 |
<h3 class="page-header">
|
|
|
30 |
<i class="icon_document_alt">
|
|
|
31 |
</i>SERVICE
|
|
|
32 |
</h3>
|
|
|
33 |
<ol class="breadcrumb">
|
|
|
34 |
<li>
|
|
|
35 |
<i class="fa fa-home">
|
|
|
36 |
</i>
|
|
|
37 |
<a href="${rc.contextPath}/dashboard">Home
|
|
|
38 |
</a>
|
|
|
39 |
</li>
|
|
|
40 |
<li>
|
|
|
41 |
<i class="icon_document_alt">
|
|
|
42 |
</i>PARTNER SERVICE
|
|
|
43 |
</li>
|
|
|
44 |
</ol>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
<div class="row">
|
|
|
48 |
#foreach($paymentOption in $paymentOptions)
|
|
|
49 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getApplicableType()=="YES")
|
|
|
50 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getCode())
|
|
|
51 |
<div class="column">
|
|
|
52 |
<h4>
|
| 24329 |
govind |
53 |
<label>
|
| 24328 |
govind |
54 |
<span>$paymentOption.getName()</span>
|
| 24317 |
govind |
55 |
</label>
|
|
|
56 |
</h4>
|
|
|
57 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
58 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()))
|
|
|
59 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getApplicableType()=="YES")
|
|
|
60 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).isActive()==true)
|
|
|
61 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getPartnerStatusType()=="WORKING")
|
|
|
62 |
<label class="checkbox-inline">
|
| 28758 |
amit.gupta |
63 |
<input type="checkbox" class ="fin-service-brand" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId(),`$serviceBrandsConfig.getBrand()`)" checked data-brand="$serviceBrandsConfig.getBrand()">$serviceBrandsConfig.getBrand()
|
| 24317 |
govind |
64 |
</label>
|
|
|
65 |
#else
|
|
|
66 |
<label class="checkbox-inline">
|
| 28758 |
amit.gupta |
67 |
<input type="checkbox" class ="fin-service-brand" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId(),`$serviceBrandsConfig.getBrand()`)" disabled data-brand="$serviceBrandsConfig.getBrand()">$serviceBrandsConfig.getBrand()
|
| 24317 |
govind |
68 |
</label> <img src="http://vignette2.wikia.nocookie.net/psi/images/a/ac/Not-allowed-sign.jpg/revision/latest?cb=20130413190602" alt="notWorking" style="width:15px;height:15px;" title="NOT WORKING">
|
|
|
69 |
#end
|
|
|
70 |
#else
|
|
|
71 |
<label class="checkbox-inline">
|
| 28758 |
amit.gupta |
72 |
<input type="checkbox" class ="fin-service-brand" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId(),`$serviceBrandsConfig.getBrand()`)" disabled data-brand="$serviceBrandsConfig.getBrand()">$serviceBrandsConfig.getBrand()<span style="color:red" data-toggle="tooltip" title="INACTIVE" class="red-tooltip"> ✕</span>
|
| 24317 |
govind |
73 |
</label>
|
|
|
74 |
#end
|
|
|
75 |
#else
|
| 29051 |
manish |
76 |
<label class="checkbox-inline">
|
|
|
77 |
<input type="checkbox" class ="fin-service-brand" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId(),`$serviceBrandsConfig.getBrand()`)" disabled data-brand="$serviceBrandsConfig.getBrand()">$serviceBrandsConfig.getBrand() <button class="notApplicableBrandService btn-danger btn-md" data-nacommentservice="$serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getNa_Comment()">NA</button>
|
|
|
78 |
</label>
|
|
|
79 |
#end
|
|
|
80 |
#else
|
| 24317 |
govind |
81 |
<label class="checkbox-inline">
|
| 28758 |
amit.gupta |
82 |
<input type="checkbox" class ="fin-service-brand" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId(),`$serviceBrandsConfig.getBrand()`)" checked data-brand="$serviceBrandsConfig.getBrand()">$serviceBrandsConfig.getBrand()
|
| 24317 |
govind |
83 |
</label>
|
|
|
84 |
#end
|
|
|
85 |
#end
|
|
|
86 |
</div>
|
|
|
87 |
#else
|
|
|
88 |
#end
|
|
|
89 |
#else
|
| 29051 |
manish |
90 |
|
|
|
91 |
#end
|
| 24317 |
govind |
92 |
#end
|
|
|
93 |
</div>
|
|
|
94 |
</section>
|
|
|
95 |
#else
|
|
|
96 |
<div class="row">
|
|
|
97 |
#foreach($paymentOption in $paymentOptions)
|
|
|
98 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getApplicableType()=="YES")
|
| 28829 |
amit.gupta |
99 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getCode())
|
|
|
100 |
<div class="column">
|
|
|
101 |
<h4>
|
|
|
102 |
<label>
|
|
|
103 |
<span>$paymentOption.getName() </span>
|
|
|
104 |
<a href="javascript:void(0)">Applicable</a>
|
|
|
105 |
<button class="markNA btn-primary btn-md">Mark NA</button>
|
|
|
106 |
<a href="javascript:void(0)" style="color:blue" title="Activated">✔</span>
|
|
|
107 |
</label> <a href="javascript:void(0)" style="color:red" title="DEACTIVATE SERVICE" class="deactivate-service" data-serviceid="$paymentOption.getId()">Deactivate</a>
|
| 28838 |
amit.gupta |
108 |
</h4>
|
| 28829 |
amit.gupta |
109 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
110 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()))
|
|
|
111 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getApplicableType()=="YES")
|
|
|
112 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).isActive()==true)
|
|
|
113 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getPartnerStatusType()=="WORKING")
|
|
|
114 |
<label class="checkbox-inline">
|
|
|
115 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand() <a href="javascript:void(0)" style="color:blue" title="Activated">✔</a>
|
| 29051 |
manish |
116 |
</label><a href="#" style="color:red" title="DEACTIVATE SERVICE" title="DEACTIVATE BRAND SERVICE" class="deactivate-brand-service-modal" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()"data-toggle="modal" data-target="#myServiceDeActivateBrand">Deactivate</a>
|
|
|
117 |
<div id="myServiceDeActivateBrand" class="modal fade" role="dialog">
|
|
|
118 |
</div>
|
|
|
119 |
#else
|
| 28829 |
amit.gupta |
120 |
<label class="checkbox-inline">
|
|
|
121 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())">$serviceBrandsConfig.getBrand()
|
|
|
122 |
</label> <img src="http://vignette2.wikia.nocookie.net/psi/images/a/ac/Not-allowed-sign.jpg/revision/latest?cb=20130413190602" alt="notWorking" style="width:20px;height:10px;" title="NOT WORKING">
|
|
|
123 |
#end
|
|
|
124 |
#else
|
|
|
125 |
<label class="checkbox-inline">
|
|
|
126 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand() <a href="javascript:void(0)" style="color:red" title="Deactivated"> ✕</a>
|
| 29051 |
manish |
127 |
</label> <a href="#" style="color:blue" title="ACTIVATE BRAND SERVICE" class="activate-brand-service-modal" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()" data-toggle="modal" data-target="#myServiceActivateBrand">Activate</a>
|
|
|
128 |
<div id="myServiceActivateBrand" class="modal fade" role="dialog">
|
|
|
129 |
</div>
|
|
|
130 |
#end
|
| 28829 |
amit.gupta |
131 |
#else
|
|
|
132 |
<label class="checkbox-inline">
|
|
|
133 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand() <button class="notApplicableBrandService btn-danger btn-md" data-nacommentservice="$serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getNa_Comment()">NA</button>
|
|
|
134 |
</label>
|
|
|
135 |
#end
|
|
|
136 |
#else
|
|
|
137 |
<label class="checkbox-inline">
|
|
|
138 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand() <a href="javascript:void(0)" style="color:blue" title="Activated">✔</a>
|
|
|
139 |
</label> <a href="javascript:void(0)" style="color:red" title="DEACTIVATE BRAND SERVICE" class="deactivate-brand-service" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()">Deactivate</a>
|
|
|
140 |
#end
|
|
|
141 |
#end
|
|
|
142 |
</div>
|
|
|
143 |
#else
|
|
|
144 |
<div class="column">
|
|
|
145 |
<h4>
|
| 29058 |
manish |
146 |
<label>
|
| 28829 |
amit.gupta |
147 |
<span>$paymentOption.getName()</span>
|
|
|
148 |
<a href="javascript:void(0)">Applicable</a>
|
|
|
149 |
<button class="markNA btn-primary btn-md" data-serviceid="$paymentOption.getId()">Mark NA</button>
|
|
|
150 |
<a href="javascript:void(0)" style="color:red" title="Deactivated">✕</a>
|
|
|
151 |
</label> <a href="javascript:void(0)" style="color:blue" title="ACTIVATE SERVICE" class="activate-service" data-serviceid="$paymentOption.getId()">Activate</a>
|
|
|
152 |
</h4>
|
|
|
153 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
154 |
<label class="checkbox-inline">
|
|
|
155 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
156 |
</label>
|
|
|
157 |
#end
|
|
|
158 |
</div>
|
|
|
159 |
#end
|
| 24317 |
govind |
160 |
#else
|
|
|
161 |
<div class="column">
|
|
|
162 |
<h4>
|
| 24328 |
govind |
163 |
<label>
|
| 28829 |
amit.gupta |
164 |
<span>$paymentOption.getName()</span>
|
|
|
165 |
<button class="notApplicableService btn-danger btn-md" data-nacommentservice="$serviceIdPartnerServiceMap.get($paymentOption.getId()).getNa_Comment()">NA</button>
|
|
|
166 |
<button class="markApplicable btn-primary btn-md" data-serviceid="$paymentOption.getId()">Mark Applicable</button>
|
| 29058 |
manish |
167 |
<button class="markNA btn-primary btn-md" data-serviceid="$paymentOption.getId()">Mark NA</button>
|
| 24317 |
govind |
168 |
</label>
|
|
|
169 |
</h4>
|
|
|
170 |
</div>
|
|
|
171 |
#end
|
|
|
172 |
#end
|
|
|
173 |
</div>
|
|
|
174 |
#end
|