@if (isset($add_news))
{{ Form::open([
'class' => 'form-horizontal',
'files' => true,
'route' => 'update_news',
'method' => 'POST',
'enctype' => 'multipart/form-data',
'id' => 'add-income-update',
]) }}
@else
@if (userPermission('store_news'))
{{ Form::open([
'class' => 'form-horizontal',
'files' => true,
'route' => 'store_news',
'method' => 'POST',
'enctype' => 'multipart/form-data',
'id' => 'add-income',
]) }}
@endif
@endif
@if (isset($add_news))
@lang('front_settings.update_news')
@else
@lang('common.add_news')
@endif
@if ($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
is_comment == 1 ? 'checked' : '') : '' }}>
@php
$tooltip = '';
if (userPermission('store_news')) {
$tooltip = '';
}elseif(userPermission('edit-news') && isset($add_news)){
$tooltip = '';
} else {
$tooltip = 'You have no permission to add';
}
@endphp
@if (Illuminate\Support\Facades\Config::get('app.app_sync'))
@else
@endif
{{ Form::close() }}