2016-03-21 18:12:43 +00:00
{{ -- @ todo Rewrite the JS for choosing event bg images and colours . -- }}
2016-02-29 15:59:36 +00:00
@ extends ( 'Shared.Layouts.Master' )
@ section ( 'title' )
@ parent
Customize Event
@ stop
@ section ( 'top_nav' )
@ include ( 'ManageEvent.Partials.TopNav' )
@ stop
@ section ( 'menu' )
@ include ( 'ManageEvent.Partials.Sidebar' )
@ stop
@ section ( 'page_title' )
< i class = " ico-cog mr5 " ></ i >
Customize Event
@ stop
@ section ( 'page_header' )
2016-03-10 04:41:10 +00:00
< style >
. page - header {
2016-02-29 15:59:36 +00:00
display : none ;
2016-03-10 04:41:10 +00:00
}
</ style >
2016-02-29 15:59:36 +00:00
@ stop
@ section ( 'head' )
2016-03-10 04:41:10 +00:00
{ !! HTML :: script ( 'https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places' ) !! }
{ !! HTML :: script ( 'vendor/geocomplete/jquery.geocomplete.min.js' ) !! }
2016-02-29 15:59:36 +00:00
< script >
$ ( function () {
$ ( " input[name='organiser_fee_percentage'] " ) . TouchSpin ({
min : 0 ,
max : 100 ,
step : 0.1 ,
decimals : 2 ,
verticalbuttons : true ,
postfix : '%' ,
buttondown_class : " btn btn-link " ,
buttonup_class : " btn btn-link " ,
postfix_extraclass : " btn btn-link "
});
$ ( " input[name='organiser_fee_fixed'] " ) . TouchSpin ({
min : 0 ,
max : 100 ,
step : 0.1 ,
decimals : 2 ,
verticalbuttons : true ,
postfix : '{{$event->currency->symbol_left}}' ,
buttondown_class : " btn btn-link " ,
buttonup_class : " btn btn-link " ,
postfix_extraclass : " btn btn-link "
});
/* Affiliate generator */
$ ( '#affiliateGenerator' ) . on ( 'keyup' , function () {
var text = $ ( this ) . val () . replace ( / \W / g , '' ),
referralUrl = '{{$event->event_url}}?ref=' + text ;
$ ( '#referralUrl' ) . toggle ( text !== '' );
$ ( '#referralUrl input' ) . val ( referralUrl );
});
/* Background selector */
$ ( '.bgImage' ) . on ( 'click' , function ( e ) {
$ ( '.bgImage' ) . removeClass ( 'selected' );
$ ( this ) . addClass ( 'selected' );
$ ( 'input[name=bg_image_path_custom]' ) . val ( $ ( this ) . data ( 'src' ));
var replaced = replaceUrlParam ( '{{route(' showEventPagePreview ', [' event_id '=>$event->id])}}' , 'bg_img_preview' , $ ( 'input[name=bg_image_path_custom]' ) . val ());
document . getElementById ( 'previewIframe' ) . src = replaced ;
e . preventDefault ();
});
/* Background color */
2016-03-21 23:42:11 +00:00
$ ( 'input[name=bg_color]' ) . on ( 'change' , function ( e ) {
2016-02-29 15:59:36 +00:00
var replaced = replaceUrlParam ( '{{route(' showEventPagePreview ', [' event_id '=>$event->id])}}' , 'bg_color_preview' , $ ( 'input[name=bg_color]' ) . val () . substring ( 1 ));
document . getElementById ( 'previewIframe' ) . src = replaced ;
e . preventDefault ();
});
$ ( '#bgOptions .panel' ) . on ( 'shown.bs.collapse' , function ( e ) {
var type = $ ( e . currentTarget ) . data ( 'type' );
console . log ( type );
$ ( 'input[name=bg_type]' ) . val ( type );
});
$ ( 'input[name=bg_image_path], input[name=bg_color]' ) . on ( 'change' , function () {
//showMessage('Uploading...');
//$('.customizeForm').submit();
});
2016-03-21 23:42:11 +00:00
/* Color picker */
$ ( '.colorpicker' ) . minicolors ();
2016-06-09 11:15:48 +00:00
$ ( '#ticket_design .colorpicker' ) . on ( 'change' , function ( e ) {
2016-03-21 23:42:11 +00:00
var borderColor = $ ( 'input[name="ticket_border_color"]' ) . val ();
var bgColor = $ ( 'input[name="ticket_bg_color"]' ) . val ();
var textColor = $ ( 'input[name="ticket_text_color"]' ) . val ();
var subTextColor = $ ( 'input[name="ticket_sub_text_color"]' ) . val ();
$ ( '.ticket' ) . css ({
'border' : '1px solid ' + borderColor ,
'background-color' : bgColor ,
'color' : subTextColor ,
'border-left-color' : borderColor
});
$ ( '.ticket h4' ) . css ({
'color' : textColor
});
$ ( '.ticket .logo' ) . css ({
'border-left' : '1px solid ' + borderColor ,
'border-bottom' : '1px solid ' + borderColor
});
$ ( '.ticket .barcode' ) . css ({
'border-right' : '1px solid ' + borderColor ,
'border-bottom' : '1px solid ' + borderColor ,
'border-top' : '1px solid ' + borderColor
});
});
2016-07-08 14:08:04 +00:00
$ ( '#enable_offline_payments' ) . change ( function () {
$ ( '.offline_payment_details' ) . toggle ( this . checked );
}) . change ();
2016-02-29 15:59:36 +00:00
});
2016-06-07 13:00:34 +00:00
2016-06-09 11:15:48 +00:00
2016-02-29 15:59:36 +00:00
</ script >
< style type = " text/css " >
. bootstrap - touchspin - postfix {
background - color : #ffffff;
color : #333;
border - left : none ;
}
. bgImage {
cursor : pointer ;
}
. bgImage . selected {
outline : 4 px solid #0099ff;
}
</ style >
< script >
$ ( function () {
var hash = document . location . hash ;
var prefix = " tab_ " ;
if ( hash ) {
$ ( '.nav-tabs a[href=' + hash + ']' ) . tab ( 'show' );
}
$ ( window ) . on ( 'hashchange' , function () {
var newHash = location . hash ;
if ( typeof newHash === undefined ) {
$ ( '.nav-tabs a[href=' + '#general' + ']' ) . tab ( 'show' );
} else {
$ ( '.nav-tabs a[href=' + newHash + ']' ) . tab ( 'show' );
}
});
$ ( '.nav-tabs a' ) . on ( 'shown.bs.tab' , function ( e ) {
window . location . hash = e . target . hash ;
});
});
</ script >
@ stop
@ section ( 'content' )
2016-03-14 22:12:24 +00:00
< div class = " row " >
2016-02-29 15:59:36 +00:00
< div class = " col-md-12 " >
<!-- tab -->
< ul class = " nav nav-tabs " >
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'general'])}} "
class = " { { ( $tab == 'general' || ! $tab ) ? 'active' : ''}} " >< a href = " #general " data - toggle = " tab " > General </ a >
</ li >
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'design'])}} "
class = " { { $tab == 'design' ? 'active' : '' } } " >< a href = " #design " data - toggle = " tab " > Event Page
Design </ a ></ li >
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'order_page'])}} "
class = " { { $tab == 'order_page' ? 'active' : '' } } " >< a href = " #order_page " data - toggle = " tab " > Order
Form </ a ></ li >
2016-04-04 15:20:35 +00:00
2016-02-29 15:59:36 +00:00
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'social'])}} "
class = " { { $tab == 'social' ? 'active' : '' } } " >< a href = " #social " data - toggle = " tab " > Social </ a ></ li >
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'affiliates'])}} "
class = " { { $tab == 'affiliates' ? 'active' : '' } } " >< a href = " #affiliates "
data - toggle = " tab " > Affiliates </ a ></ li >
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'fees'])}} "
class = " { { $tab == 'fees' ? 'active' : '' } } " >< a href = " #fees " data - toggle = " tab " > Service Fees </ a ></ li >
2016-03-10 00:41:34 +00:00
< li data - route = " { { route('showEventCustomizeTab', ['event_id' => $event->id , 'tab' => 'ticket_design'])}} "
2016-03-21 23:42:11 +00:00
class = " { { $tab == 'ticket_design' ? 'active' : '' } } " >< a href = " #ticket_design " data - toggle = " tab " > Ticket
Design </ a ></ li >
2016-04-05 10:31:30 +00:00
2016-02-29 15:59:36 +00:00
</ ul >
<!--/ tab -->
<!-- tab content -->
< div class = " tab-content panel " >
< div class = " tab-pane { { ( $tab == 'general' || ! $tab ) ? 'active' : ''}} " id = " general " >
@ include ( 'ManageEvent.Partials.EditEventForm' , [ 'event' => $event , 'organisers' => \Auth :: user () -> account -> organisers ])
</ div >
< div class = " tab-pane { { $tab == 'affiliates' ? 'active' : '' } } " id = " affiliates " >
2016-03-10 04:41:10 +00:00
< h4 > Affiliate Tracking </ h4 >
2016-02-29 15:59:36 +00:00
< div class = " well " >
Keeping track of who is generating sales for your event is extremely easy .
Simply create a referral link using the box below and share the link with your affiliates /
event promoters .
< br >< br >
< input type = " text " id = " affiliateGenerator " name = " affiliateGenerator " class = " form-control " />
< div style = " display:none; margin-top:10px; " id = " referralUrl " >
< input onclick = " this.select(); " type = " text " name = " affiliateLink " class = " form-control " />
</ div >
</ div >
@ if ( $event -> affiliates -> count ())
< div class = " table-responsive " >
< table class = " table " >
< thead >
< tr >
2016-03-16 11:50:34 +00:00
< th > Affiliate Name </ th >
< th > Visits Generated </ th >
< th > Ticket Sales Generated </ th >
< th > Sales Volume Generated </ th >
< th > Last Referral </ th >
2016-02-29 15:59:36 +00:00
</ tr >
</ thead >
< tbody >
@ foreach ( $event -> affiliates as $affiliate )
< tr >
2016-03-16 11:50:34 +00:00
< td > {{ $affiliate -> name }} </ td >
< td > {{ $affiliate -> visits }} </ td >
< td > {{ $affiliate -> tickets_sold }} </ td >
2016-08-12 12:02:37 +00:00
< td > {{ money ( $affiliate -> sales_volume , $event -> currency ) }} </ td >
2016-03-16 11:50:34 +00:00
< td > {{ $affiliate -> updated_at -> format ( 'M dS H:i A' ) }} </ td >
2016-02-29 15:59:36 +00:00
</ tr >
@ endforeach
</ tbody >
</ table >
</ div >
@ else
< div class = " alert alert-info " >
No affiliate referrals yet .
</ div >
@ endif
</ div >
< div class = " tab-pane { { $tab == 'social' ? 'active' : '' } } " id = " social " >
< div class = " well hide " >
2016-03-10 04:41:10 +00:00
< h5 > The following short codes are available for use :</ h5 >
2016-02-29 15:59:36 +00:00
Display the event ' s public URL : < code > [ event_url ] </ code >< br >
Display the organiser ' s name : < code > [ organiser_name ] </ code >< br >
Display the event title : < code > [ event_title ] </ code >< br >
Display the event description : < code > [ event_description ] </ code >< br >
Display the event start date & time : < code > [ event_start_date ] </ code >< br >
Display the event end date & time : < code > [ event_end_date ] </ code >
</ div >
{ !! Form :: model ( $event , array ( 'url' => route ( 'postEditEventSocial' , [ 'event_id' => $event -> id ]), 'class' => 'ajax ' )) !! }
2016-03-10 04:41:10 +00:00
< h4 > Social Settings </ h4 >
2016-02-29 15:59:36 +00:00
< div class = " form-group hide " >
{ !! Form :: label ( 'social_share_text' , 'Social Share Text' , array ( 'class' => 'control-label ' )) !! }
2016-03-16 11:50:34 +00:00
{ !! Form :: textarea ( 'social_share_text' , $event -> social_share_text , [
2016-02-29 15:59:36 +00:00
'class' => 'form-control' ,
'rows' => 4
2016-03-16 11:50:34 +00:00
]) !! }
2016-02-29 15:59:36 +00:00
< div class = " help-block " >
This is the text which will be share by default when a user shares your event on social
networks
</ div >
</ div >
< div class = " form-group " >
< label class = " control-label " > Share buttons to show .</ label >
< br >
2016-04-13 14:44:07 +00:00
< div class = " custom-checkbox mb5 " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_facebook' , 1 , $event -> social_show_facebook , [ 'id' => 'social_show_facebook' , 'data-toggle' => 'toggle' ]) !! }
2016-04-13 14:44:07 +00:00
{ !! Form :: label ( 'social_show_facebook' , 'Facebook' ) !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-04-13 14:44:07 +00:00
< div class = " custom-checkbox mb5 " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_twitter' , 1 , $event -> social_show_twitter , [ 'id' => 'social_show_twitter' , 'data-toggle' => 'toggle' ]) !! }
2016-04-13 14:44:07 +00:00
{ !! Form :: label ( 'social_show_twitter' , 'Twitter' ) !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-04-13 14:44:07 +00:00
< div class = " custom-checkbox mb5 " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_email' , 1 , $event -> social_show_email , [ 'id' => 'social_show_email' , 'data-toggle' => 'toggle' ]) !! }
2016-04-13 14:44:07 +00:00
{ !! Form :: label ( 'social_show_email' , 'Email' ) !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-05-11 23:27:25 +00:00
< div class = " custom-checkbox mb5 " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_googleplus' , 1 , $event -> social_show_googleplus , [ 'id' => 'social_show_googleplus' , 'data-toggle' => 'toggle' ]) !! }
2016-05-11 23:27:25 +00:00
{ !! Form :: label ( 'social_show_googleplus' , 'Google+' ) !! }
</ div >
2016-04-13 14:44:07 +00:00
< div class = " custom-checkbox mb5 " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_linkedin' , 1 , $event -> social_show_linkedin , [ 'id' => 'social_show_linkedin' , 'data-toggle' => 'toggle' ]) !! }
2016-04-13 14:44:07 +00:00
{ !! Form :: label ( 'social_show_linkedin' , 'LinkedIn' ) !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-04-13 14:44:07 +00:00
< div class = " custom-checkbox " >
2016-07-15 09:59:52 +00:00
{ !! Form :: checkbox ( 'social_show_whatsapp' , 1 , $event -> social_show_whatsapp , [ 'id' => 'social_show_whatsapp' , 'data-toggle' => 'toggle' ]) !! }
2016-04-13 14:44:07 +00:00
{ !! Form :: label ( 'social_show_whatsapp' , 'WhatsApp' ) !! }
2016-03-22 02:14:50 +00:00
</ div >
2016-02-29 15:59:36 +00:00
</ div >
< div class = " panel-footer mt15 text-right " >
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
2016-03-10 04:41:10 +00:00
{ !! Form :: close () !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-06-09 11:15:48 +00:00
< div class = " tab-pane scale_iframe { { $tab == 'design' ? 'active' : '' } } " id = " design " >
2016-02-29 15:59:36 +00:00
< div class = " row " >
< div class = " col-sm-6 " >
{ !! Form :: open ( array ( 'url' => route ( 'postEditEventDesign' , [ 'event_id' => $event -> id ]), 'files' => true , 'class' => 'ajax customizeForm' )) !! }
2016-03-10 04:41:10 +00:00
{ !! Form :: hidden ( 'bg_type' , $event -> bg_type ) !! }
2016-02-29 15:59:36 +00:00
< h4 > Background Options </ h4 >
< div class = " panel-group " id = " bgOptions " >
2016-03-10 04:41:10 +00:00
< div class = " panel panel-default " data - type = " color " >
2016-02-29 15:59:36 +00:00
< div class = " panel-heading " >
< h4 class = " panel-title " >
< a data - toggle = " collapse " data - parent = " #bgOptions " href = " #bgColor "
class = " { { ( $event->bg_type == 'color') ? '' : 'collapsed'}} " >
< span class = " arrow mr5 " ></ span > Use a colour for the background
</ a >
</ h4 >
</ div >
< div id = " bgColor "
2016-03-10 04:41:10 +00:00
class = " panel-collapse { { ( $event->bg_type == 'color') ? 'in' : 'collapse'}} " >
2016-02-29 15:59:36 +00:00
< div class = " panel-body " >
2016-03-21 23:42:11 +00:00
{ !! Form :: text ( 'bg_color' , $event -> bg_color , [ 'class' => 'colorpicker form-control' ]) !! }
2016-02-29 15:59:36 +00:00
</ div >
</ div >
</ div >
2016-03-14 22:12:24 +00:00
< div class = " panel panel-default " data - type = " image " >
2016-02-29 15:59:36 +00:00
< div class = " panel-heading " >
< h4 class = " panel-title " >
< a data - toggle = " collapse " data - parent = " #bgOptions " href = " #bgImage "
class = " { { ( $event->bg_type == 'image') ? '' : 'collapsed'}} " >
< span class = " arrow mr5 " ></ span > Select from available images
</ a >
</ h4 >
</ div >
< div id = " bgImage "
2016-03-10 04:41:10 +00:00
class = " panel-collapse { { ( $event->bg_type == 'image') ? 'in' : 'collapse'}} " >
2016-02-29 15:59:36 +00:00
< div class = " panel-body " >
@ foreach ( $available_bg_images_thumbs as $bg_image )
2016-03-14 22:12:24 +00:00
< img data - 3 = " { { str_replace('/thumbs', '', $event->bg_image_path )}} "
2016-02-29 15:59:36 +00:00
class = " img-thumbnail ma5 bgImage { { ( $bg_image === str_replace('/thumbs', '', $event->bg_image_path ) ? 'selected' : '') }} "
2016-03-14 22:12:24 +00:00
style = " width: 120px; " src = " { { asset( $bg_image )}} "
2016-02-29 15:59:36 +00:00
data - src = " { { str_replace('/thumbs', '', substr( $bg_image ,1))}} " />
@ endforeach
2016-03-10 04:41:10 +00:00
{ !! Form :: hidden ( 'bg_image_path_custom' , ( $event -> bg_type == 'image' ) ? $event -> bg_image_path : '' ) !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-07-07 15:33:04 +00:00
< a class = " btn btn-link " href = " https://pixabay.com?ref=attendize " title = " PixaBay Free Images " >
Images Provided By < b > PixaBay . com </ b >
</ a >
2016-02-29 15:59:36 +00:00
</ div >
</ div >
</ div >
< div class = " panel-footer mt15 text-right " >
< span class = " uploadProgress " style = " display:none; " ></ span >
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
< div class = " panel-footer ar hide " >
{ !! Form :: button ( 'Cancel' , [ 'class' => " btn modal-close btn-danger " , 'data-dismiss' => 'modal' ]) !! }
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
{ !! Form :: close () !! }
</ div >
< div class = " col-sm-6 " >
< h4 > Event Page Preview </ h4 >
2016-06-09 11:25:07 +00:00
< div class = " iframe_wrap " style = " overflow:hidden; height: 600px; border: 1px solid #ccc; " >
2016-03-10 04:41:10 +00:00
< iframe id = " previewIframe "
2016-02-29 15:59:36 +00:00
src = " { { route('showEventPagePreview', ['event_id'=> $event->id ])}} "
frameborder = " 0 " style = " overflow:hidden;height:100%;width:100% " height = " 100% "
width = " 100% " >
</ iframe >
</ div >
</ div >
</ div >
</ div >
< div class = " tab-pane { { $tab == 'fees' ? 'active' : '' } } " id = " fees " >
{ !! Form :: model ( $event , array ( 'url' => route ( 'postEditEventFees' , [ 'event_id' => $event -> id ]), 'class' => 'ajax' )) !! }
2016-03-10 04:41:10 +00:00
< h4 > Organiser Fees </ h4 >
2016-02-29 15:59:36 +00:00
< div class = " well " >
2016-03-21 23:42:11 +00:00
These are optional fees you can include in the cost of each ticket . This charge will appear on
buyer 's invoices as ' < b > BOOKING FEES </ b > ' .
2016-02-29 15:59:36 +00:00
</ div >
< div class = " form-group " >
{ !! Form :: label ( 'organiser_fee_percentage' , 'Service Fee Percentage' , array ( 'class' => 'control-label required' )) !! }
2016-03-10 04:41:10 +00:00
{ !! Form :: text ( 'organiser_fee_percentage' , $event -> organiser_fee_percentage , [
2016-02-29 15:59:36 +00:00
'class' => 'form-control' ,
'placeholder' => '0'
2016-03-10 04:41:10 +00:00
]) !! }
2016-02-29 15:59:36 +00:00
< div class = " help-block " >
e . g : enter < b > 3.5 </ b > for < b > 3.5 %</ b >
</ div >
</ div >
< div class = " form-group " >
{ !! Form :: label ( 'organiser_fee_fixed' , 'Service Fee Fixed Price' , array ( 'class' => 'control-label required' )) !! }
2016-03-10 04:41:10 +00:00
{ !! Form :: text ( 'organiser_fee_fixed' , null , [
2016-02-29 15:59:36 +00:00
'class' => 'form-control' ,
'placeholder' => '0.00'
2016-03-10 04:41:10 +00:00
]) !! }
2016-02-29 15:59:36 +00:00
< div class = " help-block " >
e . g : enter < b > 1.25 </ b > for < b > {{ $event -> currency_symbol }} 1.25 </ b >
</ div >
</ div >
< div class = " panel-footer mt15 text-right " >
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
2016-03-10 04:41:10 +00:00
{ !! Form :: close () !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-03-10 04:41:10 +00:00
< div class = " tab-pane " id = " social " >
< h4 > Social Settings </ h4 >
2016-02-29 15:59:36 +00:00
< div class = " form-group " >
< div class = " checkbox custom-checkbox " >
{ !! 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 ) !! }
</ div >
</ div >
2016-03-10 04:41:10 +00:00
2016-02-29 15:59:36 +00:00
< div class = " form-group " >
{ !! Form :: label ( 'event_page_show_social_share' , 'Show social share buttons?' , array ( 'class' => 'control-label' )) !! }
{ !! Form :: checkbox ( 'event_page_show_social_share' , 1 , false ) !! }
</ div >
</ div >
< div class = " tab-pane { { $tab == 'order_page' ? 'active' : '' } } " id = " order_page " >
{ !! Form :: model ( $event , array ( 'url' => route ( 'postEditEventOrderPage' , [ 'event_id' => $event -> id ]), 'class' => 'ajax ' )) !! }
2016-03-10 04:41:10 +00:00
< h4 > Order Page Settings </ h4 >
2016-02-29 15:59:36 +00:00
< div class = " form-group " >
{ !! Form :: label ( 'pre_order_display_message' , 'Message to display to attendees before they complete their order.' , array ( 'class' => 'control-label ' )) !! }
2016-03-10 04:41:10 +00:00
{ !! Form :: textarea ( 'pre_order_display_message' , $event -> pre_order_display_message , [
2016-02-29 15:59:36 +00:00
'class' => 'form-control' ,
'rows' => 4
2016-03-10 04:41:10 +00:00
]) !! }
2016-02-29 15:59:36 +00:00
< div class = " help-block " >
This message will be displayed to attendees immediately before they finalize their order .
</ div >
</ div >
< div class = " form-group " >
2016-08-29 11:30:56 +00:00
{ !! Form :: label ( 'post_order_display_message' , 'Message to display to attendees after they have completed their order.' , array ( 'class' => 'control-label ' )) !! }
2016-02-29 15:59:36 +00:00
2016-03-10 04:41:10 +00:00
{ !! Form :: textarea ( 'post_order_display_message' , $event -> post_order_display_message , [
2016-02-29 15:59:36 +00:00
'class' => 'form-control' ,
'rows' => 4
2016-03-10 04:41:10 +00:00
]) !! }
2016-02-29 15:59:36 +00:00
< div class = " help-block " >
This message will be displayed to attendees once they have successfully completed the
checkout process .
</ div >
</ div >
2016-07-08 14:08:04 +00:00
< h4 > Offline Payment Settings </ h4 >
< div class = " form-group " >
< div class = " custom-checkbox " >
< input {{ $event -> enable_offline_payments ? 'checked="checked"' : '' }} data - toggle = " toggle " id = " enable_offline_payments " name = " enable_offline_payments " type = " checkbox " value = " 1 " >
< label for = " enable_offline_payments " > Enable Offline Payments </ label >
</ div >
</ div >
< div class = " offline_payment_details " style = " display: none; " >
2016-07-09 17:24:48 +00:00
{ !! Form :: textarea ( 'offline_payment_instructions' , $event -> offline_payment_instructions , [ 'class' => 'form-control editable' ]) !! }
2016-07-08 14:08:04 +00:00
< div class = " help-block " >
Enter instructions on how attendees can make payment offline .
</ div >
</ div >
2016-02-29 15:59:36 +00:00
< div class = " panel-footer mt15 text-right " >
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
2016-03-10 04:41:10 +00:00
{ !! Form :: close () !! }
2016-02-29 15:59:36 +00:00
</ div >
2016-04-02 15:20:22 +00:00
2016-03-10 00:41:34 +00:00
< div class = " tab-pane { { $tab == 'ticket_design' ? 'active' : '' } } " id = " ticket_design " >
{ !! Form :: model ( $event , array ( 'url' => route ( 'postEditEventTicketDesign' , [ 'event_id' => $event -> id ]), 'class' => 'ajax ' )) !! }
2016-03-21 23:42:11 +00:00
< h4 > Ticket Design </ h4 >
2016-03-10 00:41:34 +00:00
< div class = " row " >
< div class = " col-md-6 " >
< div class = " form-group " >
2016-07-07 14:51:38 +00:00
{ !! Form :: label ( 'ticket_border_color' , 'Ticket Border Color' , [ 'class' => 'control-label required ' ]) !! }
2016-03-21 23:42:11 +00:00
{ !! Form :: input ( 'text' , 'ticket_border_color' , Input :: old ( 'ticket_border_color' ),
2016-03-10 00:41:34 +00:00
[
2016-03-21 23:42:11 +00:00
'class' => 'form-control colorpicker' ,
2016-03-10 00:41:34 +00:00
'placeholder' => '#000000'
]) !! }
</ div >
2016-03-21 23:42:11 +00:00
</ div >
< div class = " col-md-6 " >
2016-03-10 00:41:34 +00:00
< div class = " form-group " >
2016-07-07 14:51:38 +00:00
{ !! Form :: label ( 'ticket_bg_color' , 'Ticket Background Color' , [ 'class' => 'control-label required ' ]) !! }
2016-03-21 23:42:11 +00:00
{ !! Form :: input ( 'text' , 'ticket_bg_color' , Input :: old ( 'ticket_bg_color' ),
2016-03-10 00:41:34 +00:00
[
2016-03-21 23:42:11 +00:00
'class' => 'form-control colorpicker' ,
2016-03-10 00:41:34 +00:00
'placeholder' => '#FFFFFF'
]) !! }
</ div >
2016-03-21 23:42:11 +00:00
</ div >
< div class = " col-md-6 " >
2016-03-10 00:41:34 +00:00
< div class = " form-group " >
2016-07-07 14:51:38 +00:00
{ !! Form :: label ( 'ticket_text_color' , 'Ticket Text Color' , [ 'class' => 'control-label required ' ]) !! }
2016-03-21 23:42:11 +00:00
{ !! Form :: input ( 'text' , 'ticket_text_color' , Input :: old ( 'ticket_text_color' ),
2016-03-10 00:41:34 +00:00
[
2016-03-21 23:42:11 +00:00
'class' => 'form-control colorpicker' ,
2016-03-10 00:41:34 +00:00
'placeholder' => '#000000'
]) !! }
</ div >
2016-03-21 23:42:11 +00:00
</ div >
< div class = " col-md-6 " >
2016-03-10 00:41:34 +00:00
< div class = " form-group " >
2016-07-07 14:51:38 +00:00
{ !! Form :: label ( 'ticket_sub_text_color' , 'Ticket Sub Text Color' , [ 'class' => 'control-label required ' ]) !! }
2016-03-21 23:42:11 +00:00
{ !! Form :: input ( 'text' , 'ticket_sub_text_color' , Input :: old ( 'ticket_border_color' ),
2016-03-10 00:41:34 +00:00
[
2016-03-21 23:42:11 +00:00
'class' => 'form-control colorpicker' ,
2016-03-10 00:41:34 +00:00
'placeholder' => '#000000'
]) !! }
</ div >
</ div >
2016-07-07 14:50:39 +00:00
< div class = " col-md-12 " >
< div class = " form-group " >
{ !! Form :: label ( 'is_1d_barcode_enabled' , 'Show 1D barcode on tickets' , [ 'class' => 'control-label required' ]) !! }
{ !! Form :: select ( 'is_1d_barcode_enabled' , [ 1 => 'Yes' , 0 => 'No' ], $event -> is_1d_barcode_enabled , [ 'class' => 'form-control' ]) !! }
</ div >
</ div >
2016-03-21 23:42:11 +00:00
</ div >
< div class = " row " >
< div class = " col-md-12 " >
2016-03-10 04:41:10 +00:00
< h4 > Ticket Preview </ h4 >
@ include ( 'ManageEvent.Partials.TicketDesignPreview' )
2016-03-10 00:41:34 +00:00
</ div >
</ div >
< div class = " panel-footer mt15 text-right " >
{ !! Form :: submit ( 'Save Changes' , [ 'class' => " btn btn-success " ]) !! }
</ div >
{ !! Form :: close () !! }
</ div >
2016-02-29 15:59:36 +00:00
</ div >
<!--/ tab content -->
</ div >
</ div >
@ stop