Subversion Repositories SmartDukaan

Rev

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

Rev 23638 Rev 26320
Line 13... Line 13...
13
	.retailer-details{
13
	.retailer-details{
14
		cursor:pointer;
14
		cursor:pointer;
15
	}
15
	}
16
</style>
16
</style>
17
 
17
 
-
 
18
<script type="text/javascript">
-
 
19
	$("#partnerFofoId").typeahead({
-
 
20
	  source: retailers,
-
 
21
	  autoSelect: true,
-
 
22
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
-
 
23
	  afterSelect:	function(currentItem){
-
 
24
	  					currentFofoId = currentItem.partnerId;
-
 
25
	  						doAjaxRequestHandler(context+"/return/inventory/" + currentFofoId, "GET", function(response){
-
 
26
		              	inventoryTable.rows().remove().rows.add($(response)).draw(false);
-
 
27
		});
-
 
28
	  				}
-
 
29
	});
-
 
30
	
-
 
31
</script>
-
 
32
 
18
<section class="wrapper">            
33
<section class="wrapper">            
19
	<div class="row">
34
	<div class="row">
20
		<div class="col-lg-12">
35
		<div class="col-lg-12">
21
			<h3 class="page-header"><i class="icon_document_alt"></i>View/Request Return</h3>
36
			<h3 class="page-header"><i class="icon_document_alt"></i>View/Request Return</h3>
22
			<ol class="breadcrumb">
37
			<ol class="breadcrumb">
Line 26... Line 41...
26
		</div>
41
		</div>
27
	</div>
42
	</div>
28
	
43
	
29
    <div>
44
    <div>
30
	     <div class="row">
45
	     <div class="row">
31
			<div class="col-lg-2" id="store-container">
-
 
32
				<table class="table table-striped table-condensed table-bordered" id="returnables">
-
 
33
	    			<thead>
46
	     
34
			            <tr>
47
	     	<div class="col-lg-2">
35
							<th>Id</th>
-
 
36
							<th>Store Name</th>
48
					<div class="input-group">
37
			            </tr>
-
 
38
			        </thead>
-
 
39
					<tbody>
-
 
40
						#foreach( $customRetailerEntry in $customRetailers.entrySet() )
49
			    	<input id="partnerFofoId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
41
						<tr>
-
 
42
							<td>$customRetailerEntry.getKey()</td>
50
			    	 #if(${retailerName}) value="${retailerName}" #end
43
							<td><a class="storename pointer" data-id="$customRetailerEntry.getKey()">$customRetailerEntry.getValue().getBusinessName()</a></td>
-
 
44
						</tr>
51
			    	 autocomplete="off"/>
45
						#end
-
 
46
					</tbody>
52
			   </div> 
47
				</table>
53
			    </div>
48
			</div>
54
			    
49
			<div class="col-lg-4" id="inventory-container">
55
			<div class="col-lg-4" id="inventory-container">
50
				<table class="table table-striped table-condensed table-bordered">
56
				<table class="table table-striped table-condensed table-bordered">
51
	    			<thead>
57
	    			<thead>
52
			            <tr>
58
			            <tr>
53
							<th>Item Id</th>
59
							<th>Item Id</th>