@extends("layouts.app") @section('title', 'Dashboard') @push('css') @include('panel.inc.datatable.css') @endpush @section('content')
{{ $isClockRunning ? 'Clock started at: '.$attendance->clock_in->format('M d, Y - h:i A') : 'You are currently clocked out.' }}
@include('_announcements', ['announcements' => $announcements])
@if(\Gate::allows('campaigns'))
{!! $campaignDataTableWithinPrevious5Days->table() !!}
@endif @if(\Gate::allows('campaigns'))
{!! $campaignDataTable->table() !!}
@endif {{--
@forelse($commands as $command)
{{ $command->title }}
@if(isUser(\App\User::TeamLead))
{{ $command->tech_id ? $command->tech->name : '-' }}
@endif
{{ $command->due_date ? $command->due_date->toDateString() : '-' }}
{{ $command->end_date ? $command->end_date->toDateString() : '-' }}
{{ $command->note ?? '-' }}
@if(\Gate::allows('campaigns-commands-mark-complete')) Mark As Complete @endif
@empty

No Commands Pending

@endforelse
--}} @endsection @push('script') @include('panel.inc.datatable.js') @if(\Gate::allows('campaigns')) {!! $campaignDataTableWithinPrevious5Days->scripts() !!} {!! $campaignDataTable->scripts() !!} @endif @endpush