2017-06-09 09:37:51 +08:00
|
|
|
@extends('admin.app')
|
|
|
|
|
|
|
|
@section('content')
|
2017-06-13 11:48:32 +08:00
|
|
|
<section class="content-header"><h1>{!! $aircraft->name !!}</section>
|
|
|
|
<section class="content">
|
|
|
|
<div class="row">
|
|
|
|
@include('admin.aircraft.show_fields')
|
|
|
|
</div>
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<hr/>
|
|
|
|
<h3 class="box-header">fares</h3>
|
|
|
|
<div class="box-body">
|
|
|
|
@include('admin.aircraft.fares')
|
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-13 11:48:32 +08:00
|
|
|
</section>
|
|
|
|
@endsection
|
|
|
|
@section('scripts')
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
2017-06-14 03:01:06 +08:00
|
|
|
$(".ac-fare-dropdown").select2();
|
2017-06-13 11:48:32 +08:00
|
|
|
$(document).on('submit', 'form.rm_fare', function(event) {
|
|
|
|
event.preventDefault();
|
|
|
|
$.pjax.submit(event, '#aircraft_fares_wrapper', {push: false});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2017-06-09 09:37:51 +08:00
|
|
|
@endsection
|