Cleanup of some config files that aren't needed anymore
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
return [
|
|
||||||
|
|
||||||
'status' => [
|
|
||||||
'INACTIVE' => 0,
|
|
||||||
'DISABLED' => 0,
|
|
||||||
'ACTIVE' => 1,
|
|
||||||
'ENABLED' => 1,
|
|
||||||
],
|
|
||||||
|
|
||||||
'fuel_types' => [
|
|
||||||
'100LL' => 0,
|
|
||||||
'JETA' => 1,
|
|
||||||
'MOGAS' => 2,
|
|
||||||
],
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
@@ -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' => '',
|
|
||||||
|
|
||||||
];
|
|
||||||
@@ -17,22 +17,6 @@
|
|||||||
<p>{!! $subfleet->type !!}</p>
|
<p>{!! $subfleet->type !!}</p>
|
||||||
</div>
|
</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 -->
|
<!-- Created At Field -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
{!! Form::label('created_at', 'Created At:') !!}
|
{!! Form::label('created_at', 'Created At:') !!}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
<th>Airline</th>
|
<th>Airline</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
{{--<th>Fuel Type</th>--}}
|
|
||||||
<th></th>
|
<th></th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -13,17 +12,7 @@
|
|||||||
<td>{!! $subfleet->airline->name !!}</td>
|
<td>{!! $subfleet->airline->name !!}</td>
|
||||||
<td>{!! $subfleet->name !!}</td>
|
<td>{!! $subfleet->name !!}</td>
|
||||||
<td>{!! $subfleet->type !!}</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">
|
<td class="text-right">
|
||||||
{!! Form::open(['route' => ['admin.subfleets.destroy', $subfleet->id], 'method' => 'delete']) !!}
|
{!! Form::open(['route' => ['admin.subfleets.destroy', $subfleet->id], 'method' => 'delete']) !!}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user