@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'))

Projects - Due Reminders

@foreach($reminders as $reminder) @endforeach
Project Title Reminder Reminder Due Date
{{ $reminder->campaign->title }} {{ $reminder->title }} {{ $reminder->due_date->toDateString() }} @if(\Gate::allows('campaigns-reminders')) @endif

Projects - Payments for {{ now()->format('F Y') }}

@if(\Gate::allows('campaigns-payments')) @endif @foreach($campaigns as $campaign) @if(\Gate::allows('campaigns-payments')) @endif @endforeach
Project Title Customer Payment Date Status
{{ $campaign->title }} {{ $campaign->customer->name }} {{ now()->monthName . ' '.$campaign->payment_date. ', '. now()->year }} {!! $campaign->getPaymentStatus() !!}
@endif @endsection @push('script') @include('panel.inc.datatable.js') @endpush