{{-- @todo Rewrite the JS for choosing event bg images and colours. --}} @extends('Shared.Layouts.Master') @section('title') @parent @lang("Event.customize_event") @stop @section('top_nav') @include('ManageEvent.Partials.TopNav') @stop @section('menu') @include('ManageEvent.Partials.Sidebar') @stop @section('page_title') @lang("Event.customize_event") @stop @section('page_header') @stop @section('head') {!! HTML::script('https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key='.env("GOOGLE_MAPS_GEOCODING_KEY")) !!} {!! HTML::script('vendor/geocomplete/jquery.geocomplete.min.js') !!} @stop @section('content')
@include('ManageEvent.Partials.EditEventForm', ['event'=>$event, 'organisers'=>\Auth::user()->account->organisers])

@lang("Affiliates.affiliate_tracking")

@lang("Affiliates.affiliate_tracking_text")

@if($event->affiliates->count())
@foreach($event->affiliates as $affiliate) @endforeach
@lang("Affiliates.affiliate_name") @lang("Affiliates.visits_generated") @lang("Affiliates.ticket_sales_generated") @lang("Affiliates.sales_volume_generated") @lang("Affiliates.last_referral")
{{ $affiliate->name }} {{ $affiliate->visits }} {{ $affiliate->tickets_sold }} {{ money($affiliate->sales_volume, $event->currency) }} {{ $affiliate->updated_at->format(env("DEFAULT_DATETIME_FORMAT")) }}
@else
@lang("Affiliates.no_affiliate_referrals_yet")
@endif
The following short codes are available for use:
Display the event's public URL: [event_url]
Display the organiser's name: [organiser_name]
Display the event title: [event_title]
Display the event description: [event_description]
Display the event start date & time: [event_start_date]
Display the event end date & time: [event_end_date]
{!! Form::model($event, array('url' => route('postEditEventSocial', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}

@lang("Social.social_settings")

{!! Form::label('social_share_text', trans("Social.social_share_text"), array('class'=>'control-label ')) !!} {!! Form::textarea('social_share_text', $event->social_share_text, [ 'class' => 'form-control', 'rows' => 4 ]) !!}
@lang("Social.social_share_text_help")

{!! Form::checkbox('social_show_facebook', 1, $event->social_show_facebook, ['id' => 'social_show_facebook', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_facebook', trans("Social.facebook")) !!}
{!! Form::checkbox('social_show_twitter', 1, $event->social_show_twitter, ['id' => 'social_show_twitter', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_twitter', trans("Social.twitter")) !!}
{!! Form::checkbox('social_show_email', 1, $event->social_show_email, ['id' => 'social_show_email', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_email', trans("Social.email")) !!}
{!! Form::checkbox('social_show_googleplus', 1, $event->social_show_googleplus, ['id' => 'social_show_googleplus', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_googleplus', trans("Social.g+")) !!}
{!! Form::checkbox('social_show_linkedin', 1, $event->social_show_linkedin, ['id' => 'social_show_linkedin', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_linkedin', trans("Social.linkedin")) !!}
{!! Form::checkbox('social_show_whatsapp', 1, $event->social_show_whatsapp, ['id' => 'social_show_whatsapp', 'data-toggle' => 'toggle']) !!} {!! Form::label('social_show_whatsapp', trans("Social.whatsapp")) !!}
{!! Form::close() !!}
{!! Form::open(array('url' => route('postEditEventDesign', ['event_id' => $event->id]), 'files'=> true, 'class' => 'ajax customizeForm')) !!} {!! Form::hidden('bg_type', $event->bg_type) !!}

@lang("Design.background_options")

{!! Form::text('bg_color', $event->bg_color, ['class' => 'colorpicker form-control']) !!}
@foreach($available_bg_images_thumbs as $bg_image) @endforeach {!! Form::hidden('bg_image_path_custom', ($event->bg_type == 'image') ? $event->bg_image_path : '') !!}
@lang("Design.images_provided_by_pixabay")
{!! Form::close() !!}

@lang("Design.event_page_preview")

{!! Form::model($event, array('url' => route('postEditEventFees', ['event_id' => $event->id]), 'class' => 'ajax')) !!}

@lang("Fees.organiser_fees")

{!! @trans("Fees.organiser_fees_text") !!}
{!! Form::label('organiser_fee_percentage', trans("Fees.service_fee_percentage"), array('class'=>'control-label required')) !!} {!! Form::text('organiser_fee_percentage', $event->organiser_fee_percentage, [ 'class' => 'form-control', 'placeholder' => trans("Fees.service_fee_percentage_placeholder") ]) !!}
{!! @trans("Fees.service_fee_percentage_help") !!}
{!! Form::label('organiser_fee_fixed', trans("Fees.service_fee_fixed_price"), array('class'=>'control-label required')) !!} {!! Form::text('organiser_fee_fixed', null, [ 'class' => 'form-control', 'placeholder' => trans("Fees.service_fee_fixed_price_placeholder") ]) !!}
{!! @trans("Fees.service_fee_fixed_price_help", ["cur"=>$event->currency_symbol]) !!}
{!! Form::close() !!}

Social Settings

{!! Form::label('event_page_show_map', 'Show map on event page?', array('id' => 'customcheckbox', 'class'=>'control-label')) !!} {!! Form::checkbox('event_page_show_map', 1, false) !!}
{!! Form::label('event_page_show_social_share', 'Show social share buttons?', array('class'=>'control-label')) !!} {!! Form::checkbox('event_page_show_social_share', 1, false) !!}
{!! Form::model($event, array('url' => route('postEditEventOrderPage', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}

@lang("Order.order_page_settings")

{!! Form::label('pre_order_display_message', trans("Order.before_order"), array('class'=>'control-label ')) !!} {!! Form::textarea('pre_order_display_message', $event->pre_order_display_message, [ 'class' => 'form-control', 'rows' => 4 ]) !!}
@lang("Order.before_order_help")
{!! Form::label('post_order_display_message', trans("Order.after_order"), array('class'=>'control-label ')) !!} {!! Form::textarea('post_order_display_message', $event->post_order_display_message, [ 'class' => 'form-control', 'rows' => 4 ]) !!}
@lang("Order.after_order_help")

@lang("Order.offline_payment_settings")

enable_offline_payments ? 'checked="checked"' : '' }} data-toggle="toggle" id="enable_offline_payments" name="enable_offline_payments" type="checkbox" value="1">
{!! Form::close() !!}
{!! Form::model($event, array('url' => route('postEditEventTicketDesign', ['event_id' => $event->id]), 'class' => 'ajax ')) !!}

@lang("Ticket.ticket_design")

{!! Form::label('ticket_border_color', trans("Ticket.ticket_border_color"), ['class'=>'control-label required ']) !!} {!! Form::input('text', 'ticket_border_color', Input::old('ticket_border_color'), [ 'class'=>'form-control colorpicker', 'placeholder'=>'#000000' ]) !!}
{!! Form::label('ticket_bg_color', trans("Ticket.ticket_background_color"), ['class'=>'control-label required ']) !!} {!! Form::input('text', 'ticket_bg_color', Input::old('ticket_bg_color'), [ 'class'=>'form-control colorpicker', 'placeholder'=>'#FFFFFF' ]) !!}
{!! Form::label('ticket_text_color', trans("Ticket.ticket_text_color"), ['class'=>'control-label required ']) !!} {!! Form::input('text', 'ticket_text_color', Input::old('ticket_text_color'), [ 'class'=>'form-control colorpicker', 'placeholder'=>'#000000' ]) !!}
{!! Form::label('ticket_sub_text_color', trans("Ticket.ticket_sub_text_color"), ['class'=>'control-label required ']) !!} {!! Form::input('text', 'ticket_sub_text_color', Input::old('ticket_border_color'), [ 'class'=>'form-control colorpicker', 'placeholder'=>'#000000' ]) !!}
{!! Form::label('is_1d_barcode_enabled', trans("Ticket.show_1d_barcode"), ['class' => 'control-label required']) !!} {!! Form::select('is_1d_barcode_enabled', [1 => trans("basic.yes"), 0 => trans("basic.no")], $event->is_1d_barcode_enabled, ['class'=>'form-control']) !!}

@lang("Ticket.ticket_preview")

@include('ManageEvent.Partials.TicketDesignPreview')
{!! Form::close() !!}
@stop