Add "Notes" to Airports (#1467)

* Notes for Airports

Adds capability of having notes/remarks for airports, includes

* New database field
* Airport Model change
* CSV Import/Export capability for notes
* Admin Airports list page change
* Admin Airports edit page change
* Default Template Airport show page change

* Update Airport Tests

* Add the new field to source csv
* Check if the import works

* Update AirportFactory.php

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
B.Fatih KOZ
2022-08-15 18:23:39 +03:00
committed by GitHub
parent ccebc69be2
commit ef38d39ec4
10 changed files with 59 additions and 23 deletions

View File

@@ -4,7 +4,8 @@
<th>ICAO</th>
<th>Name</th>
<th>Location</th>
<th>Hub</th>
<th style="text-align: center;">Hub</th>
<th style="text-align: center;">Notes</th>
<th style="text-align: center;">GH Cost</th>
<th style="text-align: center;">JetA</th>
<th style="text-align: center;">100LL</th>
@@ -22,6 +23,11 @@
<span class="label label-success">Hub</span>
@endif
</td>
<td style="text-align: center;">
@if(filled($airport->notes))
<span class="label label-info" title="{{ $airport->notes }}">Notes</span>
@endif
</td>
<td style="text-align: center;">
{{ $airport->ground_handling_cost }}
</td>