@if($vehicleType->active==1)
Back to Petroleum Vehicle Type List
@else
Back to Petroleum Vehicle Type List
@endif
Vehicle Type Name: | {{$vehicleType->name}} |
@if($vehicleType->active==0)
{!! Form::open(['action' => ['VehicleTypesController@activate', $vehicleType->id], 'method'=>'GET']) !!}
{{Form::hidden('_method', 'ACTIVATE')}}
{{Form::button(' Activate ', array('class'=>'btn btn-success confirmActivate', 'type'=>'submit')) }}
{!! Form::close() !!}
|
@else
|
{!! Form::open(['action' => ['VehicleTypesController@deactivate', $vehicleType->id], 'method'=>'GET']) !!}
{{Form::hidden('_method', 'DEACTIVATE')}}
{{Form::button(' Deactivate ', array('class'=>'btn btn-danger confirmDeactivate', 'type'=>'submit')) }}
{!! Form::close() !!}
|
@endif