@extends('adminlte::page') @section('title', __('clinic-staff.index.title')) @section('content_header')
@stop @section('content')
@if (\Auth::guard('clinic')->user()->isEditableRole())
@endif
@php $staffCount = 0; @endphp @if ($clinicStaffs->count() > 0) @foreach ($clinicStaffs as $clinicStaff) @if ($staffCount % 3 == 0)
@endif @include('clinic.clinicStaff.parts.card', ['clinicStaff' => $clinicStaff, 'roleList' => $roleList]) @php $staffCount++; $staffCount = $staffCount >= 3 ? 0 : $staffCount; @endphp @if ($staffCount % 3 == 0)
@endif @endforeach @else {{ __('clinic-staff.index.no_data') }} @endif
@stop @section('css') @stop @section('js') @stop