From 7566986124618e83741539fe3f71584bbe5c6526 Mon Sep 17 00:00:00 2001 From: Mark Walet Date: Wed, 16 Mar 2016 12:50:34 +0100 Subject: [PATCH] Update event customize view --- app/Helpers/helpers.php | 2 +- .../views/ManageEvent/Customize.blade.php | 50 ++++++------------- 2 files changed, 15 insertions(+), 37 deletions(-) diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 819919c0..a8f9d2c9 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -7,7 +7,7 @@ * @param string $dec_point * @param string $thousands_sep * - * @return decimal + * @return string */ function money($amount, $currency_code = '', $decimals = 2, $dec_point = '.', $thousands_sep = ',') { diff --git a/resources/views/ManageEvent/Customize.blade.php b/resources/views/ManageEvent/Customize.blade.php index db35a72c..0f47e7c0 100644 --- a/resources/views/ManageEvent/Customize.blade.php +++ b/resources/views/ManageEvent/Customize.blade.php @@ -211,42 +211,22 @@ - - - - - + + + + + @foreach($event->affiliates as $affiliate) - - - - - + + + + + @endforeach @@ -279,10 +259,10 @@ {!! Form::label('social_share_text', 'Social Share Text', array('class'=>'control-label ')) !!} - {{!! Form::textarea('social_share_text', $event->social_share_text, [ + {!! Form::textarea('social_share_text', $event->social_share_text, [ 'class' => 'form-control', 'rows' => 4 - ]) !!}} + ]) !!}
This is the text which will be share by default when a user shares your event on social networks @@ -357,7 +337,7 @@
- +
@@ -424,7 +404,6 @@ {!! Form::submit('Save Changes', ['class'=>"btn btn-success"]) !!} -
- If checked, the buyer will be asked for details of each attendee; as opposed to just - himself. + If checked, the buyer will be asked for details of each attendee; as opposed to just himself.
- Affiliate Name - - Visits Generated - - Ticket Sales Generated - - Sales Volume Generated - - Last Referral - Affiliate NameVisits GeneratedTicket Sales GeneratedSales Volume GeneratedLast Referral
- {{{$affiliate->name}}} - - {{$affiliate->visits}} - - {{$affiliate->tickets_sold}} - - {{money($affiliate->sales_volume, $event->currency->code)}} - - {{{ $affiliate->updated_at->format('M dS H:i A') }}} - {{ $affiliate->name }}{{ $affiliate->visits }}{{ $affiliate->tickets_sold }}{{ money($affiliate->sales_volume, $event->currency->code) }}{{ $affiliate->updated_at->format('M dS H:i A') }}