@php $count = $this->user->alert->count(); $alerts = $this->user->alert->get(); @endphp
@if($alerts->exists()) @if($count === 1) @php $box = 'note-warning'; if($alerts->icon === 'fa-link' OR $alerts->icon === 'fa-user' OR $alerts->icon === 'fa-check') $box = 'note-success'; if($alerts->icon === 'fa-lightbulb') $box = 'note-warning'; if($alerts->icon === 'fa-exclamation-triangle') $box = 'note-danger'; if($alerts->icon === 'fa-info') $box = 'note-info'; @endphp @if($alerts->type !== 'custom')

Member Alert!

{!!$alerts->text!!}
@endif @else @endif @endif @if($renewal && !setting('subscription_renewal_alert_suppress'))

Subscription Expired!

Renew
@endif @if(auth()->user()->hasAnyRole(setting('mp_customer_usergroups') OR auth()->user()->is_admin)) @php $h = new Mp_hire(); $hires = $h->where('customer_id', $this->user->id)->where('customer_status','completed')->where('provider_status','completed')->where('reviewed',0)->get(); @endphp @foreach($hires as $hire) @endforeach @endif