@extends('layouts.admin')
@section('title', 'Contact Management')
@section('content')
@php
$authCheck = auth()->check();
$permission= auth()->user();
@endphp
| S.No. |
Full Name |
Email |
Subject |
Actions |
@foreach($contacts as $key => $contact)
| {{ $key + 1 }} |
{{ $contact->full_name }} |
{{ $contact->email }} |
{{ $contact->subject }} |
@if($authCheck && $permission->hasPermission('contacts-show'))
|
@endif
@endforeach
@endsection