Subversion Repositories SmartDukaan

Rev

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

Rev 24406 Rev 25701
Line 27... Line 27...
27
				#else
27
				#else
28
				<li><i class="icon_document_alt"></i><b>Standard Allocation (Counter Size - $counterSize)</b></li>
28
				<li><i class="icon_document_alt"></i><b>Standard Allocation (Counter Size - $counterSize)</b></li>
29
				#end
29
				#end
30
			</ol>
30
			</ol>
31
		#else
31
		#else
32
			<h3 class="page-header"><i class="icon_document_alt"></i>Create Purchase Order</h3>
32
			<h3 class="page-header"><i class="icon_document_alt"></i>My Business Plan</h3>
33
		#end
33
		#end
34
		</div>
34
		</div>
35
	</div>
35
	</div>
36
	
36
	
37
    <div>
37
    <div>
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()
83
	    						<td>$modelListing.getItemDescription()</td>
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>
-
 
91
	    						<td class="currency">$modelListing.getDp()</td>
84
	    						<td class="currency">$modelListing.getDp()</td>
92
	    						<td class="currency">$modelListing.getMop()</td>
85
	    						<td class="currency">$modelListing.getMop()</td>
93
	    						<td>
86
	    						<td>
94
	    						#if($isAdmin)
87
	    						#if(!$isAdmin)
95
	    						<input type="number" min="0" max="20" 
88
	    						<input type="number" min="0" max="20" 
96
	    						data-catalog-id="$modelListing.getCatalogId()"
89
	    						data-catalog-id="$modelListing.getCatalogId()"
97
	    						data-selling-price="$modelListing.getDp()"
90
	    						data-selling-price="$modelListing.getDp()"
98
	    						data-description="$modelListing.getItemDescription()" 
91
	    						data-description="$modelListing.getItemDescription()" 
99
	    						value="$modelListing.getAllocatedQuantity()"/>
92
	    						value="$modelListing.getAllocatedQuantity()"/>
Line 334... Line 327...
334
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
327
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
335
	  afterSelect:	function(currentItem){
328
	  afterSelect:	function(currentItem){
336
	  					currentFofoId = currentItem.partnerId;
329
	  					currentFofoId = currentItem.partnerId;
337
	  				}
330
	  				}
338
	});
331
	});
339
	if($isAdmin){
-
 
340
		populateIndentSummary();
332
	populateIndentSummary();
341
	}
-
 
342
});
333
});
343
 
334
 
344
</script>
335
</script>
345
336