Subversion Repositories SmartDukaan

Rev

Rev 32381 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23539 amit.gupta 1
<style>
2
	.btn:hover{
3
  		color: grey;
4
  		text-decoration: none;
5
	}
6
	.btn-primary:hover{
7
  		color: grey;
8
  		text-decoration: none;
9
	}
10
	.retailer-details{
11
		cursor:pointer;
12
	}
13
	tr.highlight{
14
		background-color:"#f59ca0";
15
		cursor:auto;
16
	}
17
</style>
18
 
19
<section class="wrapper">            
20
	<div class="row">
21
		<div class="col-lg-12">
32771 raveendra. 22
			<h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("recentdebitnotes.recentdebitnotes")</h3>
23539 amit.gupta 23
			<ol class="breadcrumb">
32771 raveendra. 24
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("recentdebitnotes.home")</a></li>
25
				<li><i class="icon_document_alt"></i>#springMessage("recentdebitnotes.recentdebitnotes")</li>
23539 amit.gupta 26
			</ol>
27
		</div>
28
	</div>
29
	<div class="row">
30
		<!--<div class="col-lg-12">
31
			<a href="javascript:void(0)" onclick="">View Debit Note</a> &nbsp;|&nbsp; 
32
			<a href="javascript:void(0)" onclick="">Generate Debit Note(once generated it can't be changed)</a> 
33
		</div>-->
29635 amit.gupta 34
		#if($isAdmin)
35
		<div class="col-lg-3">
36
		    <label>Partner Name</label>
37
			<input placeholder="Enter Partner Name" type="text" class="typeahead form-control" id="partner-id" name="Item" data-provide="typeahead"  value="" autocomplete="off">
38
		</div>
39
		#end
32381 jai.hind 40
	</div><br>
23539 amit.gupta 41
 
29635 amit.gupta 42
    <div id="debit-notes-container">
43
    	#parse("debit-notes-table.vm")
44
    </div>
45
</section>
46
<script>
47
 
48
$(function(){
49
 	getPartnerAheadOptions($("#partner-id"),function(selectedPartner){
50
		partnerId = selectedPartner.partnerId;
51
 	doGetAjaxRequestHandler(`${context}/return/debit-notes/search?fofoId=${partnerId}`,
52
			function(response) {
53
				$('#debit-notes-container').html(response);
54
				$("#debit-notes").find('a:first').click();
55
			});
56
 
57
	});
58
});
59
 
60
 
61
 
62
</script>