08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
@if($homeparty_user === null)
|
||||
<h4 class="font-weight-bold py-2 mb-2 d-flex justify-content-between align-items-center w-100 ">
|
||||
<div>Auszeitparty / {{ $homeparty->name }} - {{ $homeparty->date }}</div>
|
||||
<div>{{ __('homeparty.homeparty') }} / {{ $homeparty->name }} - {{ $homeparty->date }}</div>
|
||||
</h4>
|
||||
@if(Session::has('alert-save'))
|
||||
<div class="alert alert-dark-secondary alert-dismissible fade show">
|
||||
<div class="font-weight-bold">
|
||||
{{__('saved')}}:
|
||||
Deine Daten erfolgreich wurden angelegt. Viel Spaß bei der Auszeitparty!
|
||||
{{ __('homeparty.your_data_has_been_successfully_created_have_fun') }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
|
@ -24,9 +24,9 @@
|
|||
<h4 class="font-weight-normal mb-0">
|
||||
@if($homeparty_host)
|
||||
@if($homeparty_host->billing_salutation === 'mr')
|
||||
Dein Gastgeber
|
||||
{{ __('homeparty.your_host') }}
|
||||
@else
|
||||
Deine Gastgeberin
|
||||
{{ __('homeparty.your_hostess') }}
|
||||
@endif
|
||||
@endif
|
||||
</h4>
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4 class="font-weight-normal mb-0">Deine MIVITA Beratung</h4>
|
||||
<h4 class="font-weight-normal mb-0">{{ __('homeparty.your_MIVITA_advice') }}</h4>
|
||||
<div class="media align-items-center py-3 mb-3 mt-0">
|
||||
<img src="{{ asset('images/avatar.png') }}" alt="" class="d-block ui-w-80 rounded-circle">
|
||||
<div class="media-body ml-4">
|
||||
|
|
@ -83,21 +83,21 @@
|
|||
<div class="progress-bar" style="width: 100%;"></div>
|
||||
</div>
|
||||
<div class="card-body pt-3 pb-3">
|
||||
<h4 class="font-weight-normal mb-2">Einladung</h4>
|
||||
{{$homeparty->description}}
|
||||
<h4 class="font-weight-normal mb-2">{{ __('homeparty.invitation') }} </h4>
|
||||
{{$homeparty->getLangOrDefault('description', false)}}
|
||||
</div>
|
||||
<div class="card-body pt-0">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="text-muted small">Datum</div>
|
||||
<div class="text-muted small">{{ __('order.date') }} </div>
|
||||
<div class="font-weight-bold">{{$homeparty->date}}</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">Veranstaltungsort</div>
|
||||
<div class="text-muted small">{{ __('homeparty.event_place') }} </div>
|
||||
<div class="font-weight-bold">{{$homeparty->place}} / @if($homeparty->country) {{ $homeparty->country->getLocated() }} @endif</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">Straße / Hausnummer</div>
|
||||
<div class="text-muted small">{{ __('Street') }} / {{ __('House number') }}</div>
|
||||
<div class="font-weight-bold">
|
||||
@if($homeparty_host)
|
||||
{{ $homeparty_host->billing_address }}
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">PLZ & Ort</div>
|
||||
<div class="text-muted small">{{ __('Postcode') }} & {{ __('City') }}</div>
|
||||
<div class="font-weight-bold">
|
||||
@if($homeparty_host)
|
||||
{{ $homeparty_host->billing_zipcode }} {{ $homeparty_host->billing_city }}
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">Land</div>
|
||||
<div class="text-muted small">{{ __('Country') }}</div>
|
||||
<div class="font-weight-bold">
|
||||
@if($homeparty_host && $homeparty_host->billing_country)
|
||||
{{ $homeparty_host->billing_country->de }}
|
||||
|
|
@ -134,52 +134,25 @@
|
|||
<div>
|
||||
<div class="text-body text-big font-weight-semibold">
|
||||
@if($homeparty_user->is_host)
|
||||
<span class="text-muted">Gastgeber/in: </span>
|
||||
<span class="text-muted">{{ __('homeparty.host') }}: </span>
|
||||
@else
|
||||
<span class="text-muted">Gast {{$g_count++}}: </span>
|
||||
<span class="text-muted">{{ __('homeparty.guest') }} {{$g_count++}}: </span>
|
||||
@endif
|
||||
{{$homeparty_user->billing_firstname}} {{$homeparty_user->billing_lastname}}
|
||||
</div>
|
||||
{{-- <span class="badge badge-success align-text-bottom ml-1">offen ...</span> --}}
|
||||
</div>
|
||||
{{-- <div>
|
||||
<a href="{{route('homeparty', [$homeparty->token, $homeparty_user->id])}}" class="btn btn-sm btn-secondary mr-2"><i class="fa fa-edit"></i> bearbeiten</a>
|
||||
</div>
|
||||
--}}
|
||||
</div>
|
||||
{{-- <div class="progress rounded-0" style="height: 2px;">
|
||||
<div class="progress-bar" style="width: 100%;"></div>
|
||||
</div>
|
||||
<div class="card-body pt-3">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="text-muted small">Adresse</div>
|
||||
<div class="font-weight-bold">{{$homeparty_user->billing_address}}
|
||||
{{$homeparty_user->billing_zipcode}}
|
||||
{{$homeparty_user->city}}
|
||||
@if($homeparty_user->billing_country_id){{ $homeparty_user->billing_country->getLocated() }}@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">E-Telefon</div>
|
||||
<div class="font-weight-bold">{{$homeparty_user->billing_phone}}</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-muted small">E-Mail</div>
|
||||
<div class="font-weight-bold">{{$homeparty_user->billing_email}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>--}}
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{route('homeparty', [$homeparty->token, 'new'])}}" class="btn btn-md btn-secondary rounded-pill"><span class="ion ion-md-person-add"></span> als Gast eintragen</a>
|
||||
<a href="{{route('homeparty', [$homeparty->token, 'new'])}}" class="btn btn-md btn-secondary rounded-pill"><span class="ion ion-md-person-add"></span> {{ __('homeparty.add_as_guest') }} </a>
|
||||
|
||||
@else
|
||||
<h4 class="font-weight-bold py-2 mb-2 d-flex justify-content-between align-items-center w-100 ">
|
||||
<div>Auszeitparty / {{ $homeparty->name }} - {{ $homeparty->date }}</div>
|
||||
<a href="{{route('homeparty', [$homeparty->token])}}" class="btn btn-sm btn-default float-right">zurück</a>
|
||||
<div>{{ __('homeparty.homeparty') }} / {{ $homeparty->name }} - {{ $homeparty->date }}</div>
|
||||
<a href="{{route('homeparty', [$homeparty->token])}}" class="btn btn-sm btn-default float-right">{{ __('back') }}</a>
|
||||
</h4>
|
||||
|
||||
{!! Form::open(['url' => route('homeparty', [$homeparty->token, $homeparty_user->id]), 'class' => 'form-horizontal', 'id'=>'homeparty-user-form-validation']) !!}
|
||||
|
|
@ -205,18 +178,18 @@
|
|||
@endif
|
||||
<div class="card mb-4">
|
||||
<div class="col-md-12 px-4 pt-4">
|
||||
<h6 class="mb-2">Eingabe Deiner persönlichen Daten für die Auszeitparty</h6>
|
||||
<p>Hinweis: Aus Datenschutzgründen werden Deine persönlichen Daten hier den anderen Teilnehmern nicht angezeigt. Nach dem Absenden können Sie auch nicht mehr bearbeitet werden. Möchtest Du nachträglich eine Änderung vornehmen, wende Dich bitte an Deinen persönlichen MIVITA Berater.</p>
|
||||
<h6 class="mb-2">{{ __('homeparty.enter_your_personal_data_for_homeparty') }}</h6>
|
||||
<p>{{ __('homeparty.data_protection_reasons_your_personal_data_will_not_be_shown') }}</p>
|
||||
<hr>
|
||||
</div>
|
||||
<h5 class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
@if($homeparty_user->is_host) Gastgeber/in, @else Gast-, @endif Rechungsadresse
|
||||
@if($homeparty_user->is_host) {{ __('homeparty.host') }}, @else {{ __('homeparty.guest') }} , @endif {{ __('homeparty.invoice_address') }}
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<span class="text-tiny float-right">* {{trans('register.required_fields')}}</span>
|
||||
<span class="d-none d-lg-inline">Lieferadresse</span>
|
||||
<span class="d-none d-lg-inline">{{ __('Delivery address') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</h5>
|
||||
|
|
@ -228,8 +201,8 @@
|
|||
<input type="checkbox" class="custom-control-input" name="checkbox_datenverarbeitung" id="checkbox_datenverarbeitung" required>
|
||||
<span class="custom-control-label secondary">
|
||||
<span class="fa fa-angle-double-left text-primary fa-lg"></span>
|
||||
Hiermit willige ich in die im Rahmen der <button type="button" class="btn btn-outline-primary btn-xs update_modal_data_load" data-url="https://my.mivita.test/loading/modal" data-data="data_protection" data-target="#modal-loading">Datenschutzerklärung</button>
|
||||
genannte Datenverarbeitung ein. Ich wurde darüber informiert, dass ich diese Einwilligung jederzeit widerrufen kann.*
|
||||
{!! __('homeparty.acceptect_data_protection', ['datenschutz'=>'<button type="button" class="btn btn-outline-primary btn-xs update_modal_data_load" data-url="https://my.mivita.test/loading/modal" data-data="data_protection" data-target="#modal-loading">'.__('homeparty.data_protection').'</button>']) !!}
|
||||
{{ __('homeparty.revoke_consent_at_any_time') }}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
@ -240,14 +213,14 @@ genannte Datenverarbeitung ein. Ich wurde darüber informiert, dass ich diese Ei
|
|||
<input type="checkbox" class="custom-control-input" name="checkbox_daten_completely" id="checkbox_daten_completely">
|
||||
<span class="custom-control-label secondary">
|
||||
<span class="fa fa-angle-double-left text-primary fa-lg"></span>
|
||||
Ich bestätige, dass meine Daten richtig und vollständig sind. Eine Änderung ist nach dem Absenden nur noch über meinen persönlichen MIVITA Berater möglich.*
|
||||
{{ __('homeparty.confirm_my_data_is_correct_and_complete') }}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary mr-2 mb-2" name="action" value="homeparty-user-store"> @if($homeparty_user->id) {{ __('Änderungen speichern') }} @else {{ __('absenden') }} @endif</button>
|
||||
<button type="submit" class="btn btn-secondary mr-2 mb-2" name="action" value="homeparty-user-store"> @if($homeparty_user->id) {{ __('save changes') }} @else {{ __('sended') }} @endif</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
|
@ -266,22 +239,22 @@ genannte Datenverarbeitung ein. Ich wurde darüber informiert, dass ich diese Ei
|
|||
});
|
||||
|
||||
$.extend( $.validator.messages, {
|
||||
required: "Dieses Feld ist ein Pflichtfeld.",
|
||||
maxlength: $.validator.format( "Geben Sie bitte maximal {0} Zeichen ein." ),
|
||||
minlength: $.validator.format( "Geben Sie bitte mindestens {0} Zeichen ein." ),
|
||||
rangelength: $.validator.format( "Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein." ),
|
||||
email: "Geben Sie bitte eine gültige E-Mail Adresse ein.",
|
||||
url: "Geben Sie bitte eine gültige URL ein.",
|
||||
date: "Bitte geben Sie ein gültiges Datum ein.",
|
||||
number: "Geben Sie bitte eine Nummer ein.",
|
||||
digits: "Geben Sie bitte nur Ziffern ein.",
|
||||
equalTo: "Bitte denselben Wert wiederholen.",
|
||||
range: $.validator.format( "Geben Sie bitte einen Wert zwischen {0} und {1} ein." ),
|
||||
max: $.validator.format( "Geben Sie bitte einen Wert kleiner oder gleich {0} ein." ),
|
||||
min: $.validator.format( "Geben Sie bitte einen Wert größer oder gleich {0} ein." ),
|
||||
creditcard: "Geben Sie bitte eine gültige Kreditkarten-Nummer ein."
|
||||
required: "{{__('account.validator_required')}}",
|
||||
maxlength: $.validator.format( "{{__('account.validator_maxlength')}}" ),
|
||||
minlength: $.validator.format( "{{__('account.validator_minlength')}}" ),
|
||||
rangelength: $.validator.format( "{{__('account.validator_rangelength')}}" ),
|
||||
email: "{{__('account.validator_email')}}",
|
||||
url: "{{__('account.validator_url')}}",
|
||||
date: "{{__('account.validator_date')}}",
|
||||
number: "{{__('account.validator_number')}}",
|
||||
digits: "{{__('account.validator_digits')}}",
|
||||
equalTo: "{{__('account.validator_equalTo')}}",
|
||||
range: $.validator.format( "{{__('account.validator_range')}}" ),
|
||||
max: $.validator.format( "{{__('account.validator_max')}}" ),
|
||||
min: $.validator.format( "{{__('account.validator_min')}}" ),
|
||||
creditcard: "{{__('account.validator_creditcard')}}"
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
// Set up validator
|
||||
|
|
@ -307,7 +280,7 @@ genannte Datenverarbeitung ein. Ich wurde darüber informiert, dass ich diese Ei
|
|||
required: "{{__('This field is required.')}}",
|
||||
},
|
||||
salutation : {
|
||||
required: "{{__('Bitte angeben.')}}",
|
||||
required: "{{__('please specify')}}",
|
||||
},
|
||||
first_name : {
|
||||
required: "{{__('This field is required.')}}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue