crm update
This commit is contained in:
@@ -76,8 +76,9 @@ $(function(){
|
||||
//End Print Click
|
||||
|
||||
$('.assign').click(function(e){
|
||||
var booking_id = $(this).val()
|
||||
var type = $(this).attr("data-type")
|
||||
var booking_id = $(this).val();
|
||||
var type = $(this).attr("data-type");
|
||||
alert(booking_id);
|
||||
|
||||
update_booking(booking_id,type)
|
||||
});
|
||||
@@ -190,7 +191,7 @@ function update_booking(booking_id,type) {
|
||||
//Start Ajax
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "update_booking/" ,
|
||||
url: "crm/update_booking/" ,
|
||||
data: {booking_id:booking_id,type:type},
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
|
||||
Reference in New Issue
Block a user