Subversion Repositories SmartDukaan

Rev

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

Rev 24089 Rev 27754
Line 1... Line 1...
1
$(function() {
1
$(function() {
2
	$(".unsettled-payments").live('click', function() {
2
	$(document).on('click', ".unsettled-payments", function() {
3
		loadPaymentsRequest("main-content");
3
		loadPaymentsRequest("main-content");
4
	});
4
	});
5
	
5
	
6
	$('.create-unsettled-payments').live('click', function() {
6
	$(document).on('click', '.create-unsettled-payments', function() {
7
		var transactionReference = $('input[name="transactionReference"]').val();
7
		var transactionReference = $('input[name="transactionReference"]').val();
8
		var description = $('input[name="description"]').val();
8
		var description = $('input[name="description"]').val();
9
		var amount =$('input[name="amount"]').val();
9
		var amount =$('input[name="amount"]').val();
10
		var referencedate=$('#referencedate').val();
10
		var referencedate=$('#referencedate').val();
11
		
11
		
Line 54... Line 54...
54
	 		
54
	 		
55
		
55
		
56
	});
56
	});
57
	
57
	
58
		 
58
		 
59
	 $(".remove").live('click',
59
	 $(document).on('click', ".remove",
60
	 function(){
60
	 function(){
61
	 if (confirm("Are you sure you want to Remove the Entry") == true) {
61
	 if (confirm("Are you sure you want to Remove the Entry") == true) {
62
	 id=$(this).data('requestid');
62
	 id=$(this).data('requestid');
63
	 console.log(id);
63
	 console.log(id);
64
	 unsettledRequestRemoved(id);
64
	 unsettledRequestRemoved(id);