Subversion Repositories SmartDukaan

Rev

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

Rev 33927 Rev 34080
Line 8... Line 8...
8
            </ol>
8
            </ol>
9
        </div>
9
        </div>
10
    </div>
10
    </div>
11
 
11
 
12
    <div class="col-lg-12">
12
    <div class="col-lg-12">
13
        <table class="table table-bordered" style="text-align: center">
13
        <table class="table table-bordered" style="text-align: center" id="wod-fin-mapping-report">
14
            <thead>
14
            <thead>
15
            <tr>
15
            <tr>
16
                <th colspan="4" style="text-align: center">Partner Details</th>
16
                <th colspan="4" style="text-align: center">Partner Details</th>
17
                <th colspan="$brandCommits.size()" style="text-align: center">Wod Status</th>
17
                <th colspan="$brandCommits.size()" style="text-align: center">Wod Status</th>
18
                <th colspan="$paperFinanceOptions.size()">Wod Finance mapping Status</th>
18
                <th colspan="$paperFinanceOptions.size()">Wod Finance mapping Status</th>
Line 65... Line 65...
65
                    #end
65
                    #end
66
 
66
 
67
                    <!-- Wod finance mapping Details-->
67
                    <!-- Wod finance mapping Details-->
68
                    #set ($wodFinModelMap = $codeServiceBrandWodFinMappingModelMap.get($pop.getCode()))
68
                    #set ($wodFinModelMap = $codeServiceBrandWodFinMappingModelMap.get($pop.getCode()))
69
                    #foreach($po in $paperFinanceOptions)
69
                    #foreach($po in $paperFinanceOptions)
70
                        #if($wodFinModelMap.containsKey($po.getName()))
-
 
-
 
70
 
71
                            #set($brandModelMap = $wodFinModelMap.get($po.getName()))
71
                            #set($brandModelMap = $wodFinModelMap.get($po.getName()))
72
                            #foreach($sb in $serviceBrandsConfigsMap.get($po.getId()))
72
                            #foreach($sb in $serviceBrandsConfigsMap.get($po.getId()))
73
                                #if($brandModelMap.containsKey($sb.getBrand()))
73
                                #if($brandModelMap.containsKey($sb.getBrand()))
74
                                    #set ($model = $brandModelMap.get($sb.getBrand()))
74
                                    #set ($model = $brandModelMap.get($sb.getBrand()))
75
                                    #if($model.getActive())
75
                                    #if($model.getActive())
Line 79... Line 79...
79
                                    #end
79
                                    #end
80
                                #else
80
                                #else
81
                                    <td>--</td>
81
                                    <td>--</td>
82
                                #end
82
                                #end
83
                            #end
83
                            #end
84
                        #else
-
 
85
                            #set($const2 = $serviceBrandsConfigsMap.get($po.getId()).size())
-
 
86
                            <td colspan="$const2" style="text-align: center"> -</td>
-
 
87
                        #end
-
 
-
 
84
 
88
                    #end
85
                    #end
89
                </tr>
86
                </tr>
90
                #end
87
                #end
91
            </tbody>
88
            </tbody>
92
        </table>
89
        </table>
93
    </div>
90
    </div>
94
</section>
-
 
95
91
</section>
-
 
92
<script>
-
 
93
    $('#wod-fin-mapping-report').DataTable({
-
 
94
        paging: true,
-
 
95
        searching: true,
-
 
96
        ordering: true,
-
 
97
        info: true,
-
 
98
        lengthChange: true,
-
 
99
        autoWidth: false,
-
 
100
        "scrollX": true,
-
 
101
 
-
 
102
        fixedColumns: {
-
 
103
            leftColumns: 4
-
 
104
        },
-
 
105
    });
-
 
106
</script>
-
 
107
96
108