Subversion Repositories SmartDukaan

Rev

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

Rev 29976 Rev 29981
Line 28... Line 28...
28
            border: 1px solid #ddd;
28
            border: 1px solid #ddd;
29
            border-collapse: collapse;
29
            border-collapse: collapse;
30
            width: 100%;
30
            width: 100%;
31
        }
31
        }
32
 
32
 
33
        th {
-
 
34
            font-size: 36px;
-
 
35
        }
-
 
36
 
33
 
37
        td, th {
34
        td, th {
38
            white-space: nowrap;
35
            white-space: nowrap;
39
            border: 1px solid #ddd;
36
            border: 1px solid #ddd;
40
            padding: 9px;
37
            padding: 9px;
41
            text-align: center;
38
            text-align: center;
-
 
39
            font-size: 20px;
42
        }
40
        }
43
 
41
 
44
        td.eligibility {
42
        td.eligibility {
45
            font-size: 13px;
43
            font-size: 13px;
46
            text-align: left;
44
            text-align: left;
Line 51... Line 49...
51
            background-color: #eee;
49
            background-color: #eee;
52
            position: sticky;
50
            position: sticky;
53
            top: -1px;
51
            top: -1px;
54
            z-index: 2;
52
            z-index: 2;
55
        }
53
        }
-
 
54
 
-
 
55
        tr:first-child td {
-
 
56
            font-size: 20px;
-
 
57
            font-weight: bold;
-
 
58
        }
56
    </style>
59
    </style>
57
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
60
    <link href="../resources/css/brand-logo.css" rel="stylesheet"/>
58
</head>
61
</head>
59
<body>
62
<body>
60
 
63
 
61
<div class="row">
64
<div class="row">
62
    <div class="col-lg-12">
65
    <div class="col-lg-12">
63
        <table class="table table-bordered table-sm">
66
        <table class="table table-bordered table-sm">
64
            <thead>
67
            <thead>
65
            <tr>
68
            <tr>
66
                <th rowspan="2">Warehouse Name</th>
69
                <th rowspan="2">Region</th>
67
                <th colspan="3">Total</th>
70
                <th colspan="3">Total</th>
68
                #foreach($brand in $brands)
71
                #foreach($brand in $brands)
69
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
72
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
70
                #end
73
                #end
71
            </tr>
74
            </tr>
72
            <tr>
75
            <tr>
73
                <th>TODAY PO</th>
76
                <th>TODAY PO</th>
74
                <th>TODAY PO Billed</th>
77
                <th>TODAY PO<br> Billed</th>
75
                <th>Total Billed</th>
78
                <th>Total Billed</th>
76
                #foreach($brand in $brands)
79
                #foreach($brand in $brands)
77
                    <th>TODAY PO</th>
80
                    <th>TODAY PO</th>
78
                    <th>TODAY PO<br> Billed</th>
81
                    <th>TODAY PO<br> Billed</th>
79
                    <th>Total Billed</th>
82
                    <th>Total Billed</th>
Line 81... Line 84...
81
            </tr>
84
            </tr>
82
            </thead>
85
            </thead>
83
            <tbody>
86
            <tbody>
84
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
87
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
85
                <tr>
88
                <tr>
86
                <td>
-
 
87
                    #if($warehouseMap.get($brandRegionModelEntry.getKey()))
-
 
88
                        <b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
89
                    <td><b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
89
                    #else
-
 
90
                        </b>All Regions</td>
-
 
91
                    #end
-
 
92
 
-
 
93
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOValue()</td>
90
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOValue()</td>
94
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOBilledValue()</td>
91
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayPOBilledValue()</td>
95
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayBilledValue()</td>
92
                    <td>$brandRegionTotalMap.get($brandRegionModelEntry.getKey()).getTodayBilledValue()</td>
96
                    #foreach($brand in $brands)
93
                    #foreach($brand in $brands)
97
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
94
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))