Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
29966 amit.gupta 1
<html lang="en">
2
<head>
29983 amit.gupta 3
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
29976 amit.gupta 4
    <meta http-equiv="refresh" content="120">
29966 amit.gupta 5
    <style>
6
        html, body {
29983 amit.gupta 7
            margin-top: 10px;
29966 amit.gupta 8
            padding: 0;
9
        }
10
 
11
 
12
        td, th {
29981 amit.gupta 13
            font-size: 20px;
29966 amit.gupta 14
        }
15
 
29981 amit.gupta 16
        tr:first-child td {
17
            font-weight: bold;
29982 amit.gupta 18
            background-color: #00d6b2;
29981 amit.gupta 19
        }
29982 amit.gupta 20
 
21
        td {
29983 amit.gupta 22
            font-size: 24px;
29982 amit.gupta 23
        }
29966 amit.gupta 24
    </style>
29983 amit.gupta 25
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
26
          integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
29966 amit.gupta 27
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
28
</head>
29
<body>
29983 amit.gupta 30
    #foreach($brands in $brandParts)
31
    <div class="container-fluid">
32
        <table class="table table-bordered table-striped">
29966 amit.gupta 33
            <thead>
34
            <tr>
29981 amit.gupta 35
                <th rowspan="2">Region</th>
29966 amit.gupta 36
                #foreach($brand in $brands)
37
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
38
                #end
39
            </tr>
40
            <tr>
41
                #foreach($brand in $brands)
42
                    <th>TODAY PO</th>
29973 amit.gupta 43
                    <th>TODAY PO<br> Billed</th>
29966 amit.gupta 44
                    <th>Total Billed</th>
45
                #end
46
            </tr>
47
            </thead>
48
            <tbody>
49
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
50
                <tr>
29981 amit.gupta 51
                    <td><b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
29966 amit.gupta 52
                    #foreach($brand in $brands)
53
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
29972 amit.gupta 54
                        #if($obj.getTodayPOValue())
55
                            <td>$obj.getTodayPOValue()</td>
56
                        #else
57
                            <td>-</td>
58
                        #end
59
                        #if($obj.getTodayPOBilledValue())
60
                            <td>$obj.getTodayPOBilledValue()</td>
61
                        #else
62
                            <td>-</td>
63
                        #end
64
                        #if($obj.getTodayBilledValue())
65
                            <td>$obj.getTodayBilledValue()</td>
66
                        #else
67
                            <td>-</td>
68
                        #end
29966 amit.gupta 69
                    #end
70
 
71
                </tr>
72
                #end
73
            </tbody>
74
        </table>
75
    </div>
29983 amit.gupta 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>
29966 amit.gupta 86
 
87
</body>
88
</html>