Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
29966 amit.gupta 1
<html lang="en">
2
<head>
29976 amit.gupta 3
    <meta http-equiv="refresh" content="120">
29966 amit.gupta 4
    <style>
5
        html, body {
6
            margin: 5px;
7
            padding: 0;
8
            min-height: 150px;
9
            height: fit-content;
10
            width: fit-content;
11
        }
12
 
13
        body {
14
            display: flex;
15
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
16
            font-size: 90%;
17
            color: #333;
18
            justify-content: center;
19
        }
20
 
21
        .row {
22
            padding-top: 6px;
23
            height: fit-content;
24
        }
25
 
26
        table {
27
            position: relative;
28
            border: 1px solid #ddd;
29
            border-collapse: collapse;
30
            width: 100%;
31
        }
32
 
29976 amit.gupta 33
        th {
34
            font-size: 36px;
35
        }
36
 
29966 amit.gupta 37
        td, th {
38
            white-space: nowrap;
39
            border: 1px solid #ddd;
40
            padding: 9px;
41
            text-align: center;
42
        }
43
 
44
        td.eligibility {
45
            font-size: 13px;
46
            text-align: left;
47
            white-space: normal;
48
        }
49
 
50
        th {
51
            background-color: #eee;
52
            position: sticky;
53
            top: -1px;
54
            z-index: 2;
55
        }
56
    </style>
57
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
58
</head>
59
<body>
60
 
61
<div class="row">
62
    <div class="col-lg-12">
63
        <table class="table table-bordered table-sm">
64
            <thead>
65
            <tr>
66
                <th rowspan="2">Warehouse Name</th>
67
                <th colspan="3">Total</th>
68
                #foreach($brand in $brands)
69
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
70
                #end
71
            </tr>
72
            <tr>
73
                <th>TODAY PO</th>
74
                <th>TODAY PO Billed</th>
75
                <th>Total Billed</th>
76
                #foreach($brand in $brands)
77
                    <th>TODAY PO</th>
29973 amit.gupta 78
                    <th>TODAY PO<br> Billed</th>
29966 amit.gupta 79
                    <th>Total Billed</th>
80
                #end
81
            </tr>
82
            </thead>
83
            <tbody>
84
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
85
                <tr>
29976 amit.gupta 86
                <td>
87
                    #if($warehouseMap.get($brandRegionModelEntry.getKey()))
88
                        <b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
89
                    #else
90
                        </b>All Regions</td>
91
                    #end
92
 
29966 amit.gupta 93
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOValue()</td>
94
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOBilledValue()</td>
95
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayBilledValue()</td>
96
                    #foreach($brand in $brands)
97
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
29972 amit.gupta 98
                        #if($obj.getTodayPOValue())
99
                            <td>$obj.getTodayPOValue()</td>
100
                        #else
101
                            <td>-</td>
102
                        #end
103
                        #if($obj.getTodayPOBilledValue())
104
                            <td>$obj.getTodayPOBilledValue()</td>
105
                        #else
106
                            <td>-</td>
107
                        #end
108
                        #if($obj.getTodayBilledValue())
109
                            <td>$obj.getTodayBilledValue()</td>
110
                        #else
111
                            <td>-</td>
112
                        #end
29966 amit.gupta 113
                    #end
114
 
115
                </tr>
116
                #end
117
            </tbody>
118
        </table>
119
    </div>
120
</div>
121
 
29976 amit.gupta 122
<!--
123
<style></style>
124
<ul>
125
    <li><img class="img1" src="//picsum.photos/300/200?1"></li>
126
    <li><img class="img2" src="//picsum.photos/300/200?2"></li>
127
    <li><img class="img3" src="//picsum.photos/300/200?3"></li>
128
    <li><img class="img4" src="//picsum.photos/300/200?4"></li>
129
    <li><img class="img5" src="//picsum.photos/300/200?5"></li>
130
    <li><img class="img6" src="//picsum.photos/300/200?6"></li>
131
    <li><img class="img7" src="//picsum.photos/300/200?7"></li>
132
    <li><img class="img8" src="//picsum.photos/300/200?8"></li>
133
    <li><img class="img9" src="//picsum.photos/300/200?9"></li>
134
</ul>
135
-->
29966 amit.gupta 136
</body>
137
</html>