Subversion Repositories SmartDukaan

Rev

Rev 32460 | Rev 32502 | 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>
112
                <th>$poTillYesterdayAggregatedMilestoneCountMap.get($milestone)</th>
113
                <th style="background-color:yellowgreen;">
114
                    $poMonthTillDateAggregatedMilestoneCountMap.get($milestone)
115
                </th>
116
            #end
117
        </tr>
118
        </tfoot>
119
    </table>
120
    <table class="table" style="border:2px solid black">
121
        <thead>
122
        <tr>
123
            #set($colspan=$milestones.size()*3+1)
124
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
32460 amit.gupta 125
                Split By Actual Billing + Pending PO
32445 amit.gupta 126
            </th>
32444 amit.gupta 127
        </tr>
128
        <tr>
32451 amit.gupta 129
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
32444 amit.gupta 130
            #foreach($milestone in $milestones)
32451 amit.gupta 131
                <th class="gold" colspan="3"
32460 amit.gupta 132
                    style="text-align: center;vertical-align: middle;border-left:1.5px solid black">$milestone.getValue()</th>
32444 amit.gupta 133
            #end
134
        </tr>
32460 amit.gupta 135
        <tr style="border-bottom:3px solid black">
32444 amit.gupta 136
            #foreach($milestone in $milestones)
32460 amit.gupta 137
                <th class="gold" style="border-left:1.5px solid black">PMTD</th>
32451 amit.gupta 138
                <th class="gold">MTD</th>
32460 amit.gupta 139
                <th class="gold" style="background-color:yellowgreen;border-right:1.5px solid black">DIFF</th>
32444 amit.gupta 140
            #end
141
        </tr>
142
        </thead>
143
        <tbody>
32460 amit.gupta 144
            #foreach($rbmTotalBilliedMilestoneCountEntry in $totalMilestoneCountMap.entrySet())
145
                #set($rbmName = $rbmTotalBilliedMilestoneCountEntry.getKey())
32451 amit.gupta 146
            <tr class="gold">
32449 amit.gupta 147
                <td style="text-align: center;vertical-align: middle;">
32445 amit.gupta 148
                    $rbmName
149
                </td>
32449 amit.gupta 150
                #foreach($milestone in $milestones)
151
                    #set($diff = 0)
32460 amit.gupta 152
                    <td style="border-left:1.5px solid black">
32449 amit.gupta 153
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
154
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
155
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
156
                        #end
32445 amit.gupta 157
                    </td>
32449 amit.gupta 158
                    <td>
32460 amit.gupta 159
                        #if($rbmTotalBilliedMilestoneCountEntry.getValue().containsKey($milestone))
160
                            #set($diff = $diff + $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone))
161
                            $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone)
32449 amit.gupta 162
                        #end
163
                    </td>
32460 amit.gupta 164
                    <td style="background-color:yellowgreen;border-right:1.5px solid black">
165
                        #if($diff != 0)
32449 amit.gupta 166
                            $diff
167
                        #end
168
                    </td>
32445 amit.gupta 169
                #end
170
            </tr>
171
            #end
32444 amit.gupta 172
        </tbody>
32452 amit.gupta 173
        <tfoot>
174
        <tr class="gold">
32460 amit.gupta 175
            <th style="text-align: center;vertical-align: middle;">Total</th>
32452 amit.gupta 176
            #foreach($milestone in $milestones)
32460 amit.gupta 177
                <th style="border-left:1.5px solid black">$lastDayAggregateMilestoneCountMap.get($milestone)</th>
178
                <th>$totalAggregatedMilestoneCountMap.get($milestone)</th>
179
                #set($diff=$totalAggregatedMilestoneCountMap.get($milestone) - $lastDayAggregateMilestoneCountMap.get($milestone))
180
                <th style="background-color:yellowgreen;">
181
                    #if($diff != 0)
182
                        $diff
183
                    #end
184
                </th>
32452 amit.gupta 185
            #end
186
        </tr>
187
        </tfoot>
32444 amit.gupta 188
    </table>
32438 amit.gupta 189
</div>
190
</body>
191
</html>