{!! Form::open([
'method'=>'DELETE',
'url' => ['admin/oil', $oil->id],
'style' => 'display:inline'
]) !!}
{!! Form::button('
Delete', array(
'type' => 'submit',
'class' => 'btn red btn-xs',
'title' => 'Delete Oil',
'onclick'=>'return confirm("Confirm delete?")'
))!!}
{!! Form::close() !!}
ID | {{ $oil->id }} |
Oil | {{ $oil->oil }} |
Type | {{ $oil->type }} |
Make | {{ $oil->make }} |
Remark | {{ $oil->remark }} |
Status | {!! $oil->status == 0 ? 'Inactive' : 'Active' !!} |