shcedule form method get

This commit is contained in:
merdan 2020-01-09 14:36:30 +05:00
parent dd1470772e
commit 760cff5a4c
4 changed files with 3 additions and 6 deletions

View File

@ -171,7 +171,7 @@ Route::group(
'uses' => 'EventViewController@showEventHomePreview',
]);
Route::post('{event_id}/checkout/date',[
Route::get('{event_id}/checkout/date',[
'as' => 'postValidateDate',
'uses' => 'EventCheckoutController@postValidateDate'
]);

View File

@ -23,8 +23,7 @@
<div class="time-box-wraper col-md-6" style="padding-left: 5px">
<div class="tab-content" id="myTabContent">
{!! Form::open(['url' => route('postValidateDate', ['event_id' => $event->id])]) !!}
@csrf
{!! Form::open(['url' => route('postValidateDate', ['event_id' => $event->id]),'method'=>'GET']) !!}
@foreach($ticket_dates as $date =>$tickets)
<div class="tab-pane fade show tabcontent @if ($loop->first)active @endif" id="{{$date}}" role="tabpanel" aria-labelledby="{{$date}}-tab">
<div class="time-box-wrap">

View File

@ -11,7 +11,6 @@
<div class="row">
<div class="col-md-12">
<div class="pills-struct mt-5">
@if($tickets->count()>1)
<ul role="tablist" class="nav nav-pills m-auto w-auto justify-content-center" id="choose_seats">
@foreach($tickets as $ticket)
<li class="active" role="presentation" style="display: inline-block;">
@ -23,7 +22,6 @@
</li>
@endforeach
</ul>
@endif
<div class="d-flex mt-5 mb-4" style="width: fit-content; margin: auto">
<span class="text-center" style="width: fit-content; margin: 0 15px; font-size: 18px"><i class="fa fa-circle" style="color: #ebeced; font-size: 13px"></i> {{__('ClientSide.available')}}</span>
<span class="text-center" style="width: fit-content; margin: 0 15px; font-size: 18px"><i class="fa fa-circle" style="color: #69687d; font-size: 13px"></i> {{__('ClientSide.booked')}}</span>

View File

@ -3,7 +3,7 @@
@php
if(!isset($error_number))
$error_number = 500;
$error_number = 419;
$title = 'Error '.$error_number;
@endphp