YAML table exporter

This commit is contained in:
Nabeel Shahzad
2018-03-01 21:59:58 -06:00
parent a3305249a6
commit 92a18448eb
3 changed files with 164 additions and 6 deletions

View File

@@ -1,10 +1,9 @@
<table class="table table-hover table-responsive" id="aircrafts-table">
<thead>
<th>Name</th>
<th style="text-align: center;">Registration</th>
<th>Subfleet</th>
<th style="text-align: center;">Location</th>
{{--<th style="text-align: center;">ICAO</th>--}}
<th style="text-align: center;">Registration</th>
<th style="text-align: center;">Hours</th>
<th style="text-align: center;">Active</th>
<th style="text-align: right;"></th>
@@ -13,6 +12,7 @@
@foreach($aircraft as $ac)
<tr>
<td><a href="{!! route('admin.aircraft.edit', [$ac->id]) !!}">{!! $ac->name !!}</a></td>
<td style="text-align: center;">{!! $ac->registration !!}</td>
<td>
@if($ac->subfleet_id && $ac->subfleet)
<a href="{!! route('admin.subfleets.edit', [$ac->subfleet_id]) !!}">
@@ -22,10 +22,7 @@
-
@endif
</td>
<td style="text-align: center;">{!! $ac->airport_id !!}</td>
<td style="text-align: center;">{!! $ac->registration !!}</td>
<td style="text-align: center;">
{!! Utils::minutesToTimeString($ac->flight_hours) !!}
</td>