Subversion Repositories SmartDukaan

Rev

Rev 34389 | Rev 34402 | 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>
34397 ranu 37
 
38
<style>
39
	.well {
40
		background-color: #f9f9f9;
41
		border: 1px solid #ddd;
42
		border-radius: 12px;
43
		padding: 5px 20px;
44
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
45
	}
46
 
47
	.well h4 {
48
		margin-bottom: 10px;
49
		font-weight: 500;
50
		border-bottom: 1px solid #ccc;
51
		padding-bottom: 6px;
52
	}
53
 
54
	.well ul li {
55
		padding: 4px 0;
56
		font-weight: 400;
57
		font-size: 16px;
58
		border-bottom: 1px dashed #eee;
59
	}
60
 
61
</style>
62
 
30044 tejbeer 63
 
64
 
65
 
66
 
30003 tejbeer 67
 <div class="modal-header">
31897 tejbeer 68
	        <button type="button" class="close" style="margin:-10px" data-dismiss="modal">&times;</button>
30004 tejbeer 69
	        <h4 class="modal-title"> Stock Info  ($customRetailer.getBusinessName())
30003 tejbeer 70
	        </h4>
71
       </div>
34384 ranu 72
<div class="modal-body" style="max-height:70vh;overflow:auto;">
34389 ranu 73
	<div class="row">
74
		<div class="col-md-12">
34397 ranu 75
			<div class="well row" style="margin: 0;">
76
				<h4>Summary </h4>
77
				<div class="col-md-6">
78
					<ul>
79
						<li>Short Investment - <span class="currency">$shortInvest</span></li>
80
						<li>Purchase FTD Target / Purchased FTD - <span class="currency"> $purchaseTargetFtd </span> /
81
							#if($purchasedFtd < $purchaseTargetFtd)
82
								<span style="color: red;"> <span class="currency"> $purchasedFtd</span> </span>
83
							#else
84
								<span style="color: green;"> <span class="currency"> $purchasedFtd</span> </span>
85
							#end
86
						</li>
87
						<li>Total Available Funds - <span class="currency">$totalAvailableFunds</span></li>
88
 
89
					</ul>
90
				</div>
91
				<div class="col-md-6">
92
					<ul>
93
						#if($isLoanPending && $recoverableAmount > 0)
94
							<li>Recoverable Amount - $recoverableAmount
95
								<ul>
96
									<li>Purchase Mtd - <span class="currency">$purchaseMtd</span></li>
97
									<li>Sale Mtd - <span class="currency">$saleMtd</span></li>
98
								</ul>
99
							</li>
100
						#end
101
 
102
					</ul>
103
				</div>
104
 
105
 
106
			</div>
107
		</div>
108
		<div class="clearfix"></div>
109
		<div class="col-md-12">
34389 ranu 110
			#if($brand != "undefined")
34397 ranu 111
				<hr style="margin-top:25px; margin-bottom: 10px;">
34389 ranu 112
				<div class="row">
113
					<div class="col-md-12">
114
						<ul class="nav nav-pills">
115
							#foreach($bnd in $brands)
116
								<li class="brandFocusedStockDetail" data-brand="$bnd"
117
									data-fofoid="$fofoId">
118
									<a href="#tab_$bnd">$bnd</a>
119
								</li>
120
							#end
121
						</ul>
34035 ranu 122
 
34397 ranu 123
						<hr style="margin: 7px;">
31417 amit.gupta 124
 
34389 ranu 125
						<div>
126
							#foreach($bnd in $brands)
127
								<div id="tab_$bnd" class="clearfix"></div>
128
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
129
								<h4>$bnd</h4>
130
								<table class="table table-striped table-advance table-hover" style="width:100%">
131
									<thead>
132
									<tr>
34397 ranu 133
										<th style="width: 25%;">Item</th>
134
										<th style="width: 9%;">Status</th>
135
										<th style="width: 13%;">Our Stock</th>
136
										<th style="width: 15%;">P-Fullfilled</th>
137
										<th style="width: 15%;">P-Shortage</th>
138
										<th style="width: 15%;">P-CurrentQty</th>
139
										<th style="width: 8%;">Aging</th>
34389 ranu 140
										##										<th>Action</th>
141
									</tr>
142
									</thead>
143
									<tbody>
144
										#foreach($statusKey in $statusModelMap.keySet())
145
											#foreach($stocklist in $statusModelMap.get($statusKey))
146
											<tr>
34397 ranu 147
												#if($stocklist.getPartnerCurrentAvailability() < 1)
148
													<td style="color: red;">$stocklist.getModelNumber()</td>
149
												#else
150
													<td>$stocklist.getModelNumber()</td>
151
												#end
34389 ranu 152
												<td>$stocklist.getStatus()</td>
153
												<td>$stocklist.getNetAvailability()</td>
154
												<td>$stocklist.getPartnerStockAvailability()</td>
155
												<td>$stocklist.getPartnerShortageStock()</td>
156
												<td>$stocklist.getPartnerCurrentAvailability()</td>
34397 ranu 157
												<td>$stocklist.getExceedDays()</td>
34389 ranu 158
												##												<td>
159
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
160
												##															data-catalogid="$stocklist.getCatalogId()"
161
												##															data-model="$stocklist.getModelNumber()">
162
												##														Add
163
												##													</button>
164
												##												</td>
165
											</tr>
166
											#end
167
										#end
168
									</tbody>
169
								</table>
170
							#end
171
						</div>
172
					</div>
173
				</div>
31417 amit.gupta 174
 
34389 ranu 175
			#end
176
			<div id="itemWiseBrandStockDetail">
34384 ranu 177
 
34389 ranu 178
			</div>
34384 ranu 179
 
34389 ranu 180
		</div>
181
		##		<div class="col-md-3">
182
		##			<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
183
		##				<h5>Cart</h5>
184
		##				<div id="custom-cart-section" class="well" style="padding: 4px;"></div>
185
		##			</div>
186
		##
187
		##		</div>
188
	</div>
31417 amit.gupta 189
 
34384 ranu 190
 
34389 ranu 191
</div>
30044 tejbeer 192
 
193
 
34087 ranu 194
<div class="modal-footer">
195
	<button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
196
 
197
</div>
34389 ranu 198