@extends('admin.layout') @section('content')

{{ trans('labels.Devices') }} {{ trans('labels.ListingDevices') }}...

{{ trans('labels.ListingDevices') }}

@if (count($errors) > 0) @if($errors->any()) @endif @endif
{!! Form::open(array( 'method'=>'get', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!}
{!! Form::close() !!}
@if(count($result['devices'])>0) @foreach ($result['devices'] as $key=>$device) @endforeach @else @endif
{{ trans('labels.ID') }} {{ trans('labels.DeviceDetail') }} {{ trans('labels.DeviceOS') }} {{ trans('labels.UserInfo') }} {{ trans('labels.Status') }} {{ trans('labels.Action') }}
{{ $device->id }} Device Type: @if($device->device_type == '1') {{ trans('labels.IOS') }} @elseif($device->device_type == '2') {{ trans('labels.Android') }} @elseif($device->device_type == '3') {{ trans('labels.Other') }} @endif
{{ trans('labels.Manufacturer') }}: {{ $device->manufacturer }}
{{ trans('labels.DeviceModel') }}: {{ $device->device_model }}
{{ trans('labels.RegisterDate') }}: {{ date('d/m/Y', $device->register_date) }}
{{ $device->device_os }} {{ $device->customers_firstname }} {{ $device->customers_lastname }} @if($device->status==0) {{ trans('labels.InActive') }} @else id}}&active=no" class="method-status"> {{ trans('labels.InActive') }} @endif    /    @if($device->status==1) {{ trans('labels.Active') }} @else id}}&active=yes" class="method-status"> {{ trans('labels.Active') }} @endif {{ trans('labels.Send') }}
{{ trans('labels.NoRecordFound') }}
{{$result['devices']->links()}}
@endsection