update query data for origami
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<% @i = 0 %>
|
||||
<% @booking.each do |booking| %>
|
||||
<% if booking.booking_status == "new" %>
|
||||
<% if booking.booking_status == "assign" %>
|
||||
<div class="card">
|
||||
<div class="card-block booking_click" data-ref="<%= api_booking_path booking.id%>" id="card-block booking_block" style="width:100%;">
|
||||
<h4 class="card-title">
|
||||
@@ -40,7 +40,7 @@ $(function(){
|
||||
$(".summary-items tbody tr").remove();
|
||||
$("#cancel").removeAttr("disabled");
|
||||
$("#assign").removeAttr("disabled");
|
||||
var url = $(this).attr('data-ref');
|
||||
var url = $(this).attr('data-ref');alert(url);
|
||||
show_details(url);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user