Subversion Repositories SmartDukaan

Rev

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

Rev 23884 Rev 24229
Line 42... Line 42...
42
			    	<input id="partnerId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
42
			    	<input id="partnerId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
43
			    	 #if(${retailerName}) value="${retailerName}" #end
43
			    	 #if(${retailerName}) value="${retailerName}" #end
44
			    	 autocomplete="off"/>
44
			    	 autocomplete="off"/>
45
	               	<div class="input-group-btn">
45
	               	<div class="input-group-btn">
46
		    			<button class="create_indent btn btn-primary">Get Partner Allocation</button>
46
		    			<button class="create_indent btn btn-primary">Get Partner Allocation</button>
-
 
47
		    			<button class="download_indent btn btn-primary">Download</button>
47
		    		</div>
48
		    		</div>
48
		    	</div>
49
		    	</div>
49
    		</div>
50
    		</div>
50
		    <div class="col-lg-3">
51
		    <div class="col-lg-3">
51
			    <div class="dropdown">
52
			    <div class="dropdown">
Line 65... Line 66...
65
	    			<table class="table table-striped table-condensed table-bordered" id="entire-catalog-table">
66
	    			<table class="table table-striped table-condensed table-bordered" id="entire-catalog-table">
66
		    			<thead>
67
		    			<thead>
67
				            <tr>
68
				            <tr>
68
								<th>Id</th>
69
								<th>Id</th>
69
	    						<th style="width:40%">Description</th>
70
	    						<th style="width:40%">Description</th>
70
	    						<th style="width:12%">Selling Price</th>
71
	    						<th style="width:12%">DP</th>
71
	    						<th>MOP</th>
72
	    						<th>MOP</th>
72
	    						<th style="width:20%">Allocated Quantity</th>
73
	    						<th style="width:20%">Allocated Quantity</th>
73
	    						<th style="width:9%">In Stock</th>
74
	    						<th style="width:9%">In Stock</th>
74
	    						<th style="width:9%">In Transit</th>
75
	    						<th style="width:9%">In Transit</th>
75
	    						<th style="width:9%">To be Ordered</th>
76
	    						<th style="width:9%">To be Ordered</th>
76
				            </tr>
77
				            </tr>
77
				        </thead>
78
				        </thead>
78
	    				<tbody>
79
	    				<tbody>
79
	    					#foreach( $tagListing in $tagListings )
80
	    					#foreach( $modelListing in $catalogTagListings )
80
	    					<tr>
81
	    					<tr>
81
	    						<td>$tagListing.getItemId()</td>
82
	    						<td>$modelListing.getCatalogId()</td>
82
	    						<td>$tagListing.getItemDescription()</td>
83
	    						<td>$modelListing.getItemDescription()</td>
83
	    						<td class="currency">$tagListing.getSellingPrice()</td>
84
	    						<td class="currency">$modelListing.getDp()</td>
84
	    						<td class="currency">$tagListing.getMop()</td>
85
	    						<td class="currency">$modelListing.getMop()</td>
85
	    						<td>
86
	    						<td>
86
	    						#if($isAdmin)
87
	    						#if($isAdmin)
87
	    						<input type="number" min="0" max="10" 
88
	    						<input type="number" min="0" max="20" 
88
	    						data-item-id="$tagListing.getItemId()"
89
	    						data-catalog-id="$modelListing.getCatalogId()"
89
	    						data-selling-price="$tagListing.getSellingPrice()"
90
	    						data-selling-price="$modelListing.getDp()"
90
	    						data-description="$tagListing.getItemDescription()" 
91
	    						data-description="$modelListing.getItemDescription()" 
91
	    						value="$tagListing.getAllocatedQuantity()"/>
92
	    						value="$modelListing.getAllocatedQuantity()"/>
92
	    						#if($tagListing.getAllocatedQuantity() == 0)
93
	    						#if($modelListing.getAllocatedQuantity() == 0)
93
	    							<button type="button" class="btn btn-link mk_pause_button" 
94
	    							<button type="button" class="btn btn-link mk_pause_button" 
94
	    							data-id="$tagListing.getId()"
95
	    							data-id="$modelListing.getCatalogId()"
95
	    							data-description="$tagListing.getItemDescription()"
96
	    							data-description="$modelListing.getItemDescription()"
96
	    							>Pause</button>
97
	    							>Pause</button>
97
	    						#end
98
	    						#end
98
	    						#else
99
	    						#else
99
								$tagListing.getAllocatedQuantity()	    						
100
								$modelListing.getAllocatedQuantity()	    						
100
	    						#end
101
	    						#end
101
	    						</td>
102
	    						</td>
102
	    						<td>$tagListing.getStockInHand()</td>
103
	    						<td>$modelListing.getStockInHand()</td>
103
	    						<td>$tagListing.getInTransitQuantity()</td>
104
	    						<td>$modelListing.getInTransitQuantity()</td>
104
	    						<td>$tagListing.getToBeOrdered()</td>
105
	    						<td>$modelListing.getToBeOrdered()</td>
105
	    					</tr>
106
	    					</tr>
106
	    					#end
107
	    					#end
107
	    				</tbody>
108
	    				</tbody>
108
	    			</table>
109
	    			</table>
109
	    		</div>
110
	    		</div>