From a2918af55bf45955edd5b6e2ed2c69de92fcd926 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 11 Apr 2016 14:52:31 +0100 Subject: [PATCH] Fixed display issue with checkout form and payment setting form --- .../Partials/PaymentGatewayOptions.blade.php | 24 +++++--- .../EventCreateOrderSection.blade.php | 57 ++++++++++--------- 2 files changed, 46 insertions(+), 35 deletions(-) diff --git a/resources/views/ManageAccount/Partials/PaymentGatewayOptions.blade.php b/resources/views/ManageAccount/Partials/PaymentGatewayOptions.blade.php index 9797aef8..e235ed78 100644 --- a/resources/views/ManageAccount/Partials/PaymentGatewayOptions.blade.php +++ b/resources/views/ManageAccount/Partials/PaymentGatewayOptions.blade.php @@ -53,22 +53,28 @@ {!! Form::text('paypal[password]', $account->getGatewayConfigVal(config('attendize.payment_gateway_paypal'), 'password'),[ 'class'=>'form-control']) !!} + +
{!! Form::label('paypal[signature]', 'PayPal Signature', array('class'=>'control-label ')) !!} {!! Form::text('paypal[signature]', $account->getGatewayConfigVal(config('attendize.payment_gateway_paypal'), 'signature'),[ 'class'=>'form-control']) !!}
-
-
- {!! Form::label('paypal[brandName]', 'Branding Name', array('class'=>'control-label ')) !!} - {!! Form::text('paypal[brandName]', $account->getGatewayConfigVal(config('attendize.payment_gateway_paypal'), 'brandName'),[ 'class'=>'form-control']) !!} -
- This is the name buyers will see when checking out. Leave this blank if you want the event organiser's name to be used. +
+
+
+
+ {!! Form::label('paypal[brandName]', 'Branding Name', array('class'=>'control-label ')) !!} + {!! Form::text('paypal[brandName]', $account->getGatewayConfigVal(config('attendize.payment_gateway_paypal'), 'brandName'),[ 'class'=>'form-control']) !!} +
+ This is the name buyers will see when checking out. Leave this blank if you want the event organiser's name to be used. +
-
+ + {{--BitPay--}} @@ -102,6 +108,8 @@ {!! Form::text('coinbase[secret]', $account->getGatewayConfigVal(config('attendize.payment_gateway_coinbase'), 'secret'),[ 'class'=>'form-control']) !!}
+ +
{!! Form::label('coinbase[accountId]', 'Account ID', array('class'=>'control-label ')) !!} @@ -109,6 +117,8 @@
+ + diff --git a/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php b/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php index 56b08696..83fdd097 100644 --- a/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php +++ b/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php @@ -89,42 +89,43 @@ $total_attendee_increment = 0; ?> @foreach($tickets as $ticket) - @for($i=0; $i<=$ticket['qty']-1; $i++) -
-
-

- {{$ticket['ticket']['title']}}: Ticket Holder {{$i+1}} Details -

-
+ @for($i=0; $i<=$ticket['qty']-1; $i++) +
-
-
-
-
- {!! Form::label("ticket_holder_first_name[{$i}][{$ticket['ticket']['id']}]", 'First Name') !!} - {!! Form::text("ticket_holder_first_name[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_first_name.$i.{$ticket['ticket']['id']} ticket_holder_first_name form-control"]) !!} +
+

+ {{$ticket['ticket']['title']}}: Ticket Holder {{$i+1}} Details +

+
+
+
+
+
+ {!! Form::label("ticket_holder_first_name[{$i}][{$ticket['ticket']['id']}]", 'First Name') !!} + {!! Form::text("ticket_holder_first_name[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_first_name.$i.{$ticket['ticket']['id']} ticket_holder_first_name form-control"]) !!} +
+
+
+
+ {!! Form::label("ticket_holder_last_name[{$i}][{$ticket['ticket']['id']}]", 'Last Name') !!} + {!! Form::text("ticket_holder_last_name[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_last_name.$i.{$ticket['ticket']['id']} ticket_holder_last_name form-control"]) !!} +
-
-
- {!! Form::label("ticket_holder_last_name[{$i}][{$ticket['ticket']['id']}]", 'Last Name') !!} - {!! Form::text("ticket_holder_last_name[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_last_name.$i.{$ticket['ticket']['id']} ticket_holder_last_name form-control"]) !!} +
+
+
+ {!! Form::label("ticket_holder_email[{$i}][{$ticket['ticket']['id']}]", 'Email Address') !!} + {!! Form::text("ticket_holder_email[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_email.$i.{$ticket['ticket']['id']} ticket_holder_email form-control"]) !!} +
-
-
- {!! Form::label("ticket_holder_email[{$i}][{$ticket['ticket']['id']}]", 'Email Address') !!} - {!! Form::text("ticket_holder_email[{$i}][{$ticket['ticket']['id']}]", null, ['required' => 'required', 'class' => "ticket_holder_email.$i.{$ticket['ticket']['id']} ticket_holder_email form-control"]) !!} -
-
- @include('Public.ViewEvent.Partials.AttendeeQuestions', ['ticket' => $ticket['ticket'],'attendee_number' => $total_attendee_increment++])
+ + @include('Public.ViewEvent.Partials.AttendeeQuestions', ['ticket' => $ticket['ticket'],'attendee_number' => $total_attendee_increment++])
-
- - @endfor - + @endfor @endforeach