@extends('backEnd.master') @section('title') @lang('common.edit_notice') @endsection @section('mainContent')

@lang('communicate.edit_notice')

{{ Form::open(['class' => 'form-horizontal', 'route' => 'update-notice-data', 'method' => 'POST']) }}
@if ($errors->has('notice_title')) {{ $errors->first('notice_title') }} @endif
is_published == 1) checked @endif name="is_published">
@if ($errors->has('notice_date')) {{ $errors->first('notice_date') }} @endif
@if ($errors->has('publish_on')) {{ $errors->first('publish_on') }} @endif

@if(isset($noticeDataDetails)) @php $inform_to = json_decode($noticeDataDetails->inform_to); @endphp @endif @foreach($roles as $role)
id, $inform_to != null ? $inform_to : [])? 'checked' : ''}}>
@endforeach @if($errors->has('role')) {{ $errors->first('role') }} @endif
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js') @push('script') @endpush