Subversion Repositories SmartDukaan

Rev

Rev 32771 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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