@extends('layouts.layout-2-without') @section('content') @if($homeparty_user === null)

{{ __('homeparty.homeparty') }} / {{ $homeparty->name }} - {{ $homeparty->date }}

@if(Session::has('alert-save'))
{{__('saved')}}: {{ __('homeparty.your_data_has_been_successfully_created_have_fun') }}
@endif

@if($homeparty_host) @if($homeparty_host->billing_salutation === 'mr') {{ __('homeparty.your_host') }} @else {{ __('homeparty.your_hostess') }} @endif @endif

@if($homeparty_host) {{$homeparty_host->billing_firstname}} {{$homeparty_host->billing_lastname}} @endif
@if($homeparty_host) {{ $homeparty_host->billing_email }} @endif
@if($homeparty_host) {{ $homeparty_host->billing_phone }} @endif

{{ __('homeparty.your_MIVITA_advice') }}

@if($mivita_member) {{ $mivita_member->account->first_name }} {{ $mivita_member->account->last_name }} @endif
@if($mivita_member) {{ $mivita_member->email }} @endif
@if($mivita_member) {{ $mivita_member->account->getPhoneNumber() }} @endif

{{ __('homeparty.invitation') }}

{{$homeparty->getLangOrDefault('description', false)}}
{{ __('order.date') }}
{{$homeparty->date}}
{{ __('homeparty.event_place') }}
{{$homeparty->place}} / @if($homeparty->country) {{ $homeparty->country->getLocated() }} @endif
{{ __('Street') }} / {{ __('House number') }}
@if($homeparty_host) {{ $homeparty_host->billing_address }} @endif
{{ __('Postcode') }} & {{ __('City') }}
@if($homeparty_host) {{ $homeparty_host->billing_zipcode }} {{ $homeparty_host->billing_city }} @endif
{{ __('Country') }}
@if($homeparty_host && $homeparty_host->billing_country) {{ $homeparty_host->billing_country->de }} @endif
@php($g_count = 1) @foreach($homeparty->homeparty_guests as $homeparty_user)
@if($homeparty_user->is_host) {{ __('homeparty.host') }}: @else {{ __('homeparty.guest') }} {{$g_count++}}: @endif {{$homeparty_user->billing_firstname}} {{$homeparty_user->billing_lastname}}
@endforeach
  {{ __('homeparty.add_as_guest') }} @else

{{ __('homeparty.homeparty') }} / {{ $homeparty->name }} - {{ $homeparty->date }}
{{ __('back') }}

{!! Form::open(['action' => route('homeparty', [$homeparty->token, $homeparty_user->id]), 'class' => 'form-horizontal', 'id'=>'homeparty-user-form-validation']) !!} @if(Session::has('alert-save'))
{{__('saved')}}: {{__('The changes have been saved.')}}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ __('homeparty.enter_your_personal_data_for_homeparty') }}

{{ __('homeparty.data_protection_reasons_your_personal_data_will_not_be_shown') }}


@if($homeparty_user->is_host) {{ __('homeparty.host') }}, @else {{ __('homeparty.guest') }} , @endif {{ __('homeparty.invoice_address') }}
* {{trans('register.required_fields')}} {{ __('Delivery address') }}
@include('user.homeparty._edit')
 
{!! Form::close() !!} @endif @endsection