Aircraft level Hub definitions (#1363)
* Aircraft level Hub definitions * Add ability to define a hub for an aircraft apart from its subfleet. * Update csv import/export capability for hub_id field * Fix importertest source csv * Fix source csv for updating too * Update aircraft_empty_cols.csv Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<th>Name</th>
|
||||
<th>Airline</th>
|
||||
<th>Type</th>
|
||||
<th>Hub</th>
|
||||
<th>Aircraft</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
@@ -17,6 +18,7 @@
|
||||
</td>
|
||||
<td>{{ optional($subfleet->airline)->name }}</td>
|
||||
<td>{{ $subfleet->type }}</td>
|
||||
<td>{{ $subfleet->hub_id }}</td>
|
||||
<td>{{ $subfleet->aircraft->count() }}</td>
|
||||
<td class="text-right">
|
||||
{{ Form::open(['route' => ['admin.subfleets.destroy', $subfleet->id], 'method' => 'delete']) }}
|
||||
|
||||
Reference in New Issue
Block a user