Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33845 tejus.loha 1
<section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"> Pending Wod-Finance Mapping</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Pending Wod-Finance Mapping</li>
8
            </ol>
9
        </div>
10
    </div>
11
 
12
    <div class="col-lg-12">
13
        <table class="table table-bordered" style="text-align: center">
14
            <thead>
15
            <tr>
16
                <th colspan="4" style="text-align: center">Partner Details</th>
17
                <th colspan="$brandCommits.size()" style="text-align: center">Wod Status</th>
18
                <th colspan="$paperFinanceOptions.size()">Wod Finance mapping Status</th>
19
            </tr>
20
 
21
            <tr>
22
                <th rowspan="2">Id</th>
23
                <th rowspan="2">Code</th>
24
                <th rowspan="2">Outlet Name</th>
25
                <th rowspan="2">City</th>
26
                #foreach($brand in $brandCommits)
27
                    <th rowspan="2">$brand.getBrand()</th>
28
                #end
29
                #foreach($po in $paperFinanceOptions)
30
                    #set($const2 = $serviceBrandsConfigsMap.get($po.getId()).size())
31
                    <th colspan="$const2" style="text-align: center">$po.getName()</th>
32
                #end
33
            </tr>
34
            <tr>
35
                #foreach($po in $paperFinanceOptions)
36
                    #foreach($serviceBrand in $serviceBrandsConfigsMap.get($po.getId()))
37
                        <th>$serviceBrand.getBrand()</th>
38
                    #end
39
                #end
40
            </tr>
41
 
42
            </thead>
43
            <tbody>
44
            <!-- Partner Details-->
45
                #foreach($pop in $partnerOnBoardingPanels)
33908 tejus.loha 46
                <tr>
33845 tejus.loha 47
                    <td>$pop.getId()</td>
48
                    <td>$pop.getCode()</td>
49
                    <td>$pop.getOutLetName()</td>
50
                    <td>$pop.getCity()</td>
51
 
52
                    <!-- Wod Details-->
53
                    #set ($wodFinMappingModel = $wodFinMappingModelMap.get($pop.getCode()))
54
                    #foreach($brand in $brandCommits)
55
                        #set ($model=$wodFinMappingModel.get($brand.getBrand()))
33887 tejus.loha 56
                        #if($model)
33845 tejus.loha 57
                            #if($model.getDmsCode()!="")
33927 tejus.loha 58
                                <td style="color:green ;font-weight: bold">ON</td>
33845 tejus.loha 59
                            #else
60
                                <td style="color:red">Pending</td>
61
                            #end
62
                        #else
63
                            <td style="color:#0062cc">NA</td>
64
                        #end
65
                    #end
66
 
67
                    <!-- Wod finance mapping Details-->
68
                    #set ($wodFinModelMap = $codeServiceBrandWodFinMappingModelMap.get($pop.getCode()))
69
                    #foreach($po in $paperFinanceOptions)
70
                        #if($wodFinModelMap.containsKey($po.getName()))
71
                            #set($brandModelMap = $wodFinModelMap.get($po.getName()))
72
                            #foreach($sb in $serviceBrandsConfigsMap.get($po.getId()))
73
                                #if($brandModelMap.containsKey($sb.getBrand()))
74
                                    #set ($model = $brandModelMap.get($sb.getBrand()))
75
                                    #if($model.getActive())
33927 tejus.loha 76
                                        <td style="color:green ;font-weight: bold">Active</td>
33845 tejus.loha 77
                                    #else
78
                                        <td style="color:red">Pending</td>
79
                                    #end
80
                                #else
81
                                    <td>--</td>
82
                                #end
83
                            #end
84
                        #else
85
                            #set($const2 = $serviceBrandsConfigsMap.get($po.getId()).size())
86
                            <td colspan="$const2" style="text-align: center"> -</td>
87
                        #end
88
                    #end
89
                </tr>
90
                #end
91
            </tbody>
92
        </table>
93
    </div>
94
</section>