@php $customernotify = auth()->guard('customer')->user()->unreadNotifications()->where('data->status', 'mail')->get(); @endphp
@if($customernotify->isNotEmpty())
@endif
@if(setting('ANNOUNCEMENT_USER') == 'only_login_user' || setting('ANNOUNCEMENT_USER') == 'all_users')
@foreach ($announcement as $anct)
@if ($anct->status == 1)
{{$anct->title}}
{!!$anct->notice!!}
@if ($anct->buttonlable != null && $anct->buttonurl != null)
@endif
@endif
@endforeach
@foreach ($announcements as $ancts)
@php
$announceDay = explode(',', $ancts->announcementday);
$now = today()->format('D');
@endphp
@foreach ($announceDay as $announceDays)
@if ($ancts->status == 1 && $announceDays == $now)
{{$ancts->title}}
{!!$ancts->notice!!}
@if ($ancts->buttonlable != null && $ancts->buttonurl != null)
@endif
@endif
@endforeach
@endforeach
@endif
@if($quotations->count() > 0)
@endif
@if($invoices->count() > 0)
@endif
@if(setting('enableRefund') == 'on')
@if($refunds->count() > 0)
{{lang('Refunds',
'menu')}}
{{ $refunds->count() }}
@endif
@endif
{{ lang('Loading...') }}
@include('user.usertableinclude')