@extends('backend.layouts.app') @section('title', 'Messages') @push('styles') @endpush @section('content')

MESSAGES - CONTACT

@foreach( $messages as $key => $message ) @if ($message->type == "CONTACT") @endif @endforeach
SL. Name Email Phone Company Country Date Action
{{$key+1}} {{$message->name}} {{$message->email}} {{$message->phone}} {{$message->company}} {{$message->country}} {{$message->created_at}} @if($message->status == 0) local_library @else done @endif {{-- replay --}}

MESSAGES - ABOUT US

@foreach( $messages as $key => $message ) @if ($message->type == "ABOUT") @endif @endforeach
SL. Name Email Phone Sujet Date Action
{{$key+1}} {{$message->name}} {{$message->email}} {{$message->phone}} {{$message->sujet}} {{$message->created_at}} @if($message->status == 0) local_library @else done @endif {{-- replay --}}

MESSAGES - LOGISTICS

@foreach( $messages as $key => $message ) @if ($message->type == "LOGISTICS") @endif @endforeach
SL. Name Email Phone What you want to know ? Company Date Action
{{$key+1}} {{$message->name}} {{$message->email}} {{$message->phone}} {{$message->what}} {{$message->company}} {{$message->created_at}} @if($message->status == 0) local_library @else done @endif {{-- replay --}}
@endsection @push('scripts') @endpush