Subversion Repositories SmartDukaan

Rev

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

Rev 4451 Rev 4490
Line 526... Line 526...
526
		url : "/crm/tickets!allowPayment?transactionId=" + transactionId + "&id=" + ticketId + "&paymentId=" + paymentId,
526
		url : "/crm/tickets!allowPayment?transactionId=" + transactionId + "&id=" + ticketId + "&paymentId=" + paymentId,
527
		success : function(response) {
527
		success : function(response) {
528
            $('#bottom-infopane').html(response);
528
            $('#bottom-infopane').html(response);
529
        }
529
        }
530
	});
530
	});
-
 
531
}
-
 
532
 
-
 
533
function denyDOA(orderId, ticketId) {
-
 
534
	$.ajax({
-
 
535
		type : "GET",
-
 
536
		url : "/crm/tickets!denyDOA?orderId=" + orderId + "&id=" + ticketId,
-
 
537
		success : function(response) {
-
 
538
            $('#bottom-infopane').html(response);
-
 
539
        }
-
 
540
	});
-
 
541
}
-
 
542
 
-
 
543
 
-
 
544
function authorizeDOA(orderId, ticketId) {
-
 
545
	$.ajax({
-
 
546
		type : "GET",
-
 
547
		url : "/crm/tickets!authorizeDOA?orderId=" + orderId + "&id=" + ticketId,
-
 
548
		success : function(response) {
-
 
549
            $('#bottom-infopane').html(response);
-
 
550
        }
-
 
551
	});
-
 
552
}
-
 
553
 
-
 
554
function denyReturn(orderId, ticketId) {
-
 
555
	$.ajax({
-
 
556
		type : "GET",
-
 
557
		url : "/crm/tickets!denyReturn?orderId=" + orderId + "&id=" + ticketId,
-
 
558
		success : function(response) {
-
 
559
            $('#bottom-infopane').html(response);
-
 
560
        }
-
 
561
	});
-
 
562
}
-
 
563
 
-
 
564
 
-
 
565
function authorizeReturn(orderId, ticketId) {
-
 
566
	$.ajax({
-
 
567
		type : "GET",
-
 
568
		url : "/crm/tickets!authorizeReturn?orderId=" + orderId + "&id=" + ticketId,
-
 
569
		success : function(response) {
-
 
570
            $('#bottom-infopane').html(response);
-
 
571
        }
-
 
572
	});
531
}
573
}
532
574