Cleanup of some config files that aren't needed anymore

This commit is contained in:
Nabeel Shahzad
2018-01-28 18:20:18 -06:00
parent e57f0cb234
commit 5cf79454b0
4 changed files with 1 additions and 65 deletions

View File

@@ -1,19 +0,0 @@
<?php
return [
'status' => [
'INACTIVE' => 0,
'DISABLED' => 0,
'ACTIVE' => 1,
'ENABLED' => 1,
],
'fuel_types' => [
'100LL' => 0,
'JETA' => 1,
'MOGAS' => 2,
],
];

View File

@@ -1,18 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Serializer
|--------------------------------------------------------------------------
|
| The default serializer to be used when performing a transformation. It
| may be left empty to use Fractal's default one. This can either be a
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
|
*/
'default_serializer' => '',
];

View File

@@ -17,22 +17,6 @@
<p>{!! $subfleet->type !!}</p>
</div>
{{--<!-- Fuel Type Field -->
<div class="form-group">
{!! Form::label('fuel_type', 'Fuel Type:') !!}
<p>
@if($subfleet->fuel_type === config('enums.fuel_types.100LL'))
100LL
@elseif($subfleet->fuel_type === config('enums.fuel_types.JETA'))
JETA
@elseif($subfleet->fuel_type === config('enums.fuel_types.MOGAS'))
MOGAS
@else
-
@endif
</p>
</div>--}}
<!-- Created At Field -->
<div class="form-group">
{!! Form::label('created_at', 'Created At:') !!}

View File

@@ -4,7 +4,6 @@
<th>Airline</th>
<th>Name</th>
<th>Type</th>
{{--<th>Fuel Type</th>--}}
<th></th>
</thead>
<tbody>
@@ -13,17 +12,7 @@
<td>{!! $subfleet->airline->name !!}</td>
<td>{!! $subfleet->name !!}</td>
<td>{!! $subfleet->type !!}</td>
{{--<td>
@if($subfleet->fuel_type === config('enums.fuel_types.100LL'))
100LL
@elseif($subfleet->fuel_type === config('enums.fuel_types.JETA'))
JETA
@elseif($subfleet->fuel_type === config('enums.fuel_types.MOGAS'))
MOGAS
@else
-
@endif
</td>--}}
<td class="text-right">
{!! Form::open(['route' => ['admin.subfleets.destroy', $subfleet->id], 'method' => 'delete']) !!}