@extends('layout') @section('content')

Veranstaltung bearbeiten

Sitzplan drucken Gesamte Liste {!! Form::model($event,['method' => 'PATCH','route'=>['events.update',$event->id], 'files' => true, 'id' => 'form']) !!}

{!! Form::label('hide_externally', 'Veranstaltung verstecken') !!} {!! Form::checkbox('hide_externally', null) !!}

{!! Form::label('title', 'Titel:') !!} {!! Form::text('title',null,['class'=>'form-control', 'required' => 'required']) !!}

{!! Form::label('image', 'Bild:') !!} {!! Form::file('image', null) !!}

{!! Form::label('starttime', 'Zeit:') !!} {!! Form::time('starttime',null,['class'=>'form-control', 'required' => 'required']) !!}

{!! Form::label('room', 'Raum:') !!} {!! Form::text('room',null,['class'=>'form-control', 'required' => 'required']) !!}

{!! Form::label('shorttext', 'Kurze Beschreibung:') !!} {!! Form::text('shorttext',null,['class'=>'form-control', "maxlength" => "100", 'required' => 'required']) !!}

{!! Form::label('reservation_id', 'Reservation Typ:') !!} {!! Form::select('reservation_id',$reservations, $selReservation, array('disabled')) !!}

{!! Form::label('pinned', 'Top:') !!} {!! Form::checkbox('pinned', null) !!}

Reihe zuweisen
Spalte zuweisen

Ermäßigungen

@if($event->payableWithCultureCard) Das Event kann mit der Kulturkarte bezahlt werden. @else Das Event kann NICHT mit der Kulturkarte bezahlt werden. @endif @foreach($concessions as $concession) @endforeach
{{$concession->name}} {{$concession->perc}} %
{!! Form::label('price_cat_a', 'Preis Kategorie A:') !!} {!! Form::text('price_cat_a',null,['class'=>'form-control', 'data-a-sign'=>"€ ", "data-a-dec"=>",", "data-a-sep"=>".", "disabled"=>"disabled"]) !!}
{!! Form::label('price_cat_b', 'Preis Kategorie B:') !!} {!! Form::text('price_cat_b',null,['class'=>'form-control', 'data-a-sign'=>"€ ", "data-a-dec"=>",", "data-a-sep"=>".", "disabled"=>"disabled"]) !!}
{!! Form::label('price_cat_c', 'Preis Kategorie C:') !!} {!! Form::text('price_cat_c',null,['class'=>'form-control', 'data-a-sign'=>"€ ", "data-a-dec"=>",", "data-a-sep"=>".", "disabled" => "disabled"]) !!}
@if($event["amountSeats"] > 0)
{!! Form::number('amountSeats',$event["amountSeats"],['min'=>$event["amountSeats"]]) !!}
@endif {!! Form::label('text', 'Zusatzinfos:') !!} {!! Form::textarea('text',null,['class'=>'form-control', 'id'=>'article-ckeditor']) !!} {!! Form::label('cat', 'Kategorie:') !!}
@foreach($cats as $cat) {{ Form::checkbox("cat[]", $cat->id, in_array($cat->id,array_pluck($event->categories,'id'))) }} {{$cat->name}}
@endforeach
{!! Form::submit('Update', ['class' => 'btn btn-primary', 'id' => 'update_event_submit']) !!}
{!! Form::close() !!}




{{ Html::script('ckeditor/ckeditor.js') }} @endsection @section('scripts') @endsection