@php $user_session = session('restaurant'); @endphp @extends('layouts.customer') @section('content')

{{ strtoupper( $type ) }} Devices

@if ($message = Session::get('success'))

{{ $message }}

@endif
@if($data) @php $i = 0; @endphp
@foreach($data as $value) @endforeach
# Device ID Name Description Device Os Created At Status Action
#{{ $value->id }} {{$value->device_id}} {{$value->name}} {{$value->description}} {{$value->device_os}} {{ date('F j, Y', strtotime($value->created_at)); }}
{{ date('H:i:s A', strtotime($value->created_at)); }}
{{ $value->is_active == 1 ? 'Active' : 'Inactive'}}
{{ $data->links('vendor.pagination.dore') }} @else

No records found!

@endif
@endsection