@extends('layouts.layout-2') @section('content') @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{-- --}}
Willkommen zurück, {{$user->account->first_name}}!
Heute ist {{__('cal.weekdays.'.$now->format('l'))}}, {{$now->format('j')}}. {{__('cal.months.'.$now->format('F'))}} {{$now->format('Y')}}


@if($user->active == 1) @if($user->payment_account && $user->daysActiveAccount() <= config('mivita.renewal_days'))
{{__('Mitgliedschaft / Jahresbeitrag') }}
Achtung: Deine Mitgliedschaft wurde verlängert!
@if($user->daysActiveAccount() <= 0) @if($user->isActiveAccount())
Dein Zahlungsfrist läuft heute aus, bitte aktualisiere jetzt Deine Mitgliedschaft!
@else
Dein Zahlungsfrist ist vor {{ $user->daysActiveAccount()*-1 }} Tagen ausgelaufen, bitte aktualisiere jetzt Deine Mitgliedschaft!
@endif @elseif($user->daysActiveAccount() < config('mivita.abo_booking_days') )
Dein Zahlungsfrist läuft in {{$user->daysActiveAccount()}} Tagen aus, bitte aktualisiere jetzt Deine Mitgliedschaft!
@else
Dein Zahlungsfrist läuft in {{$user->daysActiveAccount()}} Tagen aus, bitte aktualisiere jetzt Deine Mitgliedschaft!
@if($user->abo_options && $user->payment_account)

Deine automatische Verlängerung ist aktiv, wir werden am {!! Carbon::parse($user->payment_account)->modify('-'.config('mivita.abo_booking_days').' days')->format('d.m.Y') !!} Deine Mitgliedschaftsgebühr automatisch per SEPA Mandat einziehen.
@endif @endif

Erst wenn Dein Jahresbeitrag bei uns eingeht wird Deine Mitgliedschaft automastisch für ein Jahr verlängert. Die Verlängerung gilt ab erstes Abschlussdatum ein weiteres volles Jahr, bis zum {{$user->modifyActiveAccount()}}. Sollte nach Ablauf der Zahlungsfrist Dein Jahresbeitrag nicht bei uns eingehen, wird Dein Account gesperrt.

@endif @endif {{--
--}}
{{__('Mitgliedschaft') }}
@if($user->isActiveAccount() )
{{__('Berater-Mitgliedschaft aktiv')}} {{__('bis zum:')}} {{ $user->getPaymentAccountDateFormat() }}
@else
{{__('Berater-Account inaktiv')}} @if($user->payment_account) {{__('abgelaufen am')}}: {{ $user->getPaymentAccountDateFormat() }} @endif
@endif
@if($user->isActiveShop())
{{__('Berater-Online-Shop aktiv')}} {{__('bis zum')}}: {{ $user->getPaymentShopDateFormat() }}
@else
{{__('Berater-Shop inaktiv')}} @if($user->payment_shop) {{__('abgelaufen am')}}: {{ $user->getPaymentShopDateFormat() }} @endif
@endif
{{__('Your Shop') }}
@if($user->isActiveAccount()) @if($user->isActiveShop()) @if($user->shop)

{{__('open since')}} {{__('at')}} {{ $user->shop->getActiveDateFormat() }}

@if($user->shop->active)

{{__('Status')}} {{ __('active') }}

@else

{{__('Status')}} {{ __('inactive') }}

@endif @else {{__('open your shop')}} @endif @else

{{__('Shop nicht gebucht')}}

@endif @endif
@if($user->isActiveShop()) @endif
{{__('Activities') }}
@if($user->active == 1) @if($user->files->count()) @foreach($user->files()->whereIdentifier('contract')->get() as $file) MIVITA_Beratervertrag.pdf
@endforeach @endif

{{__('Daten vollständig, freigeschaltet')}} {{__('at')}}: {{ $user->getActiveDateFormat() }}

@endif @if($user->account_id) @if($user->active == 1) @if($user->agreement)

{{__('Einverständniserklärung')}} {{__('at')}}: {{ $user->getAgreementFormat() }}

@else

{{__('Einverständniserklärung')}} {{ __('nicht akzeptiert') }}

@endif @endif @if($user->account->data_protection)

{{__('Privacy policy approved')}} {{__('at')}}: {{ $user->account->getDataProtectionFormat() }}

@endif @endif @if($user->confirmed == 1)

{{__('E-Mail verified')}} {{__('at')}}: {{ $user->getConfirmationDateFormat() }}

@endif
{{__('Daten') }}
@if($user->active == 1)

{{__('Ändere Deine persönlichen Datan.')}}

{{ __('Adjust data') }} @endif
{{ __('Sicherheit') }}
@if($user->active == 1) @if(!$user->isPasswort())

{{__('Assign a password for your account.')}}

{{__('Create Password')}} @else

{{__('Ändere Dein persönliches Passwort.')}}

{{__('Change password')}} @endif @endif
{{ __('Anmeldung') }}
@if($user->active == 1)

{{__('Ändere Deine E-Mail Adresse.')}}

{{__('Change E-Mail')}} @endif
{{ __('Logout') }}

Abmelden und bis bald.

{{ __('Logout') }}

@endsection