2018-02-25 05:38:25 +08:00
|
|
|
@if($aircraft)
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="form-container">
|
|
|
|
<h6><i class="fas fa-ellipsis-h"></i>
|
|
|
|
{{ trans_choice('pireps.fare', 2) }}
|
|
|
|
</h6>
|
|
|
|
<div class="form-container-body">
|
|
|
|
@foreach($aircraft->subfleet->fares as $fare)
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2020-03-07 04:10:03 +08:00
|
|
|
{{Form::label('fare_'.$fare->id, $fare->name.' ('. \App\Models\Enums\FareType::label($fare->type).', code '.$fare->code.')')}}
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="input-group form-group">
|
|
|
|
{{ Form::number('fare_'.$fare->id, null, ['class' => 'form-control', 'min' => 0]) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-07 06:10:45 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endforeach
|
2018-04-07 06:10:45 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2018-02-25 05:38:25 +08:00
|
|
|
@endif
|