@extends('layouts.app') @section('stitle', __('messages.createDevice')) @section('title', __('messages.Devices')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @elseif($errors->any()) @else @endif
@include('devices.device_menu')
@if($data->isEmpty()) @endif @foreach($data as $device) @if ($device->online =='0') @else @endif @if ($device->active =='1') @else @endif @endforeach
{{__('messages.name')}} {{__('messages.REFERENCE')}} {{__('messages.TYPE')}} {{__('messages.code')}} {{__('messages.Branch')}} {{__('messages.STATUS')}} {{__('messages.active')}} {{__('messages.ACTION')}}
There is not any device exists yet!
{{$device->dname}} {{$device->reference}} {{$device->dtname}} {{$device->code}} {{$device->bname}}Not UsedUsedActiveInactive {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@endsection @push('my_scripts') @endpush