Subversion Repositories SmartDukaan

Rev

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

Rev 34389 Rev 34397
Line 32... Line 32...
32
	   background-color: #cccccc47;
32
	   background-color: #cccccc47;
33
	   border-radius: 4px;
33
	   border-radius: 4px;
34
   }
34
   }
35
 
35
 
36
</style>
36
</style>
-
 
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
 
37
 
63
 
38
 
64
 
39
 
65
 
40
 
66
 
41
 <div class="modal-header">
67
 <div class="modal-header">
Line 44... Line 70...
44
	        </h4>
70
	        </h4>
45
       </div>
71
       </div>
46
<div class="modal-body" style="max-height:70vh;overflow:auto;">
72
<div class="modal-body" style="max-height:70vh;overflow:auto;">
47
	<div class="row">
73
	<div class="row">
48
		<div class="col-md-12">
74
		<div class="col-md-12">
-
 
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">
49
			#if($brand != "undefined")
110
			#if($brand != "undefined")
-
 
111
				<hr style="margin-top:25px; margin-bottom: 10px;">
50
				<div class="row">
112
				<div class="row">
51
					<div class="col-md-12">
113
					<div class="col-md-12">
52
						<ul class="nav nav-pills">
114
						<ul class="nav nav-pills">
53
							#foreach($bnd in $brands)
115
							#foreach($bnd in $brands)
54
								<li class="brandFocusedStockDetail" data-brand="$bnd"
116
								<li class="brandFocusedStockDetail" data-brand="$bnd"
Line 56... Line 118...
56
									<a href="#tab_$bnd">$bnd</a>
118
									<a href="#tab_$bnd">$bnd</a>
57
								</li>
119
								</li>
58
							#end
120
							#end
59
						</ul>
121
						</ul>
60
 
122
 
61
						<hr>
123
						<hr style="margin: 7px;">
62
 
124
 
63
						<div>
125
						<div>
64
							#foreach($bnd in $brands)
126
							#foreach($bnd in $brands)
65
								<div id="tab_$bnd" class="clearfix"></div>
127
								<div id="tab_$bnd" class="clearfix"></div>
66
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
128
								#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))
67
								<h4>$bnd</h4>
129
								<h4>$bnd</h4>
68
								<table class="table table-striped table-advance table-hover" style="width:100%">
130
								<table class="table table-striped table-advance table-hover" style="width:100%">
69
									<thead>
131
									<thead>
70
									<tr>
132
									<tr>
71
										<th>Item</th>
133
										<th style="width: 25%;">Item</th>
72
										<th>Status</th>
134
										<th style="width: 9%;">Status</th>
73
										<th>Our Stock</th>
135
										<th style="width: 13%;">Our Stock</th>
74
										<th>P-Fullfilled</th>
136
										<th style="width: 15%;">P-Fullfilled</th>
75
										<th>P-Shortage</th>
137
										<th style="width: 15%;">P-Shortage</th>
76
										<th>P-CurrentQty</th>
138
										<th style="width: 15%;">P-CurrentQty</th>
77
										<th>Aging</th>
139
										<th style="width: 8%;">Aging</th>
78
										##										<th>Action</th>
140
										##										<th>Action</th>
79
									</tr>
141
									</tr>
80
									</thead>
142
									</thead>
81
									<tbody>
143
									<tbody>
82
										#foreach($statusKey in $statusModelMap.keySet())
144
										#foreach($statusKey in $statusModelMap.keySet())
83
											#foreach($stocklist in $statusModelMap.get($statusKey))
145
											#foreach($stocklist in $statusModelMap.get($statusKey))
84
											<tr>
146
											<tr>
-
 
147
												#if($stocklist.getPartnerCurrentAvailability() < 1)
-
 
148
													<td style="color: red;">$stocklist.getModelNumber()</td>
-
 
149
												#else
85
												<td>$stocklist.getModelNumber()</td>
150
													<td>$stocklist.getModelNumber()</td>
-
 
151
												#end
86
												<td>$stocklist.getStatus()</td>
152
												<td>$stocklist.getStatus()</td>
87
												<td>$stocklist.getNetAvailability()</td>
153
												<td>$stocklist.getNetAvailability()</td>
88
												<td>$stocklist.getPartnerStockAvailability()</td>
154
												<td>$stocklist.getPartnerStockAvailability()</td>
89
												<td>$stocklist.getPartnerShortageStock()</td>
155
												<td>$stocklist.getPartnerShortageStock()</td>
90
												<td>$stocklist.getPartnerCurrentAvailability()</td>
156
												<td>$stocklist.getPartnerCurrentAvailability()</td>
91
												#if($stocklist.getExceedDays() >= 15)
-
 
92
													<td style="color: red;">$stocklist.getExceedDays()</td>
-
 
93
												#else
-
 
94
													<td>$stocklist.getExceedDays()</td>
157
												<td>$stocklist.getExceedDays()</td>
95
												#end
-
 
96
												##												<td>
158
												##												<td>
97
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
159
												##													<button class="btn btn-sm btn-success add-to-cart-btn"
98
												##															data-catalogid="$stocklist.getCatalogId()"
160
												##															data-catalogid="$stocklist.getCatalogId()"
99
												##															data-model="$stocklist.getModelNumber()">
161
												##															data-model="$stocklist.getModelNumber()">
100
												##														Add
162
												##														Add