for origami view file

This commit is contained in:
Aung Myo
2017-06-08 14:57:01 +06:30
4 changed files with 20 additions and 21 deletions

View File

@@ -42,14 +42,27 @@ $(function(){
$(".summary-items tbody tr").remove();
$("#cancel").removeAttr("disabled");
$("#assign").removeAttr("disabled");
$("#crm_print").removeAttr("disabled");
//$("#crm_print").val($(this).attr('data'));
$("#crm_print").removeAttr("disabled");
var url = $(this).attr('data-ref');
show_details(url);
});
$('.crm_print').click(function() {
var id = $(this).val();
alert(id)
$.ajax({
type: "GET",
url: "crm/print/"+id,
data: {},
dataType: "json",
success: function(data) {
}
});
});
$('.assign').click(function(e){
var booking_id = $(this).val()