Subversion Repositories SmartDukaan

Rev

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

Rev 27763 Rev 29937
Line 21... Line 21...
21
	});
21
	});
22
 
22
 
23
	$(document).on('click', "a.debit-note", function() {
23
	$(document).on('click', "a.debit-note", function() {
24
		var debitNoteId = $(this).closest('tr').data('id');
24
		var debitNoteId = $(this).closest('tr').data('id');
25
		$("#debit-note-items").find("tr.filter").hide().filter('[data-id="' + debitNoteId + '"]').show();
25
		$("#debit-note-items").find("tr.filter").hide().filter('[data-id="' + debitNoteId + '"]').show();
26
		$(this).closest('table').find('tr').removeClass('warning');
26
		$(this).closest('table').find('tr').removeClass('alert-warning');
27
		$(this).closest('tr').addClass('warning');
27
		$(this).closest('tr').addClass('alert-warning');
28
	});
28
	});
29
	
29
	
30
	
30
	
31
	$(document).on('click', "a.request-return", function() {
31
	$(document).on('click', "a.request-return", function() {
32
		if(confirm("Are you sure?")) {
32
		if(confirm("Are you sure?")) {