main system
This commit is contained in:
parent
0baac018a2
commit
a96d7d5c77
115 changed files with 4589 additions and 557 deletions
|
|
@ -28,12 +28,12 @@
|
|||
@if($userHistoryPaymentOrder && $userHistoryPaymentOrder->status > 2)
|
||||
<h6 class="alert badge-{{$userHistoryPaymentOrder->getStatusColor()}}">Eine Zahlung wurde ausgeführt. Status: {{ trans('payment.status.'.$userHistoryPaymentOrder->getStatusType())}}</h6>
|
||||
@endif
|
||||
@if($user->payment_account && $user->isAboOption())
|
||||
{{-- @if($user->payment_account && $user->isAboOption())
|
||||
@if($user->payment_account && $user->isAboOption())
|
||||
@if($user->daysActiveAccount() < config('mivita.abo_booking_days') )
|
||||
<p class="alert py-2 px-2 badge-secondary">Wir konnten am <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('mivita.abo_booking_days').' days')->format('d.m.Y') !!}</strong> Deine Mitgliedschaftsgebühr <strong>nicht</strong> automatisch per SEPA Mandat einziehen.<br>
|
||||
@if($user->daysActiveAccount() < config('main.abo_booking_days') )
|
||||
<p class="alert py-2 px-2 badge-secondary">Wir konnten am <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('main.abo_booking_days').' days')->format('d.m.Y') !!}</strong> Deine Mitgliedschaftsgebühr <strong>nicht</strong> automatisch per SEPA Mandat einziehen.<br>
|
||||
@else
|
||||
<p class="alert py-2 px-2 badge-secondary">Deine automatische Verlängerung ist aktiv, wir werden am <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('mivita.abo_booking_days').' days')->format('d.m.Y') !!}</strong> Deine Mitgliedschaftsgebühr automatisch per SEPA Mandat einziehen.<br>
|
||||
<p class="alert py-2 px-2 badge-secondary">Deine automatische Verlängerung ist aktiv, wir werden am <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('main.abo_booking_days').' days')->format('d.m.Y') !!}</strong> Deine Mitgliedschaftsgebühr automatisch per SEPA Mandat einziehen.<br>
|
||||
@endif
|
||||
<hr>
|
||||
@endif
|
||||
|
|
@ -42,6 +42,7 @@
|
|||
<p></p>
|
||||
@endif
|
||||
@endif
|
||||
--}}
|
||||
@if($user->payment_order_id)
|
||||
@if($user->payment_order_product->identifier === 'show_upgrade')
|
||||
<p><strong>Eine Rückstufung Deiner Berater-Mitgliedschaft ist nicht mehr möglich.</strong></p>
|
||||
|
|
@ -68,7 +69,7 @@
|
|||
</div>
|
||||
@else
|
||||
|
||||
{{-- no Shop - Upgrade --}}
|
||||
{{-- no Shop - Upgrade
|
||||
@if($user->isActiveAccount() && !$user->isActiveShop())
|
||||
<div class="card w-100 mb-4">
|
||||
<h5 class="card-header">{{__('MIVITA BUSINESS Paket')}} {{__('Upgrade')}}</h5>
|
||||
|
|
@ -94,8 +95,9 @@
|
|||
</div>
|
||||
</div>
|
||||
@endif
|
||||
--}}
|
||||
|
||||
{{-- upgrade downgrade next booking --}}
|
||||
{{-- upgrade downgrade next booking
|
||||
@if($user->payment_account)
|
||||
<div class="card w-100 mb-4">
|
||||
<h5 class="card-header">{{__('Mitgliedschaft')}} {{__('anpassen')}}</h5>
|
||||
|
|
@ -106,13 +108,29 @@
|
|||
</div>
|
||||
</div>
|
||||
@endif
|
||||
--}}
|
||||
|
||||
|
||||
|
||||
{{-- upgrade downgrade next booking level --}}
|
||||
@if($user->payment_account)
|
||||
<div class="card w-100 mb-4">
|
||||
<h5 class="card-header">{{__('Mitgliedschaft')}} {{__('anpassen')}}</h5>
|
||||
<div class="card-body">
|
||||
<h6 class="d-block text-dark">Du kannst Deine Mitglidschaftsrolle bis zur nächsten Vertragsverlängerung ({{ $user->nextRenewalAccount() }}), ändern.
|
||||
<br> <span class="small">Erst nach der Verlängerug ist die neue Rolle aktiv.</span>
|
||||
</h6>
|
||||
@include('user.membership._change_level')
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
{{-- remove ABO Options --}}
|
||||
{{-- remove ABO Options
|
||||
@if($user->payment_account && $user->isAboOption())
|
||||
<div class="card w-100 mb-4">
|
||||
{!! Form::open(['url' => route('user_membership_store', ['remove_abo']), 'class' => 'form-horizontal']) !!}
|
||||
|
|
@ -120,7 +138,7 @@
|
|||
|
||||
<div class="card-body">
|
||||
<p>Automatische Verlängerung dekativeren und SEPA Mandat zurückziehen.<br>
|
||||
Die nächste Buchung ist am: <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('mivita.abo_booking_days').' days')->format('d.m.Y') !!}</strong></p>
|
||||
Die nächste Buchung ist am: <strong>{!! Carbon::parse($user->payment_account)->modify('-'.config('main.abo_booking_days').' days')->format('d.m.Y') !!}</strong></p>
|
||||
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" name="abo_options_remove">
|
||||
|
|
@ -131,6 +149,7 @@
|
|||
{!! Form::close() !!}
|
||||
</div>
|
||||
@endif
|
||||
--}}
|
||||
|
||||
@if($user->payment_account)
|
||||
<div class="card w-100 mb-4">
|
||||
|
|
@ -139,15 +158,15 @@
|
|||
|
||||
<div class="card-body">
|
||||
|
||||
<p>Du möchtest kein MIVITA Berater mehr sein und Deine Mitgliedschaft beenden?<br>
|
||||
<p>Du möchtest kein Berater mehr sein und Deine Mitgliedschaft beenden?<br>
|
||||
Damit gibst du alle möglichen Provisionen, Vergünstigungen, Zugang zum Sales-Center und noch viel mehr auf. Mit absenden dieser Option erhalten wir ein Nachricht und kümmern uns um die Löschung Deines Accounts. Dieser Vorgang kann ein paar Tage dauern.</p>
|
||||
|
||||
@if($userHistoryDeleteMembership && $userHistoryDeleteMembership->status == 50)
|
||||
<p class="alert py-2 px-2 badge-danger">Die Beendigung und Löschung Deiner MIVITA Mitgliedschaft ist beantragt.<br>
|
||||
<p class="alert py-2 px-2 badge-danger">Die Beendigung und Löschung Deiner Mitgliedschaft ist beantragt.<br>
|
||||
@else
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" name="delete_membership_mivita">
|
||||
<span class="custom-control-label secondary">Ja, ich möchte die MIVITA Mitgliedschaft beenden, ich verzichte auf jeglichen Anspruch gegenüber MIVITA und möchte, dass mein Account gelöscht wird!</span>
|
||||
<input type="checkbox" class="custom-control-input" name="delete_membership">
|
||||
<span class="custom-control-label secondary">Ja, ich möchte die Mitgliedschaft beenden, ich verzichte auf jeglichen Anspruch gegenüber und möchte, dass mein Account gelöscht wird!</span>
|
||||
</label>
|
||||
<button type="submit" class="btn btn-default btn-sm">{{ __('Mitgliedschaft hiermit beenden') }}</button>
|
||||
@endif
|
||||
|
|
@ -165,10 +184,18 @@
|
|||
<ul class="list-group list-group-flush">
|
||||
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{__('gebuchtes Paket')}}</div>
|
||||
<div class="text-muted">{{__('Rolle')}}</div>
|
||||
<div class="text-right">
|
||||
@if($user->payment_order_id)
|
||||
{{ $user->payment_order_product->name }}
|
||||
@if($user->m_level && $user->user_level)
|
||||
{{ $user->user_level->name }}
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{__('Guthaben')}}</div>
|
||||
<div class="text-right">
|
||||
@if($user->payment_credit)
|
||||
{{ $user->getFormattedPaymentCredit() }} €
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
|
|
@ -207,34 +234,7 @@
|
|||
</li>
|
||||
@endif
|
||||
@endif
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{ __('Berater-Online-Shop') }}</div>
|
||||
<div class="text-right">
|
||||
@if($user->isActiveShop() )
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"></i> {{ __('aktiv') }}</span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"></i> {{ __('inaktiv') }}</span>
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
@if($user->isActiveShop() )
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{__('bis zum')}}</div>
|
||||
<div class="text-right">
|
||||
{{ $user->getPaymentShopDateFormat() }}
|
||||
</div>
|
||||
</li>
|
||||
@else
|
||||
@if($user->payment_shop)
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{__('abgelaufen am')}}</div>
|
||||
<div class="text-right">
|
||||
{{ $user->getPaymentShopDateFormat() }}
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
{{-- @if($user->isAboOption())
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{__('payment.status.auto_renewal_hl')}}</div>
|
||||
<div class="text-right">
|
||||
|
|
@ -245,7 +245,8 @@
|
|||
@endif
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@endif
|
||||
--}}
|
||||
</ul>
|
||||
</div>
|
||||
<!-- / Project details -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue