Subversion Repositories SmartDukaan

Rev

Rev 34397 | Rev 34403 | 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>
34402 ranu 79
					<li>Short Investment -
80
						#if($shortInvest > 0)
81
							<span class="currency">$shortInvest</span></li>
82
						#else
83
							-
84
						#end
34397 ranu 85
						<li>Purchase FTD Target / Purchased FTD - <span class="currency"> $purchaseTargetFtd </span> /
86
							#if($purchasedFtd < $purchaseTargetFtd)
87
								<span style="color: red;"> <span class="currency"> $purchasedFtd</span> </span>
88
							#else
89
								<span style="color: green;"> <span class="currency"> $purchasedFtd</span> </span>
90
							#end
91
						</li>
92
						<li>Total Available Funds - <span class="currency">$totalAvailableFunds</span></li>
93
 
94
					</ul>
95
				</div>
96
				<div class="col-md-6">
97
					<ul>
98
						#if($isLoanPending && $recoverableAmount > 0)
99
							<li>Recoverable Amount - $recoverableAmount
100
								<ul>
101
									<li>Purchase Mtd - <span class="currency">$purchaseMtd</span></li>
102
									<li>Sale Mtd - <span class="currency">$saleMtd</span></li>
103
								</ul>
104
							</li>
105
						#end
106
 
107
					</ul>
108
				</div>
109
 
110
 
111
			</div>
112
		</div>
113
		<div class="clearfix"></div>
114
		<div class="col-md-12">
34389 ranu 115
			#if($brand != "undefined")
34397 ranu 116
				<hr style="margin-top:25px; margin-bottom: 10px;">
34389 ranu 117
				<div class="row">
118
					<div class="col-md-12">
119
						<ul class="nav nav-pills">
120
							#foreach($bnd in $brands)
121
								<li class="brandFocusedStockDetail" data-brand="$bnd"
122
									data-fofoid="$fofoId">
123
									<a href="#tab_$bnd">$bnd</a>
124
								</li>
125
							#end
126
						</ul>
34035 ranu 127
 
34397 ranu 128
						<hr style="margin: 7px;">
31417 amit.gupta 129
 
34389 ranu 130
						<div>
131
							#foreach($bnd in $brands)
132
								<div id="tab_$bnd" class="clearfix"></div>
133
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
134
								<h4>$bnd</h4>
135
								<table class="table table-striped table-advance table-hover" style="width:100%">
136
									<thead>
137
									<tr>
34397 ranu 138
										<th style="width: 25%;">Item</th>
139
										<th style="width: 9%;">Status</th>
140
										<th style="width: 13%;">Our Stock</th>
141
										<th style="width: 15%;">P-Fullfilled</th>
142
										<th style="width: 15%;">P-Shortage</th>
143
										<th style="width: 15%;">P-CurrentQty</th>
144
										<th style="width: 8%;">Aging</th>
34389 ranu 145
										##										<th>Action</th>
146
									</tr>
147
									</thead>
148
									<tbody>
149
										#foreach($statusKey in $statusModelMap.keySet())
150
											#foreach($stocklist in $statusModelMap.get($statusKey))
151
											<tr>
34397 ranu 152
												#if($stocklist.getPartnerCurrentAvailability() < 1)
153
													<td style="color: red;">$stocklist.getModelNumber()</td>
154
												#else
155
													<td>$stocklist.getModelNumber()</td>
156
												#end
34389 ranu 157
												<td>$stocklist.getStatus()</td>
158
												<td>$stocklist.getNetAvailability()</td>
159
												<td>$stocklist.getPartnerStockAvailability()</td>
160
												<td>$stocklist.getPartnerShortageStock()</td>
161
												<td>$stocklist.getPartnerCurrentAvailability()</td>
34397 ranu 162
												<td>$stocklist.getExceedDays()</td>
34389 ranu 163
												##												<td>
164
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
165
												##															data-catalogid="$stocklist.getCatalogId()"
166
												##															data-model="$stocklist.getModelNumber()">
167
												##														Add
168
												##													</button>
169
												##												</td>
170
											</tr>
171
											#end
172
										#end
173
									</tbody>
174
								</table>
175
							#end
176
						</div>
177
					</div>
178
				</div>
31417 amit.gupta 179
 
34389 ranu 180
			#end
181
			<div id="itemWiseBrandStockDetail">
34384 ranu 182
 
34389 ranu 183
			</div>
34384 ranu 184
 
34389 ranu 185
		</div>
186
		##		<div class="col-md-3">
187
		##			<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
188
		##				<h5>Cart</h5>
189
		##				<div id="custom-cart-section" class="well" style="padding: 4px;"></div>
190
		##			</div>
191
		##
192
		##		</div>
193
	</div>
31417 amit.gupta 194
 
34384 ranu 195
 
34389 ranu 196
</div>
30044 tejbeer 197
 
198
 
34087 ranu 199
<div class="modal-footer">
200
	<button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
201
 
202
</div>
34389 ranu 203