Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32449 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
        }
32
    </style>
33
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
34
</head>
35
<body>
36
<div class="container-fluid">
32444 amit.gupta 37
    <table class="table table-bordered table-striped">
38
        <thead>
39
        <tr>
32449 amit.gupta 40
            #set($colspan=$milestones.size()*3+1)
32445 amit.gupta 41
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;">Partners Split By Actual Billing
42
            </th>
32444 amit.gupta 43
        </tr>
44
        <tr>
32445 amit.gupta 45
            <th rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
32449 amit.gupta 46
            #*<th rowspan="2" style="text-align: center;vertical-align: middle;">State</th>*#
32444 amit.gupta 47
            #foreach($milestone in $milestones)
32449 amit.gupta 48
                <th colspan="3" style="text-align: center;vertical-align: middle;">$milestone.getValue()</th>
32444 amit.gupta 49
            #end
50
        </tr>
51
        <tr>
52
            #foreach($milestone in $milestones)
32449 amit.gupta 53
                <th>PMTD</th>
32444 amit.gupta 54
                <th>MTD</th>
32449 amit.gupta 55
                <th>DIFF</th>
32444 amit.gupta 56
            #end
57
        </tr>
58
        </thead>
59
        <tbody>
32449 amit.gupta 60
            #foreach($rbmBillingMilestoneCountEntry in $billingMilestoneCountMap.entrySet())
61
                #set($rbmName = $rbmBillingMilestoneCountEntry.getKey())
32445 amit.gupta 62
            <tr>
32449 amit.gupta 63
                <td style="text-align: center;vertical-align: middle;">
32445 amit.gupta 64
                    $rbmName
65
                </td>
32449 amit.gupta 66
                #foreach($milestone in $milestones)
67
                    #set($diff = 0)
32445 amit.gupta 68
                    <td>
32449 amit.gupta 69
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
70
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
71
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
72
                        #else
73
                            -
74
                        #end
32445 amit.gupta 75
                    </td>
32449 amit.gupta 76
                    <td>
77
                        #if($rbmBillingMilestoneCountEntry.getValue().containsKey($milestone))
78
                            #set($diff = $diff + $rbmBillingMilestoneCountEntry.getValue().get($milestone))
79
                            $rbmBillingMilestoneCountEntry.getValue().get($milestone)
80
                        #else
81
                            -
82
                        #end
83
                    </td>
84
                    <td>
85
                        #if($diff==0)
86
                            -
87
                        #else
88
                            $diff
89
                        #end
90
                    </td>
32445 amit.gupta 91
                #end
92
            </tr>
93
            #end
32444 amit.gupta 94
        </tbody>
95
    </table>
32438 amit.gupta 96
</div>
97
</body>
98
</html>