Subversion Repositories SmartDukaan

Rev

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

Rev 29982 Rev 29983
Line 1... Line 1...
1
<html lang="en">
1
<html lang="en">
2
<head>
2
<head>
-
 
3
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
3
    <meta http-equiv="refresh" content="120">
4
    <meta http-equiv="refresh" content="120">
4
    <style>
5
    <style>
5
        html, body {
6
        html, body {
6
            margin: 5px;
7
            margin-top: 10px;
7
            padding: 0;
8
            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
        }
9
        }
32
 
10
 
33
 
11
 
34
        td, th {
12
        td, th {
35
            white-space: nowrap;
-
 
36
            border: 1px solid #ddd;
-
 
37
            padding: 9px;
-
 
38
            text-align: center;
-
 
39
            font-size: 20px;
13
            font-size: 20px;
40
        }
14
        }
41
 
15
 
42
        td.eligibility {
-
 
43
            font-size: 13px;
-
 
44
            text-align: left;
-
 
45
            white-space: normal;
-
 
46
        }
-
 
47
 
-
 
48
        th {
-
 
49
            background-color: #eee;
-
 
50
            position: sticky;
-
 
51
            top: -1px;
-
 
52
            z-index: 2;
-
 
53
        }
-
 
54
 
-
 
55
        tr:first-child td {
16
        tr:first-child td {
56
            font-weight: bold;
17
            font-weight: bold;
57
            background-color: #00d6b2;
18
            background-color: #00d6b2;
58
        }
19
        }
59
 
20
 
60
        td {
21
        td {
61
            font-size: 28px;
22
            font-size: 24px;
62
            font-weight: bold;
-
 
63
        }
23
        }
64
    </style>
24
    </style>
-
 
25
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
-
 
26
          integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
65
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
27
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
66
</head>
28
</head>
67
<body>
29
<body>
68
 
-
 
69
<div class="row">
30
    #foreach($brands in $brandParts)
70
    <div class="col-lg-12">
31
    <div class="container-fluid">
71
        <table class="table table-bordered table-sm">
32
        <table class="table table-bordered table-striped">
72
            <thead>
33
            <thead>
73
            <tr>
34
            <tr>
74
                <th rowspan="2">Region</th>
35
                <th rowspan="2">Region</th>
75
                <th colspan="3">Total</th>
-
 
76
                #foreach($brand in $brands)
36
                #foreach($brand in $brands)
77
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
37
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
78
                #end
38
                #end
79
            </tr>
39
            </tr>
80
            <tr>
40
            <tr>
81
                <th>TODAY PO</th>
-
 
82
                <th>TODAY PO<br> Billed</th>
-
 
83
                <th>Total Billed</th>
-
 
84
                #foreach($brand in $brands)
41
                #foreach($brand in $brands)
85
                    <th>TODAY PO</th>
42
                    <th>TODAY PO</th>
86
                    <th>TODAY PO<br> Billed</th>
43
                    <th>TODAY PO<br> Billed</th>
87
                    <th>Total Billed</th>
44
                    <th>Total Billed</th>
88
                #end
45
                #end
Line 90... Line 47...
90
            </thead>
47
            </thead>
91
            <tbody>
48
            <tbody>
92
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
49
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
93
                <tr>
50
                <tr>
94
                    <td><b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
51
                    <td><b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
95
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOValue()</td>
-
 
96
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOBilledValue()</td>
-
 
97
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayBilledValue()</td>
-
 
98
                    #foreach($brand in $brands)
52
                    #foreach($brand in $brands)
99
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
53
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
100
                        #if($obj.getTodayPOValue())
54
                        #if($obj.getTodayPOValue())
101
                            <td>$obj.getTodayPOValue()</td>
55
                            <td>$obj.getTodayPOValue()</td>
102
                        #else
56
                        #else
Line 117... Line 71...
117
                </tr>
71
                </tr>
118
                #end
72
                #end
119
            </tbody>
73
            </tbody>
120
        </table>
74
        </table>
121
    </div>
75
    </div>
122
</div>
76
    #end
-
 
77
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
-
 
78
        integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
-
 
79
        crossorigin="anonymous"></script>
-
 
80
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
-
 
81
        integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
-
 
82
        crossorigin="anonymous"></script>
-
 
83
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
-
 
84
        integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
-
 
85
        crossorigin="anonymous"></script>
123
 
86
 
124
<!--
-
 
125
<style></style>
-
 
126
<ul>
-
 
127
    <li><img class="img1" src="//picsum.photos/300/200?1"></li>
-
 
128
    <li><img class="img2" src="//picsum.photos/300/200?2"></li>
-
 
129
    <li><img class="img3" src="//picsum.photos/300/200?3"></li>
-
 
130
    <li><img class="img4" src="//picsum.photos/300/200?4"></li>
-
 
131
    <li><img class="img5" src="//picsum.photos/300/200?5"></li>
-
 
132
    <li><img class="img6" src="//picsum.photos/300/200?6"></li>
-
 
133
    <li><img class="img7" src="//picsum.photos/300/200?7"></li>
-
 
134
    <li><img class="img8" src="//picsum.photos/300/200?8"></li>
-
 
135
    <li><img class="img9" src="//picsum.photos/300/200?9"></li>
-
 
136
</ul>
-
 
137
-->
-
 
138
</body>
87
</body>
139
</html>
88
</html>
140
89