@extends('layouts.master',['title' => 'Organization List']) @section('contents')

Organization List

@if(auth()->user()->hasPermission('organizations.create')) @endif
@if($message = Session::get('success'))
@endif @if($message = Session::get('error'))
@endif
@forelse($organizations as $key => $value) @empty @endforelse
Sr No. Organization Name Email Contact Address Action
{{ $loop->iteration }} {{ ucwords($value->name) }} {{ $value->email }} {{ $value->contact }} {{ $value->address }} @if(auth()->user()->hasPermission('organizations.edit')) @endif @if(auth()->user()->hasPermission('organizations.destroy')) @endif @if(auth()->user()->hasPermission('organizations.show')) @endif
No Record Found
{{ $organizations->withQueryString()->links() }}
@endsection @section('modal') @endsection @section('script') @endsection