| 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>
|
|
|
24 |
#if($roleType=="false")
|
|
|
25 |
<section class="wrapper">
|
|
|
26 |
<div class="row">
|
|
|
27 |
<div class="col-lg-12">
|
|
|
28 |
<h3 class="page-header">
|
|
|
29 |
<i class="icon_document_alt">
|
|
|
30 |
</i>SERVICE
|
|
|
31 |
</h3>
|
|
|
32 |
<ol class="breadcrumb">
|
|
|
33 |
<li>
|
|
|
34 |
<i class="fa fa-home">
|
|
|
35 |
</i>
|
|
|
36 |
<a href="${rc.contextPath}/dashboard">Home
|
|
|
37 |
</a>
|
|
|
38 |
</li>
|
|
|
39 |
<li>
|
|
|
40 |
<i class="icon_document_alt">
|
|
|
41 |
</i>PARTNER SERVICE
|
|
|
42 |
</li>
|
|
|
43 |
</ol>
|
|
|
44 |
</div>
|
|
|
45 |
</div>
|
|
|
46 |
<div class="row">
|
|
|
47 |
#foreach($paymentOption in $paymentOptions)
|
|
|
48 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getApplicableType()=="YES")
|
|
|
49 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getCode())
|
|
|
50 |
<div class="column">
|
|
|
51 |
<h4>
|
| 24329 |
govind |
52 |
<label>
|
| 24328 |
govind |
53 |
<span>$paymentOption.getName()</span>
|
| 24317 |
govind |
54 |
</label>
|
|
|
55 |
</h4>
|
|
|
56 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
57 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()))
|
|
|
58 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getApplicableType()=="YES")
|
|
|
59 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).isActive()==true)
|
|
|
60 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getPartnerStatusType()=="WORKING")
|
|
|
61 |
<label class="checkbox-inline">
|
|
|
62 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand()
|
|
|
63 |
</label>
|
|
|
64 |
#else
|
|
|
65 |
<label class="checkbox-inline">
|
|
|
66 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
67 |
</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">
|
|
|
68 |
#end
|
|
|
69 |
#else
|
|
|
70 |
<label class="checkbox-inline">
|
|
|
71 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()<span style="color:red" data-toggle="tooltip" title="INACTIVE" class="red-tooltip"> ✕</span>
|
|
|
72 |
</label>
|
|
|
73 |
#end
|
|
|
74 |
#else
|
|
|
75 |
<label class="checkbox-inline">
|
|
|
76 |
<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>
|
|
|
77 |
</label>
|
|
|
78 |
#end
|
|
|
79 |
#else
|
|
|
80 |
<label class="checkbox-inline">
|
|
|
81 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand()
|
|
|
82 |
</label>
|
|
|
83 |
#end
|
|
|
84 |
#end
|
|
|
85 |
</div>
|
|
|
86 |
#else
|
|
|
87 |
<div class="column">
|
|
|
88 |
<h4>
|
| 24329 |
govind |
89 |
<label>
|
| 24328 |
govind |
90 |
<span>$paymentOption.getName()</span><span style="color:red" data-toggle="tooltip" title="INACTIVE" class="red-tooltip"> ✕</span>
|
| 24317 |
govind |
91 |
</label>
|
|
|
92 |
</h4>
|
|
|
93 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
94 |
<label class="checkbox-inline">
|
|
|
95 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
96 |
</label>
|
|
|
97 |
#end
|
|
|
98 |
</div>
|
|
|
99 |
#end
|
|
|
100 |
#else
|
|
|
101 |
<div class="column">
|
|
|
102 |
<h4>
|
| 24329 |
govind |
103 |
<label>
|
| 24328 |
govind |
104 |
<span>$paymentOption.getName()</span> <button class="notApplicableService btn-danger btn-md" data-nacommentservice="$serviceIdPartnerServiceMap.get($paymentOption.getId()).getNa_Comment()">NA</button>
|
| 24317 |
govind |
105 |
</label>
|
|
|
106 |
</h4>
|
|
|
107 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
108 |
<label class="checkbox-inline">
|
|
|
109 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
110 |
</label>
|
|
|
111 |
#end
|
|
|
112 |
</div>
|
|
|
113 |
#end
|
|
|
114 |
#end
|
|
|
115 |
</div>
|
|
|
116 |
</section>
|
|
|
117 |
#else
|
|
|
118 |
<div class="row">
|
|
|
119 |
#foreach($paymentOption in $paymentOptions)
|
|
|
120 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getApplicableType()=="YES")
|
|
|
121 |
#if($serviceIdPartnerServiceMap.get($paymentOption.getId()).getCode())
|
|
|
122 |
<div class="column">
|
|
|
123 |
<h4>
|
| 24328 |
govind |
124 |
<label>
|
| 24344 |
govind |
125 |
<span>$paymentOption.getName() </span><a href="#" style="color:blue" title="Activated">✔</span>
|
|
|
126 |
</label> <a href="#" style="color:red" title="DEACTIVATE SERVICE" class="deactivate-service" data-serviceid="$paymentOption.getId()">Deactivate</a>
|
| 24317 |
govind |
127 |
</h4>
|
|
|
128 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
|
|
129 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()))
|
|
|
130 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getApplicableType()=="YES")
|
|
|
131 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).isActive()==true)
|
|
|
132 |
#if($serviceBrandIdPartnerBrandServiceMap.get($serviceBrandsConfig.getId()).getPartnerStatusType()=="WORKING")
|
|
|
133 |
<label class="checkbox-inline">
|
| 24344 |
govind |
134 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand()<a href="#" style="color:blue" title="Activated">✔</a>
|
|
|
135 |
</label><a href="#" style="color:red" title="DEACTIVATE SERVICE" title="DEACTIVATE BRAND SERVICE" class="deactivate-brand-service" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()">Deactivate</a>
|
| 24317 |
govind |
136 |
#else
|
|
|
137 |
<label class="checkbox-inline">
|
|
|
138 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())">$serviceBrandsConfig.getBrand()
|
|
|
139 |
</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">
|
|
|
140 |
#end
|
|
|
141 |
#else
|
|
|
142 |
<label class="checkbox-inline">
|
| 24344 |
govind |
143 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand() <a href="#" style="color:red" title="Deactivated"> ✕</a>
|
|
|
144 |
</label> <a href="#" style="color:blue" title="ACTIVATE BRAND SERVICE" class="activate-brand-service" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()">Activate</a>
|
| 24317 |
govind |
145 |
#end
|
|
|
146 |
#else
|
| 24328 |
govind |
147 |
<label class="checkbox-inline">
|
| 24317 |
govind |
148 |
<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>
|
|
|
149 |
</label>
|
|
|
150 |
#end
|
|
|
151 |
#else
|
| 24328 |
govind |
152 |
<label class="checkbox-inline">
|
| 24344 |
govind |
153 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" checked>$serviceBrandsConfig.getBrand() <a href="#" style="color:blue" title="Activated">✔</a>
|
|
|
154 |
</label> <a href="#" style="color:red" title="DEACTIVATE BRAND SERVICE" class="deactivate-brand-service" data-serviceid="$paymentOption.getId()" data-servicebrandid="$serviceBrandsConfig.getId()">Deactivate</a>
|
| 24317 |
govind |
155 |
#end
|
|
|
156 |
#end
|
|
|
157 |
</div>
|
|
|
158 |
#else
|
|
|
159 |
<div class="column">
|
|
|
160 |
<h4>
|
| 24328 |
govind |
161 |
<label>
|
| 24344 |
govind |
162 |
<span>$paymentOption.getName()</span> <a href="#" style="color:red" title="Deactivated">✕</a>
|
|
|
163 |
</label> <a href="#" style="color:blue" title="ACTIVATE SERVICE" class="activate-service" data-serviceid="$paymentOption.getId()">Activate</a>
|
| 24317 |
govind |
164 |
</h4>
|
|
|
165 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
| 24328 |
govind |
166 |
<label class="checkbox-inline">
|
| 24317 |
govind |
167 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
168 |
</label>
|
|
|
169 |
#end
|
|
|
170 |
</div>
|
|
|
171 |
#end
|
|
|
172 |
#else
|
|
|
173 |
<div class="column">
|
|
|
174 |
<h4>
|
| 24328 |
govind |
175 |
<label>
|
|
|
176 |
<span>$paymentOption.getName()</span> <button class="notApplicableService btn-danger btn-md" data-nacommentservice="$serviceIdPartnerServiceMap.get($paymentOption.getId()).getNa_Comment()">NA</button>
|
| 24317 |
govind |
177 |
</label>
|
|
|
178 |
</h4>
|
|
|
179 |
#foreach($serviceBrandsConfig in $serviceIdAndServiceBrandsConfigMap.get($paymentOption.getId()))
|
| 24328 |
govind |
180 |
<label class="checkbox-inline">
|
| 24317 |
govind |
181 |
<input type="checkbox" value="$serviceBrandsConfig.getId()" onchange="onChangeStateServiceBrand(this,$paymentOption.getId())" disabled>$serviceBrandsConfig.getBrand()
|
|
|
182 |
</label>
|
|
|
183 |
#end
|
|
|
184 |
</div>
|
|
|
185 |
#end
|
|
|
186 |
#end
|
|
|
187 |
</div>
|
|
|
188 |
#end
|