@php $contar = App\Notificacao::where( 'status',1)->count(); @endphp @if($contar >=1)
{{$contar}}
@endif
Notificações
@php $notificacoes = App\Notificacao::take(10)->get(); @endphp @foreach($notificacoes as $notificacao) @php $usu = App\UserAccount::where('id' ,$notificacao->id_usu )->first(); @endphp
{{$notificacao->title}}
{{ date('d/m/Y',strtotime($notificacao->created_at)) }}
@endforeach
Ver todas
{{ Auth::user()->name}}
Bem vindo!
Contas
Sair
{{ csrf_field() }}
Menu
Home
Portais
Listar Portais
Templates
Usuarios admin
Sair
@yield('content')
@yield('post-script')