Fix PIREP field error on file
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<table class="table table-responsive table-hover" id="flight-fields-table">
|
||||
@if(count($pirep->fields))
|
||||
<thead>
|
||||
<th></th>
|
||||
<th>Value</th>
|
||||
<th>Source</th>
|
||||
</thead>
|
||||
@endif
|
||||
<tbody>
|
||||
@foreach($pirep->fields as $field)
|
||||
<tr>
|
||||
|
||||
@@ -270,7 +270,7 @@ flight reports that have been filed. You've been warned!
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
|
||||
@if(isset($pirep) && $pirep->fields)
|
||||
<div class="form-container">
|
||||
<h6><i class="fab fa-wpforms"></i>
|
||||
{{ trans_choice('common.field', 2) }}
|
||||
@@ -282,7 +282,7 @@ flight reports that have been filed. You've been warned!
|
||||
@each('pireps.custom_fields', $pirep->fields, 'field')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
<div id="fares_container">
|
||||
@include('pireps.fares')
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user