Subversion Repositories SmartDukaan

Rev

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

Rev 34404 Rev 34412
Line 50... Line 50...
50
		border-bottom: 1px solid #ccc;
50
		border-bottom: 1px solid #ccc;
51
		padding-bottom: 6px;
51
		padding-bottom: 6px;
52
	}
52
	}
53
 
53
 
54
	.well ul li {
54
	.well ul li {
-
 
55
		list-style: decimal;
55
		padding: 4px 0;
56
		padding: 4px 0;
56
		font-weight: 400;
57
		font-weight: 400;
57
		font-size: 16px;
58
		font-size: 16px;
58
		border-bottom: 1px dashed #eee;
59
		border-bottom: 1px dashed #eee;
59
	}
60
	}
Line 76... Line 77...
76
<div class="modal-body" style="max-height:70vh;overflow:auto;">
77
<div class="modal-body" style="max-height:70vh;overflow:auto;">
77
	<div class="row">
78
	<div class="row">
78
		<div class="col-md-12">
79
		<div class="col-md-12">
79
			<div class="well row" style="margin: 0;">
80
			<div class="well row" style="margin: 0;">
80
				<h4>Summary </h4>
81
				<h4>Summary </h4>
81
				<div class="col-md-6">
82
				<div class="col-md-4">
-
 
83
					<h5>Fund Detail</h5>
-
 
84
					<ul>
-
 
85
						<li>Total Limit <span class="currency"> $sdCreditRequirement.getLimit()</span></li>
-
 
86
						<li>Utilization <span class="currency"> $sdCreditRequirement.getUtilizedAmount()</span></li>
-
 
87
						<li>Available Limit <span class="currency"> $sdCreditRequirement.getAvailableLimit()</span></li>
-
 
88
						<li>Wallet Amount <span class="currency"> $userWallet.getAmount()</span></li>
-
 
89
					</ul>
-
 
90
				</div>
-
 
91
				<div class="col-md-4">
-
 
92
					<h5>Investment Detail</h5>
82
					<ul>
93
					<ul>
83
					<li>Short Investment -:
-
 
84
						#if($shortInvest > 0)
94
						#if($shortInvest > 0)
85
							<span class="currency">$shortInvest</span></li>
95
							<li>Short Investment -: <span class="currency">$shortInvest</span></li>
86
						#else
-
 
87
							NA
-
 
88
						#end
96
						#end
-
 
97
 
89
						<li>Purchase FTD Target / Purchased FTD -: <span class="currency"> $purchaseTargetFtd </span> /
98
						<li>DRR / Today Purchase <span class="currency"> $purchaseTargetFtd </span> /
90
							#if($purchasedFtd < $purchaseTargetFtd)
99
							#if($purchasedFtd < $purchaseTargetFtd)
91
								<span style="color: red;"> <span class="currency"> $purchasedFtd</span> </span>
100
								<span style="color: red;"> <span class="currency"> $purchasedFtd</span> </span>
92
							#else
101
							#else
93
								<span style="color: green;"> <span class="currency"> $purchasedFtd</span> </span>
102
								<span style="color: green;"> <span class="currency"> $purchasedFtd</span> </span>
94
							#end
103
							#end
95
						</li>
104
						</li>
96
						<li>Total Available Funds -: <span class="currency">$totalAvailableFunds</span></li>
-
 
97
 
105
 
98
					</ul>
106
					</ul>
99
				</div>
107
 
100
				<div class="col-md-6">
108
					<h5>Recoverable Amount </h5>
101
					<ul>
109
					<ul>
102
						#if($isLoanPending && $recoverableAmount > 0)
110
						<li>(Short Invest + Loan Over due) <br>
103
							<li>Recoverable Amount -: <span class="currency">$recoverableAmount</span>
-
 
104
								<ul>
-
 
105
									<li>Purchase Mtd -: <span class="currency">$purchaseMtd</span></li>
111
							<span class="currency">$shortInvest</span> + <span
106
									<li>Sale Mtd -: <span class="currency">$saleMtd</span></li>
112
									class="currency">$totalPendingAmount</span>
107
								</ul>
113
						</li>
108
							</li>
114
					</ul>
-
 
115
 
109
						#end
116
				</div>
110
 
117
 
-
 
118
				<div class="col-md-4">
-
 
119
					<h5>Target</h5>
-
 
120
					<ul>
-
 
121
						<li>Monthly Target -: <span class="currency">$monthlyTarget.purchaseTarget</span></li>
-
 
122
						<li>Purchase Mtd -: <span class="currency">$purchaseMtd</span></li>
-
 
123
						<li>Sale Mtd -: <span class="currency">$saleMtd</span></li>
111
					</ul>
124
					</ul>
-
 
125
 
112
				</div>
126
				</div>
113
 
127
 
114
 
128
 
115
			</div>
129
			</div>
116
		</div>
130
		</div>
117
		<div class="clearfix"></div>
131
		<div class="clearfix"></div>
118
		<div class="col-md-12">
132
		<div class="col-md-12">
-
 
133
 
119
			#if($brand != "undefined")
134
			#if($brand != "undefined")
120
				<hr style="margin-top:25px; margin-bottom: 10px;">
135
				<hr style="margin-top:25px; margin-bottom: 10px;">
121
				<div class="row">
136
				<div class="row">
122
					<div class="col-md-12">
137
					<div class="col-md-12">
123
						<ul class="nav nav-pills">
138
						<ul class="nav nav-pills">
124
							#foreach($bnd in $brands)
139
							#foreach($bnd in $brands)
125
								<li class="brandFocusedStockDetail" data-brand="$bnd"
140
								<li class="brandFocusedStockDetail" data-brand="$bnd" data-fofoid="$fofoId">
126
									data-fofoid="$fofoId">
141
									#if(!$brandToMtdMap.containsKey($bnd))
-
 
142
										<a style="color: red;" href="#tab_$bnd">$bnd</a>
-
 
143
									#else
127
									<a href="#tab_$bnd">$bnd</a>
144
										<a href="#tab_$bnd">$bnd</a>
-
 
145
									#end
128
								</li>
146
								</li>
129
							#end
147
							#end
-
 
148
							<li><a href="#collapse1" data-toggle="collapse"
-
 
149
								   style="background-color: #ccc;color: black;">In Stock </a></li>
130
						</ul>
150
							<li><a href="#collapse2" data-toggle="collapse"
-
 
151
								   style="background-color: #ccc;color: black;">Sales </a></li>
-
 
152
 
131
 
153
 
-
 
154
						</ul>
-
 
155
						<hr>
-
 
156
						<div class="col-md-12 well panel-collapse collapse" id="collapse1">
-
 
157
							<h4>In Stock </h4>
-
 
158
							<div id="itemWiseBrandStockDetail"></div>
-
 
159
						</div>
-
 
160
						<div id="collapse2" class="panel-collapse collapse col-md-12 well">
-
 
161
							<h4>Seven Days Sales</h4>
-
 
162
							<table class="table table-striped table-advance table-hover" style="width:100%">
-
 
163
								<thead>
-
 
164
								<tr>
-
 
165
									<th style="width: 25%;">Item</th>
-
 
166
									<th style="width: 9%;">Brand</th>
-
 
167
									<th style="width: 15%;">Sold Qty</th>
-
 
168
								</tr>
-
 
169
								</thead>
-
 
170
								<tbody>
-
 
171
									#foreach($catalog in $sevenDayAboveSoldsCatalogs)
-
 
172
									<tr>
-
 
173
										<td>$catalog.getModelNumber()</td>
-
 
174
										<td>$catalog.getBrand()</td>
-
 
175
										<td>$catalog.getSoldQty()</td>
-
 
176
									</tr>
-
 
177
									#end
-
 
178
								</tbody>
-
 
179
							</table>
-
 
180
							<h4>14 Days Sales</h4>
-
 
181
							<table class="table table-striped table-advance table-hover" style="width:100%">
-
 
182
								<thead>
-
 
183
								<tr>
-
 
184
									<th style="width: 25%;">Item</th>
-
 
185
									<th style="width: 9%;">Brand</th>
-
 
186
									<th style="width: 15%;">Sold Qty</th>
-
 
187
								</tr>
-
 
188
								</thead>
-
 
189
								<tbody>
-
 
190
									#foreach($catalog in $fourteenDayAboveSoldsCatalogs)
-
 
191
									<tr>
-
 
192
										<td>$catalog.getModelNumber()</td>
-
 
193
										<td>$catalog.getBrand()</td>
-
 
194
										<td>$catalog.getSoldQty()</td>
-
 
195
									</tr>
-
 
196
									#end
-
 
197
								</tbody>
-
 
198
							</table>
-
 
199
							<h4>21 Days Sales</h4>
-
 
200
							<table class="table table-striped table-advance table-hover" style="width:100%">
-
 
201
								<thead>
-
 
202
								<tr>
-
 
203
									<th style="width: 25%;">Item</th>
-
 
204
									<th style="width: 9%;">Brand</th>
-
 
205
									<th style="width: 15%;">Sold Qty</th>
-
 
206
								</tr>
-
 
207
								</thead>
-
 
208
								<tbody>
-
 
209
									#foreach($catalog in $twentyOneDayAboveSoldsCatalogs)
-
 
210
									<tr>
-
 
211
										<td>$catalog.getModelNumber()</td>
-
 
212
										<td>$catalog.getBrand()</td>
-
 
213
										<td>$catalog.getSoldQty()</td>
-
 
214
									</tr>
-
 
215
									#end
-
 
216
								</tbody>
-
 
217
							</table>
-
 
218
							<h4>28 Days Sales</h4>
-
 
219
							<table class="table table-striped table-advance table-hover" style="width:100%">
-
 
220
								<thead>
-
 
221
								<tr>
132
						<hr style="margin: 7px;">
222
									<th style="width: 25%;">Item</th>
-
 
223
									<th style="width: 9%;">Brand</th>
-
 
224
									<th style="width: 15%;">Sold Qty</th>
-
 
225
								</tr>
-
 
226
								</thead>
-
 
227
								<tbody>
-
 
228
									#foreach($catalog in $twentyEightDayAboveSoldsCatalogs)
-
 
229
									<tr>
-
 
230
										<td>$catalog.getModelNumber()</td>
-
 
231
										<td>$catalog.getBrand()</td>
-
 
232
										<td>$catalog.getSoldQty()</td>
-
 
233
									</tr>
-
 
234
									#end
-
 
235
								</tbody>
-
 
236
							</table>
133
 
237
 
-
 
238
						</div>
134
						<div>
239
						<div>
135
							#foreach($bnd in $brands)
240
							#foreach($bnd in $brands)
136
								<div id="tab_$bnd" class="clearfix"></div>
241
								<div id="tab_$bnd" class="clearfix"></div>
137
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
242
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
138
								<h4>$bnd</h4>
243
								<h4>$bnd</h4>
Line 180... Line 285...
180
						</div>
285
						</div>
181
					</div>
286
					</div>
182
				</div>
287
				</div>
183
 
288
 
184
			#end
289
			#end
185
			<div id="itemWiseBrandStockDetail">
-
 
186
 
290
 
187
			</div>
-
 
188
 
291
 
189
		</div>
292
		</div>
190
		##		<div class="col-md-3">
293
		##		<div class="col-md-3">
191
		##			<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
294
		##			<div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">
192
		##				<h5>Cart</h5>
295
		##				<h5>Cart</h5>