Subversion Repositories SmartDukaan

Rev

Rev 32771 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23539 amit.gupta 1
<style>
2
	.btn:hover{
32805 amit.gupta 3
		color: grey;
4
		text-decoration: none;
23539 amit.gupta 5
	}
6
	.btn-primary:hover{
32805 amit.gupta 7
		color: grey;
8
		text-decoration: none;
23539 amit.gupta 9
	}
10
	.retailer-details{
11
		cursor:pointer;
12
	}
13
	tr.highlight{
14
		background-color:"#f59ca0";
15
		cursor:auto;
16
	}
17
</style>
18
 
32805 amit.gupta 19
<section class="wrapper">
23539 amit.gupta 20
	<div class="row">
21
		<div class="col-lg-12">
32805 amit.gupta 22
			<h3 class="page-header"><i class="icon_document_alt"></i>Recent Debit Notes</h3>
23539 amit.gupta 23
			<ol class="breadcrumb">
32805 amit.gupta 24
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
25
				<li><i class="icon_document_alt"></i>Recent Debit Notes</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)
32805 amit.gupta 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>
29635 amit.gupta 39
		#end
32381 jai.hind 40
	</div><br>
32805 amit.gupta 41
 
42
	<div id="debit-notes-container">
43
		#parse("debit-notes-table.vm")
44
	</div>
29635 amit.gupta 45
</section>
46
<script>
47
 
32805 amit.gupta 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
		});
29635 amit.gupta 58
	});
59
 
60
 
32805 amit.gupta 61
 
29635 amit.gupta 62
</script>