Mobile responsive for Transaction View
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<a class="nav-link" data-toggle="tab" href="#sale" role="tab"><%= t :sale_details %></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- Nav tabs - End -->
|
||||
<div class="tab-content" style="min-height:670px; max-height:670px;">
|
||||
<div class="tab-pane active" id="booking" role="tabpanel">
|
||||
@@ -78,7 +78,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tab-pane" id="order" role="tabpanel">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
@@ -167,7 +167,7 @@
|
||||
if(order_id!=undefined && order_id!=null && order_id!=""){
|
||||
if($('#request_bill').is(":visible")) {
|
||||
$('#request_bill').prop("disabled",true);
|
||||
}
|
||||
}
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: ajax_url,
|
||||
@@ -176,11 +176,11 @@
|
||||
$('#request_bill').prop("disabled",false);
|
||||
swal("Information!", result.error_message);
|
||||
}
|
||||
else {
|
||||
else {
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}else{
|
||||
swal("Opps","There is no orders!","warning");
|
||||
}
|
||||
@@ -198,10 +198,10 @@
|
||||
$('#change_booking_status').prop("disabled",false);
|
||||
swal("Opps",result.error_message,"warning");
|
||||
}
|
||||
else {
|
||||
else {
|
||||
swal({
|
||||
title: "Information",
|
||||
text: result.message,
|
||||
title: "Information",
|
||||
text: result.message,
|
||||
type: "success",
|
||||
html: true,
|
||||
closeOnConfirm: false,
|
||||
@@ -213,8 +213,6 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user