#11 assign/remove fares from aircraft

This commit is contained in:
Nabeel Shahzad
2017-06-13 14:01:06 -05:00
parent 8c87c697ac
commit 4b137460e3
4 changed files with 53 additions and 11 deletions

View File

@@ -56,5 +56,25 @@
</tbody>
</table>
<hr />
{!! $avail_fares !!}
<div class="row">
<div class="col-xs-12" style="text-align: right;">
<div class="input-group input-group-lg">
{!! Form::open(['url' => '/admin/aircraft/'.$aircraft->id.'/fares',
'method' => 'post',
'class' => 'rm_fare form-inline'
])
!!}
{!! Form::select('fare_id', $avail_fares, null, [
'placeholder' => 'Select Fare',
'class' => 'ac-fare-dropdown form-control input-lg',
])
!!}
{!! Form::button('<i class="glyphicon glyphicon-plus"></i> add',
['type' => 'submit',
'class' => 'btn btn-success btn-s']) !!}
{!! Form::close() !!}
</div>
</div>
</div>
</div>