@extends('backEnd.master') @section('title') @lang('front_settings.donor') @endsection @section('mainContent')

@if (isset($add_donor)) @lang('front_settings.edit_donor') @else @lang('front_settings.donor') @endif

@if (isset($add_donor)) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'donor-update', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @else @if (userPermission('donor-store')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'donor-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ $errors->first('date_of_birth') }}
show_public == 1 ? 'checked' : '' }}>
show_public == 0 ? 'checked' : '' }}>
@if (count($custom_fields) && is_show('custom_field') && isMenuAllowToShow('custom_field'))

@lang('front_settings.custom_field')

@include('backEnd.studentInformation._custom_field') @endif
{{ Form::close() }}

@lang('front_settings.donor_list')

@foreach ($donors as $key => $value) @endforeach
@lang('common.sl') @lang('front_settings.name') @lang('front_settings.profession') @lang('front_settings.email') @lang('front_settings.mobile') @lang('front_settings.image') @lang('common.action')
{{ $key + 1 }} {{ @$value->full_name }} {{ @$value->profession }} {{ @$value->email }} {{ @$value->mobile }} @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js')