@extends('layouts.app') @section('stitle', __('messages.settingBranch')) @section('title', __('messages.Branches')) @section('content')
@include('branch.branch_menu')

@yield('stitle')

{{ $branch->name }}

{{ $branch->reference }}

{{ $branch->opening }}

{{ $branch->closing }}

{{ $branch->inv_end_of_day_time }}

{{ $branch->phone }}

@foreach($branch->tags as $brTag) {{$brTag->name}} @endforeach
{{-- Branch Section Starts --}}
@foreach($brSections as $brSection) @if ($brSection->active =='1') @else @endif @endforeach
{{__('messages.name')}} {{__('messages.no_of_tables')}} {{__('messages.created_at')}} {{__('messages.active')}} {{__('messages.ACTION')}}
{{ucfirst($brSection->name)}} {{$brSection->no_of_tables}} {{$brSection->created_at}}ActiveInactive
@foreach($branch->users as $user) @endforeach
{{__('messages.name')}} {{__('messages.EMAIL')}} {{__('messages.REFERENCE')}}
{{$user->name}} {{$user->email}} {{$user->role->name}}
{{-- --}}
@foreach($branch->devices as $device) @endforeach
{{__('messages.TYPE')}} {{__('messages.name')}} {{__('messages.REFERENCE')}}
{{$device->deviceType->name}} {{$device->name}} {{$device->reference}}
@endsection @push('my_scripts') @endpush