Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32438 amit.gupta 1
<html lang="en">
2
<head>
3
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
4
    <meta http-equiv="refresh" content="180">
5
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
6
          integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
7
    <style>
8
        html, body {
9
            margin-top: 10px;
10
            padding: 0;
11
        }
12
 
13
 
14
        td, th {
15
            font-size: 20px;
16
        }
17
 
18
 
19
        .table td, .table th {
20
            padding: 0.25rem;
21
        }
22
 
23
        tr:first-child.green td {
24
            font-weight: bold;
25
            background-color: #00d6b2;
26
        }
27
 
28
        td {
29
            font-size: 24px;
30
        }
32451 amit.gupta 31
 
32452 amit.gupta 32
        th.gold, tr.gold th {
32460 amit.gupta 33
            border-bottom: 1px solid black;
32451 amit.gupta 34
            background-color: #F8E59C;
32460 amit.gupta 35
            /*border-top:3px solid black;
36
            border-bottom:4px solid black;*/
32451 amit.gupta 37
        }
38
 
32460 amit.gupta 39
        /*td {
40
          border-top:2px solid black !important;
41
        }*/
42
 
32451 amit.gupta 43
        tr.gold:nth-child(odd) {
44
            background-color: #FDF8E3;
45
        }
46
 
32460 amit.gupta 47
        .table, .table th {
48
            border-top: 3px solid black;
49
        }
50
 
32438 amit.gupta 51
    </style>
52
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
53
</head>
54
<body>
55
<div class="container-fluid">
32460 amit.gupta 56
    <table class="table" style="border:2px solid black">
32444 amit.gupta 57
        <thead>
58
        <tr>
32449 amit.gupta 59
            #set($colspan=$milestones.size()*3+1)
32451 amit.gupta 60
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
32474 amit.gupta 61
                Split By PO Creation
62
            </th>
63
        </tr>
64
        <tr>
65
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
66
            #foreach($milestone in $milestones)
67
                <th class="gold" colspan="3"
68
                    style="text-align: center;vertical-align: middle;border-left:1.5px solid black">$milestone.getValue()</th>
69
            #end
70
        </tr>
71
        <tr style="border-bottom:3px solid black">
72
            #foreach($milestone in $milestones)
73
                <th class="gold" style="border-left:1.5px solid black">LMS</th>
74
                <th class="gold">MTYD</th>
75
                <th class="gold" style="background-color:yellowgreen;border-right:1.5px solid black">MTD</th>
76
            #end
77
        </tr>
78
        </thead>
79
        <tbody>
80
            #foreach($rbmTotalBilliedMilestoneCountEntry in $totalMilestoneCountMap.entrySet())
81
                #set($rbmName = $rbmTotalBilliedMilestoneCountEntry.getKey())
82
            <tr class="gold">
83
                <td style="text-align: center;vertical-align: middle;">
84
                    $rbmName
85
                </td>
86
                #foreach($milestone in $milestones)
87
                    #set($diff = 0)
88
                    <td style="border-left:1.5px solid black">
89
                        #if($poLastMonthMilestoneCountMap.get($rbmName).containsKey($milestone))
90
                            $poLastMonthMilestoneCountMap.get($rbmName).get($milestone)
91
                        #end
92
                    </td>
93
                    <td>
94
                        #if($poTillYesterdayMilestoneCountMap.get($rbmName).containsKey($milestone))
95
                             $poTillYesterdayMilestoneCountMap.get($rbmName).get($milestone)
96
                        #end
97
                    </td>
98
                    <td>
99
                        #if($poMonthTillDateMilestoneCountMap.get($rbmName).containsKey($milestone))
100
                             $poMonthTillDateMilestoneCountMap.get($rbmName).get($milestone)
101
                        #end
102
                    </td>
103
                #end
104
            </tr>
105
            #end
106
        </tbody>
107
        <tfoot>
108
        <tr class="gold">
109
            <th style="text-align: center;vertical-align: middle;">Total</th>
110
            #foreach($milestone in $milestones)
111
                <th style="border-left:1.5px solid black">$poLastMonthAggregatedMilestoneCountMap.get($milestone)</th>
32502 amit.gupta 112
                <th>
113
                    #if($poTillYesterdayAggregatedMilestoneCountMap.get($milestone))
114
                        $poTillYesterdayAggregatedMilestoneCountMap.get($milestone)
115
                    #end
116
                </th>
32474 amit.gupta 117
                <th style="background-color:yellowgreen;">
32502 amit.gupta 118
                    #if($poMonthTillDateAggregatedMilestoneCountMap.get($milestone))
119
                        $poMonthTillDateAggregatedMilestoneCountMap.get($milestone)
120
                    #end
32474 amit.gupta 121
                </th>
122
            #end
123
        </tr>
124
        </tfoot>
125
    </table>
126
    <table class="table" style="border:2px solid black">
127
        <thead>
128
        <tr>
129
            #set($colspan=$milestones.size()*3+1)
130
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
32460 amit.gupta 131
                Split By Actual Billing + Pending PO
32445 amit.gupta 132
            </th>
32444 amit.gupta 133
        </tr>
134
        <tr>
32451 amit.gupta 135
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
32444 amit.gupta 136
            #foreach($milestone in $milestones)
32451 amit.gupta 137
                <th class="gold" colspan="3"
32460 amit.gupta 138
                    style="text-align: center;vertical-align: middle;border-left:1.5px solid black">$milestone.getValue()</th>
32444 amit.gupta 139
            #end
140
        </tr>
32460 amit.gupta 141
        <tr style="border-bottom:3px solid black">
32444 amit.gupta 142
            #foreach($milestone in $milestones)
32460 amit.gupta 143
                <th class="gold" style="border-left:1.5px solid black">PMTD</th>
32451 amit.gupta 144
                <th class="gold">MTD</th>
32460 amit.gupta 145
                <th class="gold" style="background-color:yellowgreen;border-right:1.5px solid black">DIFF</th>
32444 amit.gupta 146
            #end
147
        </tr>
148
        </thead>
149
        <tbody>
32460 amit.gupta 150
            #foreach($rbmTotalBilliedMilestoneCountEntry in $totalMilestoneCountMap.entrySet())
151
                #set($rbmName = $rbmTotalBilliedMilestoneCountEntry.getKey())
32451 amit.gupta 152
            <tr class="gold">
32449 amit.gupta 153
                <td style="text-align: center;vertical-align: middle;">
32445 amit.gupta 154
                    $rbmName
155
                </td>
32449 amit.gupta 156
                #foreach($milestone in $milestones)
157
                    #set($diff = 0)
32460 amit.gupta 158
                    <td style="border-left:1.5px solid black">
32449 amit.gupta 159
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
160
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
161
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
162
                        #end
32445 amit.gupta 163
                    </td>
32449 amit.gupta 164
                    <td>
32460 amit.gupta 165
                        #if($rbmTotalBilliedMilestoneCountEntry.getValue().containsKey($milestone))
166
                            #set($diff = $diff + $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone))
167
                            $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone)
32449 amit.gupta 168
                        #end
169
                    </td>
32460 amit.gupta 170
                    <td style="background-color:yellowgreen;border-right:1.5px solid black">
171
                        #if($diff != 0)
32449 amit.gupta 172
                            $diff
173
                        #end
174
                    </td>
32445 amit.gupta 175
                #end
176
            </tr>
177
            #end
32444 amit.gupta 178
        </tbody>
32452 amit.gupta 179
        <tfoot>
180
        <tr class="gold">
32460 amit.gupta 181
            <th style="text-align: center;vertical-align: middle;">Total</th>
32452 amit.gupta 182
            #foreach($milestone in $milestones)
32460 amit.gupta 183
                <th style="border-left:1.5px solid black">$lastDayAggregateMilestoneCountMap.get($milestone)</th>
184
                <th>$totalAggregatedMilestoneCountMap.get($milestone)</th>
185
                #set($diff=$totalAggregatedMilestoneCountMap.get($milestone) - $lastDayAggregateMilestoneCountMap.get($milestone))
186
                <th style="background-color:yellowgreen;">
187
                    #if($diff != 0)
188
                        $diff
189
                    #end
190
                </th>
32452 amit.gupta 191
            #end
192
        </tr>
193
        </tfoot>
32444 amit.gupta 194
    </table>
32438 amit.gupta 195
</div>
196
</body>
197
</html>