phpvms/resources/views/layouts/default/pireps/fares.blade.php

20 lines
674 B
PHP
Raw Normal View History

@if($aircraft)
<div class="form-container">
<h6><i class="fas fa-ellipsis-h"></i>
&nbsp;{{ trans_choice('pireps.fare', 2) }}
</h6>
<div class="form-container-body">
@foreach($aircraft->subfleet->fares as $fare)
<div class="row">
<div class="col">
{{Form::label('fare_'.$fare->id, $fare->name.' ('. \App\Models\Enums\FareType::label($fare->type).', code '.$fare->code.')')}}
<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>
@endforeach
2018-04-07 06:10:45 +08:00
</div>
</div>
@endif