08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -10,24 +10,24 @@
|
|||
|
||||
@endif
|
||||
</div>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-sm btn-default float-right">zurück</a>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-sm btn-default float-right">{{ __('back') }}</a>
|
||||
</h4>
|
||||
<div class="nav-tabs-top mb-4">
|
||||
<ul class="nav nav-tabs nav-responsive-xl">
|
||||
@if(!$step || $step >= 1)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if(!$step || $step == 1 || $step == 10) active @endif" data-toggle="tab" href="#navs-top-homeparty">Auszeitparty</a>
|
||||
<a class="nav-link @if(!$step || $step == 1 || $step == 10) active @endif" data-toggle="tab" href="#navs-top-homeparty">{{ __('homeparty.homeparty') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if($homeparty->id)
|
||||
@if($step && $step >= 2)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if($step == 2 || $step == 12) active @endif" data-toggle="tab" href="#navs-top-address">Lieferadresse</a>
|
||||
<a class="nav-link @if($step == 2 || $step == 12) active @endif" data-toggle="tab" href="#navs-top-address">{{ __('Delivery address') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if($step && $step >= 3)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if($step == 3 || $step == 13) active @endif" data-toggle="tab" href="#navs-top-host">Gastgeber:in</a>
|
||||
<a class="nav-link @if($step == 3 || $step == 13) active @endif" data-toggle="tab" href="#navs-top-host">{{ __('homeparty.host') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
|
|
@ -41,15 +41,15 @@
|
|||
@if($homeparty->step < 10)
|
||||
<div class="col-12">
|
||||
<span class="text-tiny float-right">* {{trans('register.required_fields')}}</span>
|
||||
Auszeitparty verwalten
|
||||
{{ __('homeparty.homeparty_manage') }}
|
||||
</div>
|
||||
@else
|
||||
<div class="col-12">
|
||||
<div class="d-flex justify-content-between align-items-center w-100">
|
||||
<div>Auszeitparty verwalten</div>
|
||||
<div>{{ __('homeparty.homeparty_manage') }}</div>
|
||||
<div class="float-right">
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> Gäste anlegen</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> Bestellung</a>
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> {{ __('homeparty.create_guests') }}</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> {{ __('homeparty.order') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -59,8 +59,8 @@
|
|||
<div class="card-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-3 {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
<label for="name" class="form-label">{{ __('Gastgeber / Veranstalter') }}*</label>
|
||||
{{ Form::text('name', $homeparty->name, array('placeholder'=>__('Gastgeber / Veranstalter'), 'class'=>'form-control', 'required')) }}
|
||||
<label class="form-label">{{ __('homeparty.host_organiser_event') }}*</label>
|
||||
{{ Form::text('name', $homeparty->name, array('placeholder'=>__('homeparty.host_organiser_event'), 'class'=>'form-control', 'required')) }}
|
||||
@if ($errors->has('name'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('name') }}</strong>
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-3 {{ $errors->has('date') ? 'has-error' : '' }}">
|
||||
<label for="date" class="form-label">{{ __('Veranstaltungsdatum') }}*</label>
|
||||
<label for="date" class="form-label">{{ __('homeparty.event_date') }}*</label>
|
||||
{{ Form::text('date', $homeparty->date, array('placeholder'=>Util::formatDate(), 'data-date-format'=>Util::formatDate(), 'data-start_view'=>2, 'class'=>'form-control datepicker-base', 'required')) }}
|
||||
@if ($errors->has('date'))
|
||||
<span class="help-block">
|
||||
|
|
@ -77,8 +77,8 @@
|
|||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-3 {{ $errors->has('place') ? 'has-error' : '' }}">
|
||||
<label for="place" class="form-label">{{ __('Veranstaltungsort') }}*</label>
|
||||
{{ Form::text('place', $homeparty->place, array('placeholder'=>__('Veranstaltungsort'), 'class'=>'form-control', 'required')) }}
|
||||
<label for="place" class="form-label">{{ __('homeparty.event_place') }}*</label>
|
||||
{{ Form::text('place', $homeparty->place, array('placeholder'=>__('homeparty.event_place'), 'class'=>'form-control', 'required')) }}
|
||||
@if ($errors->has('place'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('place') }}</strong>
|
||||
|
|
@ -88,12 +88,12 @@
|
|||
|
||||
@if($homeparty->id)
|
||||
<div class="form-group col-md-3 {{ $errors->has('country_id') ? 'has-error' : '' }}">
|
||||
<label class="form-label">{{ __('Lieferland') }}*</label>
|
||||
<label class="form-label">{{ __('Delivery country') }}*</label>
|
||||
<div class="mt-2">@if($homeparty->country) {{ $homeparty->country->getLocated() }} @endif</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="form-group col-md-3 {{ $errors->has('country_id') ? 'has-error' : '' }}">
|
||||
<label class="form-label">{{ __('Lieferland') }}*</label>
|
||||
<label class="form-label">{{ __('Delivery country') }}*</label>
|
||||
{{ Form::select('country_id', \App\Models\ShippingCountry::getActiveShippingCountries(), $homeparty->country_id, array('data-live-search'=>'false', 'class'=>'selectpicker', 'id'=>'country_id') ) }}
|
||||
@if ($errors->has('country_id'))
|
||||
<span class="help-block">
|
||||
|
|
@ -102,33 +102,33 @@
|
|||
@endif
|
||||
</div>
|
||||
<div class="form-group col-md-12 text-right">
|
||||
<i> Das Lieferland kann nach dem Anlegen nicht mehr geändert werden. Alle Lieferadressen müssen in diesem Land sein.</i>
|
||||
<i> {{ __('homeparty.country_can_no_longer_be_changed_after_created') }}</i>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="description">{{ __('Beschreibung / Willkommenstext') }}</label>
|
||||
{{ Form::textarea('description', $homeparty->description , array('placeholder'=>__('Beschreibung'), 'class'=>'form-control', 'rows'=>5)) }}
|
||||
<label class="form-label" for="description">{{ __('homeparty.description_welcome_text') }} | <strong style="text-transform: uppercase"> {{ __('website.language') }} {{ \App::getLocale() }}</strong></label>
|
||||
{{ Form::textarea('description', $homeparty->getLangOrDefault('description', false) , array('placeholder'=>__('homeparty.description_welcome_text'), 'class'=>'form-control', 'rows'=>5)) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-secondary mr-2 mb-2" name="action" value="homeparty-party-store-detail">
|
||||
@if($homeparty->id) {{ __('Änderungen speichern') }} @else {{ __('Neue Auszeitparty anlegen') }} @endif</button>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">zurück zur Übersicht</a>
|
||||
@if($homeparty->id) {{ __('save changes') }} @else {{ __('homeparty.create_new_homeparty') }} @endif</button>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">{{ __('back_to_overview') }}</a>
|
||||
</div>
|
||||
@if($homeparty->id && $homeparty->step >= 10)
|
||||
<hr>
|
||||
<div class="pt-2">
|
||||
<label class="form-label">Einladungslink für Gäste <span class="text-muted"> (lass Deine Gäste ihre Daten selber ausfüllen)</span></label>
|
||||
<label class="form-label">{{ __('homeparty.invitation_link_for_guests') }} <span class="text-muted"> ({{ __('homeparty.let_your_guests_fill_in_their_own_details') }})</span></label>
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<span class="input-group-prepend">
|
||||
<button class="btn btn-secondary" type="button" title="Kopiert!" data-clipboard-demo data-clipboard-target="#homeparty_link"><i class="ion ion-ios-copy"></i> Link kopieren</button>
|
||||
<button class="btn btn-secondary" type="button" title="{{ __('homeparty.copy') }}" data-clipboard-demo data-clipboard-target="#homeparty_link"><i class="ion ion-ios-copy"></i> {{ __('homeparty.copy_link') }}</button>
|
||||
</span>
|
||||
<input type="text" class="form-control" name="homeparty_link" value="{{ $homeparty->getTokenLink() }}" id="homeparty_link" placeholder="">
|
||||
</div>
|
||||
</div>
|
||||
<p>Teile diesen Link mit den Gästen (z.B. WhatsApp oder SMS), damit gelangt sie auf eine Zielseite wo sie ihre Daten selber ausfüllen können. Nutze das „Kopier-Symbol“, um den Link gleich in Deine Zwischenablage zu kopieren.</p>
|
||||
<p>{{ __('homeparty.copy_link_info') }}</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -144,15 +144,15 @@
|
|||
@if($homeparty->step < 10)
|
||||
<div class="col-12">
|
||||
<span class="text-tiny float-right">* {{trans('register.required_fields')}}</span>
|
||||
Lieferadresse Auszeitparty {{ $homeparty->name }}
|
||||
{{ __('homeparty.delivery_address_homeparty') }} {{ $homeparty->name }}
|
||||
</div>
|
||||
@else
|
||||
<div class="col-12">
|
||||
<div class="d-flex justify-content-between align-items-center w-100">
|
||||
<div>Lieferadresse Auszeitparty {{ $homeparty->name }}</div>
|
||||
<div>{{ __('homeparty.delivery_address_homeparty') }} {{ $homeparty->name }}</div>
|
||||
<div class="float-right">
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> Gäste anlegen</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> Bestellung</a>
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> {{ __('homeparty.') }}Gäste anlegen</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> {{ __('homeparty.') }}Bestellung</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -160,12 +160,12 @@
|
|||
</div>
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<p>Trage hier bitte die zentrale Lieferadresse für die getätigten Bestellungen dieser Auszeitparty. Das kann Deine eigene Adresse aber auch die des Gastgebers sein. Je nachdem, wie Du die Verteilung der Produkte mit Deinen Gästen organisieren möchtest.</p>
|
||||
<p>Wenn ein Gast seine Bestellung direkt an seine persönliche Adresse geschickt haben möchte, kannst Du das im Bestellprozess gesondert angeben.</p>
|
||||
<p>{{ __('homeparty.please_enter_delivery_address_info') }}</p>
|
||||
<p>{{ __('homeparty.guest_order_sent_directly_info') }}</p>
|
||||
<hr>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="shipping_company" class="form-label">{{ __('Company name') }} (optional)</label>
|
||||
<label for="shipping_company" class="form-label">{{ __('Company name') }} ({{__('optional')}})</label>
|
||||
{{ Form::text('shipping_company', $homeparty_user->shipping_company, array('placeholder'=>__('Company name'), 'class'=>'form-control', 'id'=>'shipping_company',)) }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -216,8 +216,8 @@
|
|||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12 {{ $errors->has('shipping_address_2') ? 'has-error' : '' }}">
|
||||
<label class="form-label" for="shipping_address_2">{{ __('Wohnung / Gebäude (optional)') }}</label>
|
||||
{{ Form::text('shipping_address_2', $homeparty_user->shipping_address_2, array('placeholder'=>__('Wohnung / Gebäude (optional)'), 'class'=>'form-control', 'id'=>'shipping_address_2')) }}
|
||||
<label class="form-label" for="shipping_address_2">{{ __('Flat Building optional') }}</label>
|
||||
{{ Form::text('shipping_address_2', $homeparty_user->shipping_address_2, array('placeholder'=>__('Flat Building optional'), 'class'=>'form-control', 'id'=>'shipping_address_2')) }}
|
||||
@if ($errors->has('shipping_address_2'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('shipping_address_2') }}</strong>
|
||||
|
|
@ -250,7 +250,7 @@
|
|||
<div class="form-group col-md-12">
|
||||
{{ Form::hidden('shipping_country_id', $homeparty_user->shipping_country_id) }}
|
||||
<label class="form-label">{{ __('Country') }}</label>
|
||||
<div class="">@if($homeparty_user->shipping_country) {{ $homeparty_user->shipping_country->getLocated() }} @endif <i>(Das Land kann nicht mehr geändert werden.)</i></div>
|
||||
<div class="">@if($homeparty_user->shipping_country) {{ $homeparty_user->shipping_country->getLocated() }} @endif <i>({{ __('order.land_can_no_longer_be_changed') }}.)</i></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
|
|
@ -267,9 +267,9 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-secondary mr-2 mb-2" name="action" value="homeparty-party-store-address">
|
||||
Lieferadresse speichern
|
||||
{{ __('Delivery address') }} {{ __('save') }}
|
||||
</button>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">zurück zur Übersicht</a>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">{{ __('back_to_overview') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -284,15 +284,15 @@
|
|||
@if($homeparty->step < 10)
|
||||
<div class="col-12">
|
||||
<span class="text-tiny float-right">* {{trans('register.required_fields')}}</span>
|
||||
Gastgeber:in Auszeitparty {{ $homeparty->name }}
|
||||
{{ __('homeparty.host_homeparty') }} {{ $homeparty->name }}
|
||||
</div>
|
||||
@else
|
||||
<div class="col-12">
|
||||
<div class="d-flex justify-content-between align-items-center w-100">
|
||||
<div>Gastgeber:in Auszeitparty {{ $homeparty->name }}</div>
|
||||
<div>{{ __('homeparty.host_homeparty') }} {{ $homeparty->name }}</div>
|
||||
<div class="float-right">
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> Gäste anlegen</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> Bestellung</a>
|
||||
<a href="{{route('user_homeparty_guests', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-person-add"></i> {{ __('homeparty.create_guests') }}</a>
|
||||
<a href="{{route('user_homeparty_order', [$homeparty->id])}}" class="btn btn-sm btn-secondary mr-2 mb-1"><i class="ion ion-md-basket"></i> {{ __('homeparty.order') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -300,12 +300,12 @@
|
|||
</div>
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<p>Trage hier bitte die Adresse des Gastgeber:in wo die Auszeitparty organisiert wird.</p>
|
||||
<p>Die Rechnung von mivita wird an deine Adresse (Berater:in) gestellt. Die Abrechnung mit dem Gastgeber:in und den Gästern übernimmst du selbst.</p>
|
||||
<p>{{ __('homeparty.homeparty_add_host_address_info') }}</p>
|
||||
<p>{{ __('homeparty.homeparty_invoice_info') }}</p>
|
||||
<hr>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="billing_company" class="form-label">{{ __('Company name') }} (optional)</label>
|
||||
<label for="billing_company" class="form-label">{{ __('Company name') }} ({{__('optional')}})</label>
|
||||
{{ Form::text('billing_company', $homeparty_user->billing_company, array('placeholder'=>__('Company name'), 'class'=>'form-control', 'id'=>'billing_company', 'tabindex' => 1)) }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -357,8 +357,8 @@
|
|||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12 {{ $errors->has('billing_address_2') ? 'has-error' : '' }}">
|
||||
<label class="form-label" for="billing_address_2">{{ __('Wohnung / Gebäude (optional)') }}</label>
|
||||
{{ Form::text('billing_address_2', $homeparty_user->billing_address_2, array('placeholder'=>__('Wohnung / Gebäude (optional)'), 'class'=>'form-control', 'id'=>'billing_address_2', 'tabindex' => 6)) }}
|
||||
<label class="form-label" for="billing_address_2">{{ __('Flat Building optional') }}</label>
|
||||
{{ Form::text('billing_address_2', $homeparty_user->billing_address_2, array('placeholder'=>__('Flat Building optional'), 'class'=>'form-control', 'id'=>'billing_address_2', 'tabindex' => 6)) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
|
|
@ -385,7 +385,7 @@
|
|||
<div class="form-group col-md-12">
|
||||
{{ Form::hidden('billing_country_id', $homeparty_user->billing_country_id) }}
|
||||
<label class="form-label">{{ __('Country') }}</label>
|
||||
<div class="">@if($homeparty_user->billing_country) {{ $homeparty_user->billing_country->getLocated() }} @endif <i>(Das Land kann nicht mehr geändert werden.)</i></div>
|
||||
<div class="">@if($homeparty_user->billing_country) {{ $homeparty_user->billing_country->getLocated() }} @endif <i>({{ __('order.land_can_no_longer_be_changed') }}.)</i></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
|
|
@ -402,9 +402,9 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-secondary mr-2 mb-2" name="action" value="homeparty-party-store-host">
|
||||
Gastgeber:in Adresse speichern
|
||||
{{ __('homeparty.host_address_save') }}
|
||||
</button>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">zurück zur Übersicht</a>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-default mb-2">{{ __('back_to_overview') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -432,21 +432,22 @@
|
|||
});
|
||||
|
||||
$.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')}}"
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -496,7 +497,7 @@
|
|||
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