Subversion Repositories SmartDukaan

Rev

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

Rev 23539 Rev 23540
Line 14... Line 14...
14
	});
14
	});
15
 
15
 
16
	$("a.wh-display-name").live('click', function() {
16
	$("a.wh-display-name").live('click', function() {
17
		var whId = $(this).closest('tr').data('id');
17
		var whId = $(this).closest('tr').data('id');
18
		$("#approved-returns-container").find("tr.filter").hide().filter('[data-id="' + whId + '"]').show();
18
		$("#approved-returns-container").find("tr.filter").hide().filter('[data-id="' + whId + '"]').show();
19
		$(this).closest('tr').removeClass('warning');
19
		$(this).closest('table').find('tr').removeClass('warning');
20
		$(this).closest('tr').addClass('warning');
20
		$(this).closest('tr').addClass('warning');
21
	});
21
	});
22
 
22
 
23
	$("a.debit-note").live('click', function() {
23
	$("a.debit-note").live('click', 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('tr').removeClass('warning');
26
		$(this).closest('table').find('tr').removeClass('warning');
27
		$(this).closest('tr').addClass('warning');
27
		$(this).closest('tr').addClass('warning');
28
	});
28
	});
29
	
29
	
30
	
30
	
31
	$("a.request-return").live('click', function() {
31
	$("a.request-return").live('click', function() {