Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32451 amit.gupta 1
##$billingMilestoneCountMap.toString()
32438 amit.gupta 2
<html lang="en">
3
<head>
4
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5
    <meta http-equiv="refresh" content="180">
6
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
7
          integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
8
    <style>
9
        html, body {
10
            margin-top: 10px;
11
            padding: 0;
12
        }
13
 
14
 
15
        td, th {
16
            font-size: 20px;
17
        }
18
 
19
 
20
        .table td, .table th {
21
            padding: 0.25rem;
22
        }
23
 
24
        tr:first-child.green td {
25
            font-weight: bold;
26
            background-color: #00d6b2;
27
        }
28
 
29
        td {
30
            font-size: 24px;
31
        }
32451 amit.gupta 32
 
32452 amit.gupta 33
        th.gold, tr.gold th {
32460 amit.gupta 34
            border-bottom: 1px solid black;
32451 amit.gupta 35
            background-color: #F8E59C;
32460 amit.gupta 36
            /*border-top:3px solid black;
37
            border-bottom:4px solid black;*/
32451 amit.gupta 38
        }
39
 
32460 amit.gupta 40
        /*td {
41
          border-top:2px solid black !important;
42
        }*/
43
 
32451 amit.gupta 44
        tr.gold:nth-child(odd) {
45
            background-color: #FDF8E3;
46
        }
47
 
32460 amit.gupta 48
        .table, .table th {
49
            border-top: 3px solid black;
50
        }
51
 
32438 amit.gupta 52
    </style>
53
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
54
</head>
55
<body>
56
<div class="container-fluid">
32460 amit.gupta 57
    <table class="table" style="border:2px solid black">
32444 amit.gupta 58
        <thead>
59
        <tr>
32449 amit.gupta 60
            #set($colspan=$milestones.size()*3+1)
32451 amit.gupta 61
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
32460 amit.gupta 62
                Split By Actual Billing + Pending PO
32445 amit.gupta 63
            </th>
32444 amit.gupta 64
        </tr>
65
        <tr>
32451 amit.gupta 66
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
32444 amit.gupta 67
            #foreach($milestone in $milestones)
32451 amit.gupta 68
                <th class="gold" colspan="3"
32460 amit.gupta 69
                    style="text-align: center;vertical-align: middle;border-left:1.5px solid black">$milestone.getValue()</th>
32444 amit.gupta 70
            #end
71
        </tr>
32460 amit.gupta 72
        <tr style="border-bottom:3px solid black">
32444 amit.gupta 73
            #foreach($milestone in $milestones)
32460 amit.gupta 74
                <th class="gold" style="border-left:1.5px solid black">PMTD</th>
32451 amit.gupta 75
                <th class="gold">MTD</th>
32460 amit.gupta 76
                <th class="gold" style="background-color:yellowgreen;border-right:1.5px solid black">DIFF</th>
32444 amit.gupta 77
            #end
78
        </tr>
79
        </thead>
80
        <tbody>
32460 amit.gupta 81
            #foreach($rbmTotalBilliedMilestoneCountEntry in $totalMilestoneCountMap.entrySet())
82
                #set($rbmName = $rbmTotalBilliedMilestoneCountEntry.getKey())
32451 amit.gupta 83
            <tr class="gold">
32449 amit.gupta 84
                <td style="text-align: center;vertical-align: middle;">
32445 amit.gupta 85
                    $rbmName
86
                </td>
32449 amit.gupta 87
                #foreach($milestone in $milestones)
88
                    #set($diff = 0)
32460 amit.gupta 89
                    <td style="border-left:1.5px solid black">
32449 amit.gupta 90
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
91
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
92
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
93
                        #end
32445 amit.gupta 94
                    </td>
32449 amit.gupta 95
                    <td>
32460 amit.gupta 96
                        #if($rbmTotalBilliedMilestoneCountEntry.getValue().containsKey($milestone))
97
                            #set($diff = $diff + $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone))
98
                            $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone)
32449 amit.gupta 99
                        #end
100
                    </td>
32460 amit.gupta 101
                    <td style="background-color:yellowgreen;border-right:1.5px solid black">
102
                        #if($diff != 0)
32449 amit.gupta 103
                            $diff
104
                        #end
105
                    </td>
32445 amit.gupta 106
                #end
107
            </tr>
108
            #end
32444 amit.gupta 109
        </tbody>
32452 amit.gupta 110
        <tfoot>
111
        <tr class="gold">
32460 amit.gupta 112
            <th style="text-align: center;vertical-align: middle;">Total</th>
32452 amit.gupta 113
            #foreach($milestone in $milestones)
32460 amit.gupta 114
                <th style="border-left:1.5px solid black">$lastDayAggregateMilestoneCountMap.get($milestone)</th>
115
                <th>$totalAggregatedMilestoneCountMap.get($milestone)</th>
116
                #set($diff=$totalAggregatedMilestoneCountMap.get($milestone) - $lastDayAggregateMilestoneCountMap.get($milestone))
117
                <th style="background-color:yellowgreen;">
118
                    #if($diff != 0)
119
                        $diff
120
                    #end
121
                </th>
32452 amit.gupta 122
            #end
123
        </tr>
124
        </tfoot>
32444 amit.gupta 125
    </table>
32438 amit.gupta 126
</div>
127
</body>
128
</html>