@extends('layouts.master') @section('title', 'Workers | Proxima - Medical Management app') @section('title-topbar', 'Workers') @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @if (Session::has('error_delete'))

We can't do it!

{{ Session::get('error_delete') }}

@endif @endsection @section('content')
Dashboard | Users
All workers
@foreach ($users as $iteam) @endforeach
NAME BRANCH ROLE ACTIVATION HANDLE
{{ $iteam->first_name . ' ' . $iteam->second_name }}

{{ $iteam->started_work }}

@if ($iteam->branch_id == 0) ALL @elseif(!count($iteam->branches)) {{ $iteam->branch['name'] }} @else @foreach ($iteam->branches as $branch) {{ $branch['name'].','.' ' }} @endforeach @endif @foreach ($iteam->getRoleNames() as $roles) {{ $roles }} @endforeach @if ($iteam->deactivate == 0) Actived @else deactivate @endif Edit {{ __('basic.attendance') }}
@endsection @section('js') @endsection