@extends('layouts.admin') @section('content')
@include('include.admin-sidebar')
List of Messages
{{ Form::open(['url' => 'admin/messages', 'method'=>'post']) }}
View All
{{Form::close()}} @if(sizeof($notifications))

@foreach($notifications as $notification)
Warning: Undefined variable $notification in /home/albumbz/public_html/bid2rent/resources/views/admin/messages-list.blade.php on line 87

Warning: Trying to access array offset on value of type null in /home/albumbz/public_html/bid2rent/resources/views/admin/messages-list.blade.php on line 87
@if($notification['type_id'] == env('MESSAGE_TYPE_BID')) @elseif($notification['type_id'] == env('MESSAGE_TYPE_PROPERTY')) @elseif($notification['type_id'] == env('MESSAGE_TYPE_CONTRACT')) @else @endif @endforeach
@sortablelink('user.firstname','User') Message Type Date/Time
{{ $notification['user']['firstname'].' '.$notification['user']['lastname'] }} {{ $data['message'] }}BidPropertyTenancy ContractUnknown{{ date("j F, Y g:i:A", strtotime($notification['created_at'])) }}
{{ $notifications->appends(\Request::except('page'))->render() }}
Records {{ $notifications->firstItem() }} - {{ $notifications->lastItem() }} of {{ $notifications->total() }}
@else {{ 'No records to display' }} @endif
@include('include.admin-footer') @endsection