Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
30044 tejbeer 1
<style>
2
 
3
   h5 { text-align: center;
4
    background-color: lightgray;
5
    padding: 5px;
6
    font-size: 16px;
7
    }
8
 
9
  #brand-instock tr.hide-table-padding td {
10
  padding: 0;
11
}
12
 
34095 ranu 13
 
14
   .expand-button {
30044 tejbeer 15
	position: relative;
16
}
17
 
18
.accordion-toggle .expand-button:after
19
{
20
  position: absolute;
21
  left:.75rem;
22
  top: 50%;
23
  transform: translate(0, -50%);
24
  content: '-';
25
}
26
.accordion-toggle.collapsed .expand-button:after
27
{
28
  content: '+';
29
}
34035 ranu 30
 
31
   .tab-inactive {
32
	   background-color: #cccccc47;
33
	   border-radius: 4px;
34
   }
35
 
36
</style>
30044 tejbeer 37
 
38
 
39
 
40
 
30003 tejbeer 41
 <div class="modal-header">
31897 tejbeer 42
	        <button type="button" class="close" style="margin:-10px" data-dismiss="modal">&times;</button>
30004 tejbeer 43
	        <h4 class="modal-title"> Stock Info  ($customRetailer.getBusinessName())
30003 tejbeer 44
	        </h4>
45
       </div>
34384 ranu 46
<div class="modal-body" style="max-height:70vh;overflow:auto;">
34389 ranu 47
	<div class="row">
48
		<div class="col-md-12">
49
			#if($brand != "undefined")
50
				<div class="row">
51
					<div class="col-md-12">
52
						<ul class="nav nav-pills">
53
							#foreach($bnd in $brands)
54
								<li class="brandFocusedStockDetail" data-brand="$bnd"
55
									data-fofoid="$fofoId">
56
									<a href="#tab_$bnd">$bnd</a>
57
								</li>
58
							#end
59
						</ul>
34035 ranu 60
 
34389 ranu 61
						<hr>
31417 amit.gupta 62
 
34389 ranu 63
						<div>
64
							#foreach($bnd in $brands)
65
								<div id="tab_$bnd" class="clearfix"></div>
66
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
67
								<h4>$bnd</h4>
68
								<table class="table table-striped table-advance table-hover" style="width:100%">
69
									<thead>
70
									<tr>
71
										<th>Item</th>
72
										<th>Status</th>
73
										<th>Our Stock</th>
74
										<th>P-Fullfilled</th>
75
										<th>P-Shortage</th>
76
										<th>P-CurrentQty</th>
77
										<th>Aging</th>
78
										##										<th>Action</th>
79
									</tr>
80
									</thead>
81
									<tbody>
82
										#foreach($statusKey in $statusModelMap.keySet())
83
											#foreach($stocklist in $statusModelMap.get($statusKey))
84
											<tr>
85
												<td>$stocklist.getModelNumber()</td>
86
												<td>$stocklist.getStatus()</td>
87
												<td>$stocklist.getNetAvailability()</td>
88
												<td>$stocklist.getPartnerStockAvailability()</td>
89
												<td>$stocklist.getPartnerShortageStock()</td>
90
												<td>$stocklist.getPartnerCurrentAvailability()</td>
91
												#if($stocklist.getExceedDays() >= 15)
92
													<td style="color: red;">$stocklist.getExceedDays()</td>
93
												#else
94
													<td>$stocklist.getExceedDays()</td>
95
												#end
96
												##												<td>
97
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
98
												##															data-catalogid="$stocklist.getCatalogId()"
99
												##															data-model="$stocklist.getModelNumber()">
100
												##														Add
101
												##													</button>
102
												##												</td>
103
											</tr>
104
											#end
105
										#end
106
									</tbody>
107
								</table>
108
							#end
109
						</div>
110
					</div>
111
				</div>
31417 amit.gupta 112
 
34389 ranu 113
			#end
114
			<div id="itemWiseBrandStockDetail">
34384 ranu 115
 
34389 ranu 116
			</div>
34384 ranu 117
 
34389 ranu 118
		</div>
119
		##		<div class="col-md-3">
120
		##			<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
121
		##				<h5>Cart</h5>
122
		##				<div id="custom-cart-section" class="well" style="padding: 4px;"></div>
123
		##			</div>
124
		##
125
		##		</div>
126
	</div>
31417 amit.gupta 127
 
34384 ranu 128
 
34389 ranu 129
</div>
30044 tejbeer 130
 
131
 
34087 ranu 132
<div class="modal-footer">
133
	<button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
134
 
135
</div>
34389 ranu 136