0d1f38cf85
* Refactor all JS API calls #360 * Remove unused imports * Lint JS * Fix doubled api key * Formatting * Added extra logging to distance lookup * Remove the .editorconfig file in distrib * shell check fixes * Remove the .editorconfig file in distrib
31 lines
855 B
PHP
31 lines
855 B
PHP
@if($aircraft)
|
|
<table class="table table-hover table-responsive">
|
|
<thead>
|
|
<th>Fare</th>
|
|
<th>Count</th>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($aircraft->subfleet->fares as $fare)
|
|
<tr>
|
|
<td>{{ $fare->name }} ({{ $fare->code }})</td>
|
|
<td>
|
|
<div class="form-group">
|
|
@if(isset($pirep) && $pirep->read_only)
|
|
<p>{{ $pirep->{'fare_'.$fare->id} }}</p>
|
|
{{ Form::hidden('fare_'.$fare->id) }}
|
|
@else
|
|
{{ Form::number('fare_'.$fare->id, null, [
|
|
'class' => 'form-control',
|
|
'min' => 0,
|
|
'step' => '0.01',
|
|
]) }}
|
|
@endif
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
@endif
|