Subversion Repositories SmartDukaan

Rev

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

Rev 23638 Rev 23644
Line 38... Line 38...
38
			approveReturnRequest($(this).closest('td').data("returnid"), $(this).closest('td'));
38
			approveReturnRequest($(this).closest('td').data("returnid"), $(this).closest('td'));
39
		}
39
		}
40
	});
40
	});
41
	$("a.deny-return").live('click', function() {
41
	$("a.deny-return").live('click', function() {
42
		if(confirm("Are you sure to Deny?")) {
42
		if(confirm("Are you sure to Deny?")) {
43
			denyReturnRequest($(this).closest('td').data("inventoryitemid"), $(this).closest('td'));
43
			denyReturnRequest($(this).closest('td').data("returnid"), $(this).closest('td'));
44
		}
44
		}
45
	});
45
	});
46
	/*$("a.generate-debit-note").live('click', function() {
46
	/*$("a.generate-debit-note").live('click', function() {
47
		if(confirm("Are you sure?")) {
47
		if(confirm("Are you sure?")) {
48
			generateDebitNote($(this).closest('tr').data("id"));
48
			generateDebitNote($(this).closest('tr').data("id"));