Subversion Repositories SmartDukaan

Rev

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

Rev 24229 Rev 24406
Line 78... Line 78...
78
				        </thead>
78
				        </thead>
79
	    				<tbody>
79
	    				<tbody>
80
	    					#foreach( $modelListing in $catalogTagListings )
80
	    					#foreach( $modelListing in $catalogTagListings )
81
	    					<tr>
81
	    					<tr>
82
	    						<td>$modelListing.getCatalogId()</td>
82
	    						<td>$modelListing.getCatalogId()</td>
83
	    						<td>$modelListing.getItemDescription()</td>
83
	    						<td>$modelListing.getItemDescription()
-
 
84
		    						#if($isAdmin)
-
 
85
	    							<button type="button" class="btn btn-link mk_pause_button" 
-
 
86
	    							data-id="$modelListing.getCatalogId()"
-
 
87
	    							data-description="$modelListing.getItemDescription()"
-
 
88
	    							>Change Status</button>
-
 
89
		    						#end
-
 
90
	    						</td>
84
	    						<td class="currency">$modelListing.getDp()</td>
91
	    						<td class="currency">$modelListing.getDp()</td>
85
	    						<td class="currency">$modelListing.getMop()</td>
92
	    						<td class="currency">$modelListing.getMop()</td>
86
	    						<td>
93
	    						<td>
87
	    						#if($isAdmin)
94
	    						#if($isAdmin)
88
	    						<input type="number" min="0" max="20" 
95
	    						<input type="number" min="0" max="20" 
89
	    						data-catalog-id="$modelListing.getCatalogId()"
96
	    						data-catalog-id="$modelListing.getCatalogId()"
90
	    						data-selling-price="$modelListing.getDp()"
97
	    						data-selling-price="$modelListing.getDp()"
91
	    						data-description="$modelListing.getItemDescription()" 
98
	    						data-description="$modelListing.getItemDescription()" 
92
	    						value="$modelListing.getAllocatedQuantity()"/>
99
	    						value="$modelListing.getAllocatedQuantity()"/>
93
	    						#if($modelListing.getAllocatedQuantity() == 0)
-
 
94
	    							<button type="button" class="btn btn-link mk_pause_button" 
-
 
95
	    							data-id="$modelListing.getCatalogId()"
-
 
96
	    							data-description="$modelListing.getItemDescription()"
-
 
97
	    							>Pause</button>
-
 
98
	    						#end
-
 
99
	    						#else
100
	    						#else
100
								$modelListing.getAllocatedQuantity()	    						
101
								$modelListing.getAllocatedQuantity()	    						
101
	    						#end
102
	    						#end
102
	    						</td>
103
	    						</td>
103
	    						<td>$modelListing.getStockInHand()</td>
104
	    						<td>$modelListing.getStockInHand()</td>