Subversion Repositories SmartDukaan

Rev

Rev 32453 | Rev 32474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32453 Rev 32460
Line 29... Line 29...
29
        td {
29
        td {
30
            font-size: 24px;
30
            font-size: 24px;
31
        }
31
        }
32
 
32
 
33
        th.gold, tr.gold th {
33
        th.gold, tr.gold th {
-
 
34
            border-bottom: 1px solid black;
34
            background-color: #F8E59C;
35
            background-color: #F8E59C;
-
 
36
            /*border-top:3px solid black;
-
 
37
            border-bottom:4px solid black;*/
35
        }
38
        }
36
 
39
 
-
 
40
        /*td {
-
 
41
          border-top:2px solid black !important;
-
 
42
        }*/
-
 
43
 
37
        tr.gold:nth-child(odd) {
44
        tr.gold:nth-child(odd) {
38
            background-color: #FDF8E3;
45
            background-color: #FDF8E3;
39
        }
46
        }
40
 
47
 
-
 
48
        .table, .table th {
-
 
49
            border-top: 3px solid black;
-
 
50
        }
-
 
51
 
41
    </style>
52
    </style>
42
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
53
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
43
</head>
54
</head>
44
<body>
55
<body>
45
<div class="container-fluid">
56
<div class="container-fluid">
46
    <table class="table table-bordered">
57
    <table class="table" style="border:2px solid black">
47
        <thead>
58
        <thead>
48
        <tr>
59
        <tr>
49
            #set($colspan=$milestones.size()*3+1)
60
            #set($colspan=$milestones.size()*3+1)
50
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
61
            <th colspan="$colspan" style="text-align: center;vertical-align: middle;background-color:#EBCA58">Partners
51
                Split By Actual Billing
62
                Split By Actual Billing + Pending PO
52
            </th>
63
            </th>
53
        </tr>
64
        </tr>
54
        <tr>
65
        <tr>
55
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
66
            <th class="gold" rowspan="2" style="text-align: center;vertical-align: middle;">RBM</th>
56
            #foreach($milestone in $milestones)
67
            #foreach($milestone in $milestones)
57
                <th class="gold" colspan="3"
68
                <th class="gold" colspan="3"
58
                    style="text-align: center;vertical-align: middle;">$milestone.getValue()</th>
69
                    style="text-align: center;vertical-align: middle;border-left:1.5px solid black">$milestone.getValue()</th>
59
            #end
70
            #end
60
        </tr>
71
        </tr>
61
        <tr>
72
        <tr style="border-bottom:3px solid black">
62
            #foreach($milestone in $milestones)
73
            #foreach($milestone in $milestones)
63
                <th class="gold">PMTD</th>
74
                <th class="gold" style="border-left:1.5px solid black">PMTD</th>
64
                <th class="gold">MTD</th>
75
                <th class="gold">MTD</th>
65
                <th class="gold">DIFF</th>
76
                <th class="gold" style="background-color:yellowgreen;border-right:1.5px solid black">DIFF</th>
66
            #end
77
            #end
67
        </tr>
78
        </tr>
68
        </thead>
79
        </thead>
69
        <tbody>
80
        <tbody>
70
            #foreach($rbmBillingMilestoneCountEntry in $billingMilestoneCountMap.entrySet())
81
            #foreach($rbmTotalBilliedMilestoneCountEntry in $totalMilestoneCountMap.entrySet())
71
                #set($rbmName = $rbmBillingMilestoneCountEntry.getKey())
82
                #set($rbmName = $rbmTotalBilliedMilestoneCountEntry.getKey())
72
            <tr class="gold">
83
            <tr class="gold">
73
                <td style="text-align: center;vertical-align: middle;">
84
                <td style="text-align: center;vertical-align: middle;">
74
                    $rbmName
85
                    $rbmName
75
                </td>
86
                </td>
76
                #foreach($milestone in $milestones)
87
                #foreach($milestone in $milestones)
77
                    #set($diff = 0)
88
                    #set($diff = 0)
78
                    <td>
89
                    <td style="border-left:1.5px solid black">
79
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
90
                        #if($lastDayMilestoneCountMap.get($rbmName).containsKey($milestone))
80
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
91
                            $lastDayMilestoneCountMap.get($rbmName).get($milestone)
81
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
92
                            #set($diff = $diff - $lastDayMilestoneCountMap.get($rbmName).get($milestone))
82
                        #else
-
 
83
                            -
-
 
84
                        #end
93
                        #end
85
                    </td>
94
                    </td>
86
                    <td>
95
                    <td>
87
                        #if($rbmBillingMilestoneCountEntry.getValue().containsKey($milestone))
96
                        #if($rbmTotalBilliedMilestoneCountEntry.getValue().containsKey($milestone))
88
                            #set($diff = $diff + $rbmBillingMilestoneCountEntry.getValue().get($milestone))
97
                            #set($diff = $diff + $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone))
89
                            $rbmBillingMilestoneCountEntry.getValue().get($milestone)
98
                            $rbmTotalBilliedMilestoneCountEntry.getValue().get($milestone)
90
                        #else
-
 
91
                            -
-
 
92
                        #end
99
                        #end
93
                    </td>
100
                    </td>
94
                    <td>
101
                    <td style="background-color:yellowgreen;border-right:1.5px solid black">
95
                        #if($diff==0)
102
                        #if($diff != 0)
96
                            -
-
 
97
                        #else
-
 
98
                            $diff
103
                            $diff
99
                        #end
104
                        #end
100
                    </td>
105
                    </td>
101
                #end
106
                #end
102
            </tr>
107
            </tr>
103
            #end
108
            #end
104
        </tbody>
109
        </tbody>
105
        <tfoot>
110
        <tfoot>
106
        <tr class="gold">
111
        <tr class="gold">
107
            <th>Total</th>
112
            <th style="text-align: center;vertical-align: middle;">Total</th>
108
            #foreach($milestone in $milestones)
113
            #foreach($milestone in $milestones)
109
                <th>$lastDayAggregateMilestoneCountMap.get($milestone)</th>
114
                <th style="border-left:1.5px solid black">$lastDayAggregateMilestoneCountMap.get($milestone)</th>
110
                <th>$billedAggregatedMilestoneContMap.get($milestone)</th>
115
                <th>$totalAggregatedMilestoneCountMap.get($milestone)</th>
111
                #set($diff=$billedAggregatedMilestoneContMap.get($milestone) - $lastDayAggregateMilestoneCountMap.get($milestone))
116
                #set($diff=$totalAggregatedMilestoneCountMap.get($milestone) - $lastDayAggregateMilestoneCountMap.get($milestone))
-
 
117
                <th style="background-color:yellowgreen;">
-
 
118
                    #if($diff != 0)
-
 
119
                        $diff
-
 
120
                    #end
112
                <th>$diff</th>
121
                </th>
113
            #end
122
            #end
114
        </tr>
123
        </tr>
115
        </tfoot>
124
        </tfoot>
116
    </table>
125
    </table>
117
</div>
126
</div>