Subversion Repositories SmartDukaan

Rev

Rev 29778 | Rev 33618 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 
29804 manish 49
  <table class="table table-border table-condensed table-bordered">
50
    <tr>
28758 amit.gupta 51
 
29771 manish 52
     <td>MA -> Mark Applicable</td>
53
    <td>NA -> Not Applicable</td>
54
 
55
    <td>SNA -> Service Not Applicable</td>
56
    <td>PNI -> Partner Not Interested</td>
57
 
58
    <td>No-Code -> Code Not Available</td>
59
 
29804 manish 60
  </tr>
29771 manish 61
  <tr>
62
    <td>&#10006; -> Brand not started</td>
63
 
64
    <td><span style="color:red;">&#10006; </span>-> More then seven days brand not started</td>
65
    <td><span style="color:red;">&#10006;&#10006; </span>-> Brand not working from partner side </td>
66
 
67
    <td><span style="color:green;">&#10004 </span> -> Brand proper work </td>
68
    <td>(--) -> Never work on partner</td>
69
  </tr>
70
 
71
</table>
72
 
28758 amit.gupta 73
    <div class="col-lg-12">
74
        <table class="table table-striped table-advance table-hover table-border table-condensed table-bordered" id="financePartnerServices" style="width:100%">
75
 
76
            <thead class="row">
77
 
78
            <tr style="color:black;">
29771 manish 79
             <th rowspan="2" style="display:none">id</th>  
80
                <th rowspan="2" >Partner Name</th>   
81
                <th rowspan="2" >Store Code</th>
82
                <th rowspan="2">Doc Compl</th>  
83
 
28758 amit.gupta 84
               #foreach($paymentOption in $paymentOptions)
85
                #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
29778 manish 86
 
87
                #if($financeAuthorityCheck)
88
 
29804 manish 89
               #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 3 )
29771 manish 90
                <th colspan="$bandsSize">
28758 amit.gupta 91
                $paymentOption.getName()
92
                </th>
29778 manish 93
                #else
94
 
29804 manish 95
                  #set ( $bandsSize = $serviceBrandsConfigMap.get($paymentOption.getId()).size() + 2)
29778 manish 96
                <th colspan="$bandsSize">
97
                $paymentOption.getName()
98
                </th>
99
 
100
                #end
101
 
29771 manish 102
                #end 
28758 amit.gupta 103
              #end
29771 manish 104
 
28758 amit.gupta 105
              </tr>
106
              <tr>
107
              #foreach($paymentOption in $paymentOptions)
108
              #if($serviceBrandsConfigMap.containsKey($paymentOption.getId()))
29778 manish 109
              #if($financeAuthorityCheck)
29771 manish 110
               <th>activation</th>
29778 manish 111
               #end
28758 amit.gupta 112
              #foreach($serviceBrand in $serviceBrandsConfigMap.get($paymentOption.getId()))    
113
              <th >
114
              <img src="${brandUrlMap.get($serviceBrand.getBrand())}"
115
                                 class="cover-brand $serviceBrand.getBrand()" id="finBrandUrl" style="height: 30px;">
116
              </th>
29771 manish 117
 
28758 amit.gupta 118
              #end
29771 manish 119
               <th>Service Comment</th>
29804 manish 120
               <th>Follow UP</th>
29771 manish 121
              #end 
28758 amit.gupta 122
              #end
29771 manish 123
 
28758 amit.gupta 124
            </tr>
125
 
126
            </thead>
127
            <tbody>
29771 manish 128
             #foreach($entryCr in $customRetailers)
129
           <tr>
130
             #parse("finance-service-row.vm")
131
           </tr>	
28758 amit.gupta 132
           #end
133
            </tbody>
134
 
135
        </table>
136
    </div>
137
 
138
    </section>
139
 
140
    <script>
141
 
142
        var dtable = $('#financePartnerServices').DataTable(
143
                {
144
 
28761 amit.gupta 145
                  "scrollX": true,
28766 amit.gupta 146
            "scrollCollapse": true,
28765 amit.gupta 147
             "scrollY": "700px",
148
               "fixedHeader": true,
29024 manish 149
               "order": [[ 0, "desc" ]],
28765 amit.gupta 150
                  "fixedColumns":   {
29771 manish 151
                    leftColumns: 2
28883 manish 152
                     },
28758 amit.gupta 153
 
154
                });
29024 manish 155
 
29771 manish 156
 
28758 amit.gupta 157
 
158
 
159
    </script>