@extends('Layouts.dashboardLayout') @section('content')
@include('Includes.messages')
All Messages

@php $count = 0 @endphp @foreach($messages as $message) @php $count = $count +1 @endphp @endforeach
S/N Message recipient Date Sent Action
{{$count}} {!! $message->message !!} {{($message->recipient == "All") ? $message->recipient : $message->organization->organization}} Staffs {{$message->date_sent}} View
@endsection @section('scripts') @stop