@if(session()->get('title') == "success")
Success
{{ session()->get('message') }}
@elseif (session()->get('title') == "error")
Error
{{ session()->get('message') }}
@elseif($errors->any())
Error
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@else
@endif
{{__('messages.name')}} |
{{__('messages.REFERENCE')}} |
{{__('messages.TYPE')}} |
{{__('messages.code')}} |
{{__('messages.Branch')}} |
{{__('messages.STATUS')}} |
{{__('messages.active')}} |
{{__('messages.ACTION')}} |
@if($data->isEmpty())
There is not any device exists yet! |
@endif
@foreach($data as $device)
{{$device->dname}} |
{{$device->reference}} |
{{$device->dtname}} |
{{$device->code}} |
{{$device->bname}} |
@if ($device->online =='0')
Not Used |
@else
Used |
@endif
@if ($device->active =='1')
Active |
@else
Inactive |
@endif
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
|
@endforeach