allow setting of IATA code for airline

This commit is contained in:
Nabeel Shahzad
2017-07-22 23:03:39 -05:00
parent e9252b4e1c
commit 9a08586564
6 changed files with 18 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<table class="table table-responsive" id="airlines-table">
<thead>
<th>Code</th>
<th>IATA</th>
<th>Name</th>
<th style="text-align: center;">Active</th>
<th colspan="3" style="text-align: right;">Action</th>
@@ -9,6 +10,7 @@
@foreach($airlines as $al)
<tr>
<td>{!! $al->code !!}</td>
<td>{!! $al->iata !!}</td>
<td>{!! $al->name !!}</td>
<td style="text-align: center;">
<i class="fa fa-{{$al->active == 1?"check":""}}-square-o" aria-hidden="true"