@if (($login_user->hasPermission('edit terminal')) || ($login_user->hasRole('programmer')))
Edit
@endif
@if (($login_user->hasPermission('delete terminal')) || ($login_user->hasRole('programmer')))
Delete
@endif
@if ($message = Session::get('fail'))
Whoops! There were some problems.
{{ $message }}
@endif
{!! Form::label('lblMac', 'Mac Address:'); !!}
{{$terminal->mac}}
{!! Form::label('lblDesc', 'Description:'); !!}
{{$terminal->desc}}
{!! Form::label('lblCreatedBy', 'Created By:'); !!}
{{(isset($terminal->created_by_name)) ? $terminal->created_by_name->name : '—'}}
{!! Form::label('lblCreatedAt', 'Created At:'); !!}
{{date('Y-m-d - H:i:s', strtotime($terminal->created_at))}}
{!! Form::label('lblUpdatedBy', 'Updated By:'); !!}
{{(isset($terminal->updated_by_name)) ? $terminal->updated_by_name->name : '—'}}
{!! Form::label('lblUpdatedAt', 'Updated At:'); !!}
{{date('Y-m-d - H:i:s', strtotime($terminal->updated_at))}}