Subversion Repositories SmartDukaan

Rev

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