@extends('layouts.master') @section('title') Donors @endsection @section('css') @endsection @section('content') @component('common-components.breadcrumb') @slot('title') @endslot @can('Donors Create') @slot('add_btn')

Add Donor User

@endslot @endcan @endcomponent
@if (Session::get('error'))
{{ Session::get('error') }}
@endif @if (Session::get('success'))
{{ Session::get('success') }}
@endif
@can('Donors Edit') @endcan @canany(['Donors Edit','Donors View','Donors Delete']) @endcan @php $i = 1; @endphp @foreach($donors as $row) @can('Donors Edit') @if($row->status == "1") @else @endif @endif @canany(['Donors Edit','Donors View','Donors Delete']) @endcan @php $i++ @endphp @endforeach
# Donor Name Donor Email Contact noStatusRegistered DateAction
{{$i}} @if (!$row->profile_pic) @else @endif {{$row->name}} {{$row->email}} {{$row->phone_no}}ActiveInactive{{date('m-d-Y', strtotime($row->created_at))}}
@endsection @section('script') @endsection