Subversion Repositories SmartDukaan

Rev

Rev 33618 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33618 Rev 33649
Line 1... Line 1...
1
<style>
1
<style>
2
.working-green
2
    .working-green {
3
{
-
 
4
color:green;
3
        color: green;
-
 
4
    }
5
}
5
 
6
.not-working-red
6
    .not-working-red {
7
{
-
 
8
color:red;
7
        color: red;
9
 
8
 
-
 
9
    }
10
}
10
 
11
.cover-brand {
11
    .cover-brand {
-
 
12
 
12
   
13
 
13
    
14
    }
14
}
-
 
15
 
15
 
16
.servicesComment .psComment {
16
    .servicesComment .psComment {
17
  visibility: hidden;
17
        visibility: hidden;
18
  width: 120px;
18
        width: 120px;
19
  background-color: black;
19
        background-color: black;
20
  color: #fff;
20
        color: #fff;
21
  text-align: center;
21
        text-align: center;
22
  border-radius: 6px;
22
        border-radius: 6px;
23
  padding: 5px 0;
23
        padding: 5px 0;
24
 
24
 
25
  /* Position the tooltip */
25
        /* Position the tooltip */
26
  position: absolute;
26
        position: absolute;
27
  z-index: 1;
27
        z-index: 1;
28
}
28
    }
29
 
29
 
30
.servicesComment:hover .psComment {
30
    .servicesComment:hover .psComment {
31
  visibility: visible;
31
        visibility: visible;
-
 
32
    }
-
 
33
 
-
 
34
    .financePartnerServices-table table {
-
 
35
        width: 100%;
-
 
36
        border-collapse: collapse;
-
 
37
    }
-
 
38
 
-
 
39
    .financePartnerServices-table th, .financePartnerServices-table td {
-
 
40
        padding: 4px;
-
 
41
        text-align: left;
-
 
42
    }
-
 
43
 
32
}
44
 
-
 
45
    .financePartnerServices-table th.fixed-column, .financePartnerServices-table td.fixed-column {
-
 
46
        position: sticky;
-
 
47
        left: 0;
-
 
48
        background-color: white;
-
 
49
        z-index: 1;
-
 
50
        border-right: 1px solid #ddd;
-
 
51
        min-width: 120px;
-
 
52
        max-width: 120px;
-
 
53
        overflow: hidden;
-
 
54
        text-overflow: ellipsis;
-
 
55
    }
33
 
56
 
-
 
57
    .financePartnerServices-table th.fixed-column {
-
 
58
        z-index: 2;
-
 
59
    }
34
 
60
 
-
 
61
    .DTFC_LeftBodyLiner {
-
 
62
        overflow: hidden !important;
-
 
63
    }
35
</style>
64
</style>
36
    
65
 
37
    <section class="wrapper">
66
<section class="wrapper">
38
    <div class="row">
67
    <div class="row">
39
        <div class="col-lg-12">
68
        <div class="col-lg-12">
40
            <h3 class="page-header"><i class="icon_document_alt"></i>Finance Services</h3>
69
            <h3 class="page-header"><i class="icon_document_alt"></i>Finance Services</h3>
41
            <ol class="breadcrumb">
70
            <ol class="breadcrumb">
42
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
71
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
43
                <li><i class="icon_document_alt"></i>Finance Services</li>
72
                <li><i class="icon_document_alt"></i>Finance Services</li>
44
            </ol>
73
            </ol>
45
        </div>
74
        </div>
46
    </div>
75
    </div>
47
    
76
 
48
  <table class="table table-border table-condensed table-bordered">
77
    <table class="table table-border table-condensed table-bordered">
49
    <tr>
78
        <tr>
50
    
79
 
51
     <td>MA -> Mark Applicable</td>
80
            <td>MA -> Mark Applicable</td>
52
    <td>NA -> Not Applicable</td>
81
            <td>NA -> Not Applicable</td>
53
   
82
 
54
    <td>SNA -> Service Not Applicable</td>
83
            <td>SNA -> Service Not Applicable</td>
55
    <td>PNI -> Partner Not Interested</td>
84
            <td>PNI -> Partner Not Interested</td>
56
  
85
 
57
    <td>No-Code -> Code Not Available</td>
86
            <td>No-Code -> Code Not Available</td>
58
    
87
 
59
  </tr>
88
        </tr>
60
  <tr>
89
        <tr>
61
    <td>&#10006; -> Brand not started</td>
90
            <td>&#10006; -> Brand not started</td>
62
  
91
 
63
    <td><span style="color:red;">&#10006; </span>-> More then seven days brand not started</td>
92
            <td><span style="color:red;">&#10006; </span>-> More then seven days brand not started</td>
64
    <td><span style="color:red;">&#10006;&#10006; </span>-> Brand not working from partner side </td>
93
            <td><span style="color:red;">&#10006;&#10006; </span>-> Brand not working from partner side</td>
65
  
94
 
66
    <td><span style="color:green;">&#10004 </span> -> Brand proper work </td>
95
            <td><span style="color:green;">&#10004 </span> -> Brand proper work</td>
67
    <td>(--) -> Never work on partner</td>
96
            <td>(--) -> Never work on partner</td>
68
  </tr>
97
        </tr>
69
 
98
 
70
</table>
99
    </table>
71
    
100
 
72
    <div class="col-lg-12">
101
    <div class="col-lg-12">
73
        <table class="table table-striped table-advance table-hover table-border table-condensed table-bordered" id="financePartnerServices" style="width:100%">
102
        <table class="table table-striped table-advance table-hover table-border table-condensed table-bordered financePartnerServices-table"
-
 
103
               id="financePartnerServices" style="width:100%">
74
 
104
 
75
            <thead class="row">
105
            <thead class="row">
76
            
106
 
77
            <tr style="color:black;">
107
            <tr style="color:black;">
78
             <th rowspan="2" style="display:none">id</th>  
108
                <th rowspan="2" style="display:none">id</th>
79
                <th rowspan="2" >Partner Name</th>   
109
                <th rowspan="2" class="fixed-column">Partner Name</th>
80
                <th rowspan="2" >Store Code</th>
110
                <th rowspan="2" class="fixed-column">Store Code</th>
81
                <th rowspan="2">Doc Compl</th>  
111
                <th rowspan="2">Doc Compl</th>
82
     
112
 
83
               #foreach($paymentOption in $paymentOptions)
113
                #foreach($paymentOption in $paymentOptions)
84
                #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
114
                    #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
-
 
115
 
85
                
116
                        #if($financeAuthorityCheck)
-
 
117
 
-
 
118
                            #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 3 )
-
 
119
                            <th colspan="$bandsSize">
-
 
120
                                $paymentOption.getName()
86
                #if($financeAuthorityCheck)
121
                            </th>
87
                
122
                        #else
-
 
123
 
88
               #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 3 )
124
                            #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 2)
89
                <th colspan="$bandsSize">
125
                            <th colspan="$bandsSize">
90
                $paymentOption.getName()
126
                                $paymentOption.getName()
-
 
127
                            </th>
-
 
128
 
-
 
129
                        #end
-
 
130
 
91
                </th>
131
                    #end
92
                #else
132
                #end
-
 
133
 
-
 
134
            </tr>
93
                
135
            <tr>
-
 
136
                #foreach($paymentOption in $paymentOptions)
-
 
137
                    #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
-
 
138
                        #if($financeAuthorityCheck)
-
 
139
                            <th>activation</th>
-
 
140
                        #end
94
                  #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 2)
141
                        #foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))
95
                <th colspan="$bandsSize">
142
                            <th>
-
 
143
                                <img src="${brandUrlMap.get($serviceBrand.getBrand())}"
-
 
144
                                     class="cover-brand $serviceBrand.getBrand()" id="finBrandUrl"
-
 
145
                                     style="height: 30px;">
96
                $paymentOption.getName()
146
                            </th>
-
 
147
 
97
                </th>
148
                        #end
-
 
149
                        <th>Service Comment</th>
-
 
150
                        <th>Follow UP</th>
98
                
151
                    #end
99
                #end
152
                #end
100
 
153
 
101
                #end 
-
 
102
              #end
-
 
103
         
-
 
104
              </tr>
-
 
105
              <tr>
-
 
106
              #foreach($paymentOption in $paymentOptions)
-
 
107
              #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
-
 
108
              #if($financeAuthorityCheck)
-
 
109
               <th>activation</th>
-
 
110
               #end
-
 
111
              #foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))    
-
 
112
              <th >
-
 
113
              <img src="${brandUrlMap.get($serviceBrand.getBrand())}"
-
 
114
                                 class="cover-brand $serviceBrand.getBrand()" id="finBrandUrl" style="height: 30px;">
-
 
115
              </th>
-
 
116
      
-
 
117
              #end
-
 
118
               <th>Service Comment</th>
-
 
119
               <th>Follow UP</th>
-
 
120
              #end 
-
 
121
              #end
-
 
122
              
-
 
123
            </tr>
154
            </tr>
124
            
155
 
125
            </thead>
156
            </thead>
126
            <tbody>
157
            <tbody>
127
             #foreach($entryCr in $customRetailers)
158
                #foreach($entryCr in $customRetailers)
128
           <tr>
159
                <tr>
129
             #parse("finance-service-row.vm")
160
                        #parse("finance-service-row.vm")
130
           </tr>	
161
                </tr>
131
           #end
162
                #end
132
            </tbody>
163
            </tbody>
133
 
164
 
134
        </table>
165
        </table>
135
    </div>
166
    </div>
136
 
167
 
137
    </section>
-
 
138
    
-
 
139
    <script>
-
 
140
 
-
 
141
        var dtable = $('#financePartnerServices').DataTable(
-
 
142
                {
-
 
143
 
-
 
144
                  "scrollX": true,
-
 
145
            "scrollCollapse": true,
-
 
146
             "scrollY": "700px",
-
 
147
               "fixedHeader": true,
-
 
148
               "order": [[ 0, "desc" ]],
-
 
149
                  "fixedColumns":   {
-
 
150
                    leftColumns: 2
-
 
151
                     },
-
 
152
                   
-
 
153
                });
-
 
154
                
-
 
155
         
-
 
156
   
-
 
157
    
-
 
158
    </script>
-
 
159
168
</section>
-
 
169
 
-
 
170
<script>
-
 
171
 
-
 
172
    var dtable = $('#financePartnerServices').DataTable(
-
 
173
            {
-
 
174
                "scrollX": true,
-
 
175
                "scrollY": "700px",
-
 
176
                "fixedColumns": {
-
 
177
                    leftColumns: 3
-
 
178
                },
-
 
179
            });
-
 
180
 
-
 
181
 
-
 
182
</script>
-
 
183
160
184