@if (isset($add_testimonial))
{{ Form::open([
'class' => 'form-horizontal',
'files' => true,
'route' => 'update_testimonial',
'method' => 'POST',
'enctype' => 'multipart/form-data',
'id' => 'add-income-update',
]) }}
@else
@if (userPermission('store_testimonial'))
{{ Form::open([
'class' => 'form-horizontal',
'files' => true,
'route' => 'store_testimonial',
'method' => 'POST',
'enctype' => 'multipart/form-data',
'id' => 'add-income',
]) }}
@endif
@endif
@if (isset($add_testimonial))
@lang('front_settings.edit_testimonial')
@else
@lang('front_settings.add_testimonial')
@endif
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
@php
$tooltip = '';
if (userPermission('store_testimonial')) {
$tooltip = '';
} else {
$tooltip = 'You have no permission to add';
}
@endphp
@if (Illuminate\Support\Facades\Config::get('app.app_sync'))
@else
@endif
{{ Form::close() }}