Subversion Repositories SmartDukaan

Rev

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

Rev 34425 Rev 34437
Line 3... Line 3...
3
   h5 { text-align: center;
3
   h5 { text-align: center;
4
    background-color: lightgray;
4
    background-color: lightgray;
5
    padding: 5px;
5
    padding: 5px;
6
    font-size: 16px;
6
    font-size: 16px;
7
    }
7
    }
-
 
8
 
-
 
9
   .mrt-0 {
-
 
10
	   margin-top: 0;
-
 
11
   }
8
    
12
    
9
  #brand-instock tr.hide-table-padding td {
13
  #brand-instock tr.hide-table-padding td {
10
  padding: 0;
14
  padding: 0;
11
}
15
}
12
 
16
 
Line 26... Line 30...
26
.accordion-toggle.collapsed .expand-button:after
30
.accordion-toggle.collapsed .expand-button:after
27
{
31
{
28
  content: '+';
32
  content: '+';
29
}
33
}
30
 
34
 
31
   .tab-inactive {
-
 
32
	   background-color: #cccccc47;
-
 
33
	   border-radius: 4px;
-
 
34
   }
-
 
35
 
35
 
36
</style>
36
</style>
37
 
37
 
38
<style>
38
<style>
39
	.well {
39
	.well {
Line 61... Line 61...
61
 
61
 
62
	.well .currency {
62
	.well .currency {
63
		font-weight: 500
63
		font-weight: 500
64
	}
64
	}
65
 
65
 
-
 
66
	li.brandFocusedStockDetail a {
-
 
67
		padding: 8px 10px !important;
-
 
68
	}
-
 
69
 
66
</style>
70
</style>
67
 
71
 
68
 
72
 
69
 
73
 
70
 
74
 
71
 
75
 
72
 <div class="modal-header">
76
 <div class="modal-header">
73
	        <button type="button" class="close" style="margin:-10px" data-dismiss="modal">&times;</button>
77
	        <button type="button" class="close" style="margin:-10px" data-dismiss="modal">&times;</button>
74
	        <h4 class="modal-title"> Stock Info  ($customRetailer.getBusinessName())
78
	        <h4 class="modal-title"> Stock Info  ($customRetailer.getBusinessName())
-
 
79
				<input type="hidden" id="fofo-id" value="$customRetailer.getPartnerId()">
-
 
80
 
75
	        </h4>
81
			</h4>
76
       </div>
82
       </div>
77
<div class="modal-body" style="max-height:75vh;overflow:auto;">
83
<div class="modal-body" style="max-height:75vh;overflow:auto;">
78
	<div class="row">
84
	<div class="row">
79
		<div class="col-md-12">
85
		<div class="col-md-8" style="max-height: 70vh;overflow: auto;">
80
			<div class="well row" style="margin: 0;">
86
			<div class="well row" style="margin: 0;">
81
				<h4>Summary
87
				<h4>Summary
82
					##					<a href="#" class="dashboard-view" data-fofoid="$sdCreditRequirement.getFofoId()">More Info</a>
88
					##					<a href="#" class="dashboard-view" data-fofoid="$sdCreditRequirement.getFofoId()">More Info</a>
83
				</h4>
89
				</h4>
84
				<div class="col-md-4">
90
				<div class="col-md-4">
Line 127... Line 133...
127
 
133
 
128
				</div>
134
				</div>
129
 
135
 
130
 
136
 
131
			</div>
137
			</div>
132
		</div>
-
 
133
		<div class="clearfix"></div>
138
			<div class="clearfix"></div>
134
		<div class="col-md-12">
-
 
135
 
-
 
136
			#if($brand != "undefined")
139
			#if($brand != "undefined")
137
				<hr style="margin-top:25px; margin-bottom: 10px;">
140
				<hr style="margin-top:25px; margin-bottom: 10px;">
138
				<div class="row">
141
				<div class="row">
139
					<div class="col-md-12">
142
					<div class="col-md-12">
140
						<ul class="nav nav-pills">
143
						<ul class="nav nav-pills">
Line 244... Line 247...
244
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
247
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
245
								<h4>$bnd</h4>
248
								<h4>$bnd</h4>
246
								<table class="table table-striped table-advance table-hover" style="width:100%">
249
								<table class="table table-striped table-advance table-hover" style="width:100%">
247
									<thead>
250
									<thead>
248
									<tr>
251
									<tr>
249
										<th style="width: 25%;">Item</th>
252
										<th style="width: 23%;">Item</th>
250
										<th style="width: 9%;">Status</th>
253
										<th style="width: 8%;">Status</th>
-
 
254
										<th style="width:7% ">DP</th>
251
										<th style="width: 13%;">Our Stock</th>
255
										<th style="width: 12%;">Our Stock</th>
252
										<th style="width: 15%;">P-Fullfilled</th>
256
										<th style="width: 14%;">P-Fullfilled</th>
253
										<th style="width: 15%;">P-Shortage</th>
257
										<th style="width: 14%;">P-Shortage</th>
254
										<th style="width: 15%;">P-CurrentQty</th>
258
										<th style="width: 14%;">P-CurrentQty</th>
255
										<th style="width: 8%;">Aging</th>
259
										<th style="width: 7%;">Aging</th>
256
										##										<th>Action</th>
260
										<th>Action</th>
257
									</tr>
261
									</tr>
258
									</thead>
262
									</thead>
259
									<tbody>
263
									<tbody>
260
										#foreach($statusKey in $statusModelMap.keySet())
264
										#foreach($statusKey in $statusModelMap.keySet())
261
											#foreach($stocklist in $statusModelMap.get($statusKey))
265
											#foreach($stocklist in $statusModelMap.get($statusKey))
Line 263... Line 267...
263
												#if($stocklist.getPartnerCurrentAvailability() < 1)
267
												#if($stocklist.getPartnerCurrentAvailability() < 1)
264
													<td style="color: red;">$stocklist.getModelNumber()</td>
268
													<td style="color: red;">$stocklist.getModelNumber()</td>
265
												#else
269
												#else
266
													<td>$stocklist.getModelNumber()</td>
270
													<td>$stocklist.getModelNumber()</td>
267
												#end
271
												#end
-
 
272
												<td>$tagListingsMap.get($stocklist.getCatalogId()).getSellingPrice()</td>
268
												<td>$stocklist.getStatus()</td>
273
												<td>$stocklist.getStatus()</td>
269
												<td>$stocklist.getNetAvailability()</td>
274
												<td>$stocklist.getNetAvailability()</td>
270
												<td>$stocklist.getPartnerStockAvailability()</td>
275
												<td>$stocklist.getPartnerStockAvailability()</td>
271
												<td>$stocklist.getPartnerShortageStock()</td>
276
												<td>$stocklist.getPartnerShortageStock()</td>
272
												<td>$stocklist.getPartnerCurrentAvailability()</td>
277
												<td>$stocklist.getPartnerCurrentAvailability()</td>
273
												<td>$stocklist.getExceedDays()</td>
278
												<td>$stocklist.getExceedDays()</td>
274
												##												<td>
279
												<td>
275
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
280
													<button class="btn btn-sm btn-success add-to-cart-btn"
276
												##															data-catalogid="$stocklist.getCatalogId()"
281
															data-catalogid="$stocklist.getCatalogId()"
277
												##															data-model="$stocklist.getModelNumber()">
282
															data-model="$stocklist.getModelNumber()"
-
 
283
															data-price="$tagListingsMap.get($stocklist.getCatalogId()).getSellingPrice()">
278
												##														Add
284
														Add to PO
279
												##													</button>
285
													</button>
280
												##												</td>
286
												</td>
281
											</tr>
287
											</tr>
282
											#end
288
											#end
283
										#end
289
										#end
284
									</tbody>
290
									</tbody>
285
								</table>
291
								</table>
Line 287... Line 293...
287
						</div>
293
						</div>
288
					</div>
294
					</div>
289
				</div>
295
				</div>
290
 
296
 
291
			#end
297
			#end
292
 
-
 
293
 
-
 
294
		</div>
298
		</div>
295
		##				<div class="col-md-3">
299
		<div class="col-md-4">
-
 
300
			<div id="cart-sidebar"
296
		##					<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;margin-top:15px;">
301
				 style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
297
		##						<h5>Cart</h5>
302
				<h5 class="mrt-0">Suggested Po Item List</h5>
298
		##						<div id="custom-cart-section" class="well" style="padding: 4px;"></div>
303
				<div id="custom-cart-section" class="well"
-
 
304
					 style="padding: 4px;max-height: 55vh;overflow-y: auto;"></div>
-
 
305
				<button id="save-po-btn" class="btn btn-primary btn-block" style="margin-top:10px;">Save PO</button>
299
		##					</div>
306
			</div>
300
		##
-
 
301
		##				</div>
307
		</div>
-
 
308
 
302
	</div>
309
	</div>
303
 
310
 
304
 
311
 
305
</div>
312
</div>
306
 
313