@extends('admin.layouts.app') @section('content') @csrf All timings are in Eastern Time (ET). General Information Title @error('name') {!! $message !!} @enderror Slug @error('slug') {!! $message !!} @enderror Categories @if($categories->count() > 0) @foreach($categories as $category) id,$event->categories()->pluck('category_id')->toArray())) selected @endif>{!! $category->name !!} @endforeach @endif @error('categories[]') {!! $message !!} @enderror @if(checkAdminHasAccess('event_category','Add')) Add New @endif Image * Require size in pixel. (998x480) {!! getMedipickerButton('Image',"image","image_alt","image_type","div_image_preview") !!} @error('image') {!! $message !!} @enderror Image Alt Tag Text @error('image_alt') {!! $message !!} @enderror Video Embed URL Add only url. Don't add iframe tag. @error('video_link') {!! $message !!} @enderror Chat Embed URL Add only url. Don't add iframe tag. @error('chat_embed_url') {!! $message !!} @enderror Embed {!! old('elexio_form_embed_code') ?? $event->elexio_form_embed_code !!} @error('elexio_form_embed_code') {!! $message !!} @enderror Elexio Group IDs Comma Seperated IDs (3025, 5214, 6325) @error('elexio_group_id') {!! $message !!} @enderror Prayer Request Embed Code {!! old('elexio_prayer_request_embed_code') ?? $event->elexio_prayer_request_embed_code !!} @error('elexio_prayer_request_embed_code') {!! $message !!} @enderror New Here Embed Code {!! old('elexio_new_here_embed_code') ?? $event->elexio_new_here_embed_code !!} @error('elexio_new_here_embed_code') {!! $message !!} @enderror Eventbrite ID @error('eventbrite_id') {!! $message !!} @enderror Eventbrite Button Caption @error('eventbrite_btn_caption') {!! $message !!} @enderror Eventbrite Button BG Color @error('eventbrite_btn_bgcolor') {!! $message !!} @enderror Eventbrite Button Font Color @error('eventbrite_btn_color') {!! $message !!} @enderror Description {!! old('description') ?? $event->description !!} @error('description') {!! $message !!} @enderror Type @foreach(eventTypes() as $eventType) @php $checked = ""; if(is_array(old('type'))) { if(in_array($eventType,old('type'))) { $checked = "checked"; } } else if(in_array($eventType,$event->typearr)) { $checked = "checked"; } @endphp {!! $eventType !!} @endforeach @error('type') {!! $message !!} @enderror Content Select On Demand Category @if($contents->count() > 0) @foreach($contents as $content) id == $event->content_id || $content->id == old('content_id')) selected @endif>{!! $content->name !!} @endforeach @endif @error('content_id') {!! $message !!} @enderror Location @error('location') {!! $message !!} @enderror Notes {!! old('notes') ?? $event->notes !!} @error('notes') {!! $message !!} @enderror Attached Books / Products @if($event->products()->count() > 0) @foreach($event->products as $products) @php $rand = rand(999999,1); @endphp {!! $products->name !!} {!! $products->price !!} @endforeach @endif Books / Products Search for a Books / Products Want to hide time ? is_hide_time == '1') checked @endif>Yes is_hide_time || $event->is_hide_time == '0') checked @endif>No Want to hide end date & time ? is_hide_end_date_time == '1') checked @endif>Yes is_hide_end_date_time || $event->is_hide_end_date_time == '0') checked @endif>No Is Featured ? is_featured == '1') checked @endif>Yes is_featured || $event->is_featured == '0') checked @endif>No Password @error('password') {!! $message !!} @enderror Is Private ? is_private == '1') checked @endif>Yes is_private || $event->is_private == '0') checked @endif>No Status is_active == '1') checked @endif>Yes is_active == '0') checked @endif>No Cancel Save changes Recurring Information Any details changed in this section will delete current recurring events and create new ones. Is Recurring? is_recurring == '1' ? 'checked' : '') !!}>Yes is_recurring == '0' ? 'checked' : '') !!}>No @error('is_recurring') {!! $message !!} @enderror Event Date @error('date') {!! $message !!} @enderror Event Start Time @error('start_time') {!! $message !!} @enderror Event End Time @error('end_time') {!! $message !!} @enderror Recurring Start Date @error('recurring_start_date') {!! $message !!} @enderror Recurring End Date @error('recurring_end_date') {!! $message !!} @enderror Repeat At: repeat_at == 'Daily' ? 'checked' : '') !!}>Daily repeat_at == 'Weekly' ? 'checked' : '') !!}>Weekly repeat_at == 'Monthly' ? 'checked' : '') !!}>Monthly @error('repeat_at') {!! $message !!} @enderror Daily Start Time @error('daily_start_time') {!! $message !!} @enderror Daily End Time @error('daily_end_time') {!! $message !!} @enderror Select occurance @if(is_array(old('weekly')) > 0 && count(old('weekly')) > 0 && old('repeat_at') == "Weekly") @foreach(old('weekly') as $otimings) @php $rand = rand(1000,100000); @endphp Day Choose day @foreach(days() as $day) {!! $day !!} @endforeach Start Time End Time Action @endforeach @elseif($event->timings()->count() > 0 && $event->repeat_at == "Weekly") @foreach($event->timings as $timings) @php $rand = rand(1000,100000); @endphp Day Choose day @foreach(days() as $day) day == $day) selected @endif>{!! $day !!} @endforeach Start Time End Time Action @endforeach @endif @error('weekly') {!! $message !!} @enderror + Add New Select occurance @if(is_array(old('monthly')) > 0 && count(old('monthly')) > 0 && old('repeat_at') == "Monthly") @foreach(old('monthly') as $otimings) @php $rand = rand(1000,100000); @endphp Occurance Choose @foreach(['first','second','third','fourth'] as $occurance) {!! ucwords($occurance) !!} @endforeach Day Choose @foreach(days() as $day) {!! $day !!} @endforeach Start Time End Time Action @endforeach @elseif($event->timings()->count() > 0 && $event->repeat_at == "Monthly") @foreach($event->timings as $timings) @php $rand = rand(1000,100000); @endphp Occurance Choose @foreach(['first','second','third','fourth'] as $occurance) occurance == $occurance) selected @endif>{!! ucwords($occurance) !!} @endforeach Day Choose @foreach(days() as $day) day == $day) selected @endif>{!! $day !!} @endforeach Start Time End Time Action @endforeach @endif @error('monthly') {!! $message !!} @enderror + Add New Exception Dates @if(is_array(old('exceptionDates'))) @foreach(old('exceptionDates') as $exceptionDate) @php $rand = rand(1000,100000); @endphp Date @endforeach @elseif($event->exceptionDates()->count() > 0) @foreach($event->exceptionDates as $exceptionDate) @php $rand = rand(1000,100000); @endphp Date @endforeach @endif + Add New Cancel Save changes @include('admin.media.add_popup') @include('admin.event.category.add_popup') @section('js') {!! config('constants.TINY_MCE_SCRIPT') !!} @stop @endsection
All timings are in Eastern Time (ET).
* Require size in pixel. (998x480)
Add only url. Don't add iframe tag.
{!! $products->name !!}
{!! $products->price !!}