specify fares, js to dynamically change fare form; get applicable fares for the flight/pirep #125
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<table class="table">
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<td>Status</td>
|
||||
<td>
|
||||
@@ -23,6 +23,7 @@
|
||||
@else
|
||||
<div class="badge badge-info">
|
||||
@endif
|
||||
|
||||
{!! PirepState::label($pirep->state) !!}</div>
|
||||
|
||||
<span class="description" style="padding-left: 20px;">
|
||||
@@ -71,11 +72,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{--
|
||||
Show the fields that have been entered
|
||||
--}}
|
||||
|
||||
@if(count($pirep->fields) > 0)
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 class="description">fields</h3>
|
||||
<table class="table">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
@@ -93,6 +98,32 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{--
|
||||
Show the fares that have been entered
|
||||
--}}
|
||||
|
||||
@if(count($pirep->fares) > 0)
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 class="description">fares</h3>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<th>Class</th>
|
||||
<th>Count</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($pirep->fares as $fare)
|
||||
<tr>
|
||||
<td>{!! $fare->fare->name !!} ({!! $fare->fare->code !!})</td>
|
||||
<td>{!! $fare->count !!}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@include("layouts.${SKIN_NAME}.pireps.map")
|
||||
|
||||
@if(count($pirep->acars_logs) > 0)
|
||||
|
||||
Reference in New Issue
Block a user