Subversion Repositories SmartDukaan

Rev

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

Rev 4249 Rev 4267
Line 506... Line 506...
506
        url : "/crm",
506
        url : "/crm",
507
        success : function(response) {
507
        success : function(response) {
508
            $('#sidebar').html($(response).find('#sidebar').html());
508
            $('#sidebar').html($(response).find('#sidebar').html());
509
        }
509
        }
510
    });
510
    });
-
 
511
}
-
 
512
 
-
 
513
function blockPayment(transactionId, ticketId, currentAgent) {
-
 
514
	$.ajax({
-
 
515
		type : "GET",
-
 
516
		url : "/crm/tickets!blockPayment?transactionId=" + transactionId + "&id=" + ticketId + "&currentAgentEmailId=" + currentAgent,
-
 
517
		success : function(response) {
-
 
518
            $('#bottom-infopane').html(response);
-
 
519
        }
-
 
520
	});
-
 
521
}
-
 
522
 
-
 
523
function allowPayment(transactionId, ticketId) {
-
 
524
	$.ajax({
-
 
525
		type : "GET",
-
 
526
		url : "/crm/tickets!allowPayment?transactionId=" + transactionId + "&id=" + ticketId,
-
 
527
		success : function(response) {
-
 
528
            $('#bottom-infopane').html(response);
-
 
529
        }
-
 
530
	});
511
}
531
}
512
532