Subversion Repositories SmartDukaan

Rev

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

Rev 26293 Rev 26721
Line 20... Line 20...
20
</style>
20
</style>
21
 
21
 
22
<section class="wrapper">            
22
<section class="wrapper">            
23
	<div class="row">
23
	<div class="row">
24
		<div class="col-lg-12">
24
		<div class="col-lg-12">
25
		#if ($isAdmin)
25
		 #if ($isAdmin)
26
			<h3 class="page-header"><i class="icon_document_alt"></i>Create/Edit Allocation</h3>
26
			<h3 class="page-header"><i class="icon_document_alt"></i>Create/Edit Allocation</h3>
27
			<ol class="breadcrumb">
27
			<ol class="breadcrumb">
28
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
28
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
29
				#if($retailerName)
29
				#if($retailerName)
30
				<script type="text/javascript">
30
				<script type="text/javascript">
Line 33... Line 33...
33
				<li><i class="icon_document_alt"></i><b>Allocation for $retailerName (Counter Size - $counterSize)</b></li>
33
				<li><i class="icon_document_alt"></i><b>Allocation for $retailerName (Counter Size - $counterSize)</b></li>
34
				#else
34
				#else
35
				<li><i class="icon_document_alt"></i><b>Standard Allocation (Counter Size - $counterSize)</b></li>
35
				<li><i class="icon_document_alt"></i><b>Standard Allocation (Counter Size - $counterSize)</b></li>
36
				#end
36
				#end
37
			</ol>
37
			</ol>
38
		#else
38
		#else 
39
			<h3 class="page-header"><i class="icon_document_alt"></i>My Business Plan <span style ="font-size:18px";>(Open from <b>26<sup>th</sup> to 7<sup>th</sup></b> of each Month)</span></h3>
39
			<h3 class="page-header"><i class="icon_document_alt"></i>My Business Plan <span style ="font-size:18px";>(Open from <b>26<sup>th</sup> to 7<sup>th</sup></b> of each Month)</span></h3>
40
			
40
			
41
		#end
41
		#end 
-
 
42
		
-
 
43
				
42
		</div>
44
		</div>
43
		
45
		
44
		
46
		
45
	</div>
47
	</div>
46
	
48
	
47
    <div>
49
    <div>
48
    	#if ($isAdmin)
50
    <!--	#if ($isAdmin)
49
    	<div class="row">
51
    	<div class="row">
50
    		<div class="col-lg-3">
52
    		<div class="col-lg-3">
51
                <div class="input-group">
53
                <div class="input-group">
52
			    	<input id="partnerId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
54
			    	<input id="partnerId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
53
			    	 #if(${retailerName}) value="${retailerName}" #end
55
			    	 #if(${retailerName}) value="${retailerName}" #end
Line 69... Line 71...
69
			  		</ul>
71
			  		</ul>
70
				</div>
72
				</div>
71
	    	</div>
73
	    	</div>
72
    	</div>
74
    	</div>
73
    	#end
75
    	#end
-
 
76
    	-->
74
    	
77
    	
75
    	<div class="row">
78
    	<div class="row">
76
    		   <div class="col-lg-3" style="text-align:left;">
79
    		   <div class="col-lg-3" style="text-align:left;">
77
		
80
		                 #if(!$isAdmin)
78
						<button type="button" class="btn btn-default previous-month" aria-label="Previous" >
81
						<button type="button" class="btn btn-default previous-month" aria-label="Previous" >
79
							$previousPlanningMonth</button> 
82
							$previousPlanningMonth</button> 
80
						<button type="button" class="btn btn-default current-month" aria-label="Current" >
83
						<button type="button" class="btn btn-default current-month" aria-label="Current" >
81
							$currentPlanningMonth</button> 
84
							$currentPlanningMonth</button> 
-
 
85
							#end
82
	           	</div>
86
	           	</div>
83
	           	
87
	           	
84
	         #if($freezed&&$planningMonth)
88
	         #if($freezed&&$planningMonth)
85
			<div style = "font-size:20px;font-weight:bold;color:red;"  class="indentMessage"> $planningMonth Month Planning is <b>Closed</b></div>
89
			<div style = "font-size:20px;font-weight:bold;color:red;"  class="indentMessage"> $planningMonth Month Planning is <b>Closed</b></div>
86
			#else
90
			#else
Line 119... Line 123...
119
	    					<tr>
123
	    					<tr>
120
	    						<td>$modelListing.getCatalogId()</td>
124
	    						<td>$modelListing.getCatalogId()</td>
121
	    						<td>$modelListing.getItemDescription()</td>
125
	    						<td>$modelListing.getItemDescription()</td>
122
	    						<td class="currency">$modelListing.getDp()</td>
126
	    						<td class="currency">$modelListing.getDp()</td>
123
	    						<td class="currency">$modelListing.getMop()</td>
127
	    						<td class="currency">$modelListing.getMop()</td>
124
	    						#if($freezed&&$previousMonth)
128
	    						#if($freezed&&$previousMonth || $isAdmin)
125
	    						<td>
129
	    						<td>
126
	    						<input type="number" min="0" max="40" 
130
	    						<input type="number" min="0" max="40" 
127
	    						data-catalog-id="$modelListing.getCatalogId()"
131
	    						data-catalog-id="$modelListing.getCatalogId()"
128
	    						data-selling-price="$modelListing.getDp()"
132
	    						data-selling-price="$modelListing.getDp()"
129
	    						data-brand-name="$modelListing.getBrand()"
133
	    						data-brand-name="$modelListing.getBrand()"
130
	    						data-description="$modelListing.getItemDescription()" 
134
	    						data-description="$modelListing.getItemDescription()" 
131
	    						value="$modelListing.getAllocatedQuantity()" readonly/>
135
	    						value="$modelListing.getAllocatedQuantity()" readonly/>
132
	    						</td>
136
	    						</td>
133
	    						#elseif($freezed)
137
	    						#elseif($freezed || $isAdmin)
134
	    						<td>
138
	    						<td>
135
	    						<input type="number" min="0" max="40" 
139
	    						<input type="number" min="0" max="40" 
136
	    						data-catalog-id="$modelListing.getCatalogId()"
140
	    						data-catalog-id="$modelListing.getCatalogId()"
137
	    						data-selling-price="$modelListing.getDp()"
141
	    						data-selling-price="$modelListing.getDp()"
138
	    						data-brand-name="$modelListing.getBrand()"
142
	    						data-brand-name="$modelListing.getBrand()"
Line 236... Line 240...
236
                	</div>
240
                	</div>
237
                	#end
241
                	#end
238
                	
242
                	
239
                
243
                
240
    	         	<div class="panel panel-default">
244
    	         	<div class="panel panel-default">
241
	    			#if(!$isAdmin)
245
	    			
242
	                <div class="panel-heading">Brand Stock</div>
246
	                <div class="panel-heading">Brand Stock</div>
243
	                  <div class="panel-content">
247
	                  <div class="panel-content">
244
		                 <table class="table table-sm" id="stock-table">
248
		                 <table class="table table-sm" id="stock-table">
245
	                  		  <thead>
249
	                  		  <thead>
246
							    <tr>
250
							    <tr>
Line 261... Line 265...
261
							    #end
265
							    #end
262
							   </tbody>
266
							   </tbody>
263
							</table>
267
							</table>
264
	                  </div>
268
	                  </div>
265
                  	</div>
269
                  	</div>
266
    	          #end
270
    	        
267
    	        </div>
271
    	        </div>
268
    	   
272
    	   
269
                	#if($isAdmin)
273
                	<!-- #if($isAdmin)
270
                	<div class="panel panel-default">
274
                	<div class="panel panel-default">
271
                		<div class="panel-heading">Brandwise Target and Performance</div>
275
                		<div class="panel-heading">Brandwise Target and Performance</div>
272
                		<div class="panel-content">
276
                		<div class="panel-content">
273
                		<ul class="nav nav-tabs">
277
                		<ul class="nav nav-tabs">
274
						  <li role="presentation" class="active brandLi"><a href="javascript:void(0)">Mobiles</a></li>
278
						  <li role="presentation" class="active brandLi"><a href="javascript:void(0)">Mobiles</a></li>
Line 334... Line 338...
334
							</tbody>
338
							</tbody>
335
						</table>
339
						</table>
336
                		</div>
340
                		</div>
337
                		
341
                		
338
                	</div>
342
                	</div>
339
                	#end
343
                	#end -->
340
	    		</div>
344
	    		</div>
341
	    	</div>
345
	    	</div>
342
    	</div>
346
    	</div>
343
    
347
    
344
    	
348