@extends('backend.layouts.app')
@section('title', 'Messages')
@push('styles')
@endpush
@section('content')
SL. |
Name |
Email |
Phone |
Date |
Action |
@foreach( $messages as $key => $message )
@if ($message->type == "CONTACT")
{{$key+1}} |
{{$message->name}} |
{{$message->email}} |
{{$message->phone}} |
{{$message->created_at}} |
@if($message->status == 0)
local_library
@else
done
@endif
{{--
replay
--}}
|
@endif
@endforeach
SL. |
Name |
Email |
Phone |
Sujet |
Date |
Action |
@foreach( $messages as $key => $message )
@if ($message->type == "ABOUT")
{{$key+1}} |
{{$message->name}} |
{{$message->email}} |
{{$message->phone}} |
{{$message->sujet}} |
{{$message->created_at}} |
@if($message->status == 0)
local_library
@else
done
@endif
{{--
replay
--}}
|
@endif
@endforeach
SL. |
Name |
Email |
Phone |
What you want to know ? |
Company |
Date |
Action |
@foreach( $messages as $key => $message )
@if ($message->type == "LOGISTICS")
{{$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
--}}
|
@endif
@endforeach
@endsection
@push('scripts')
@endpush