Cron Jobs, Reminder, Fonts, Members / Wizard / Price, Credit and Promotion
This commit is contained in:
parent
a0f4eda6ea
commit
6167273a48
204 changed files with 8746 additions and 215 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<div class="form-group col-md-4">
|
||||
<label class="form-label">{{ __('Rolle') }}</label>
|
||||
<select class="selectpicker" data-style="btn-light" name="m_level" id="m_level">
|
||||
{!! HTMLHelper::getUserLevelOptions($user->m_level) !!}
|
||||
{!! HTMLHelper::getUserLevelOptions($user->m_level, false) !!}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
|
|
|
|||
|
|
@ -29,11 +29,13 @@
|
|||
@if($user->active == 1)
|
||||
<p><span class="ion ion-md-checkmark-circle-outline text-primary"></span>
|
||||
<strong>{{__('Daten vollständig, freigeschaltet')}}</strong>: {{ $user->getActiveDateFormat() }}</p>
|
||||
{{--
|
||||
@if($user->files->count())
|
||||
@foreach($user->files()->whereIdentifier('contract')->get() as $file)
|
||||
<a class="btn btn-secondary" href="{{ route('storage_file', [$file->id, 'user']) }}" target="_blank">Vertriebspartnervertrag.pdf</a>
|
||||
@endforeach
|
||||
@endif
|
||||
--}}
|
||||
@else
|
||||
<p><span class="ion ion-md-close-circle-outline text-danger"></span>
|
||||
<strong>{{__('Daten nicht vollständigt, inaktiv')}}</strong></p>
|
||||
|
|
@ -68,7 +70,7 @@
|
|||
@if(!$user->active)
|
||||
<hr>
|
||||
@if($user->release_account)
|
||||
<strong>Registrierung abgeschlossen {{ $user->getReleaseAccountFormat() }}</strong><br>
|
||||
<strong>Registrierung abgeschlossen {{ $user->getReleaseAccountFormat() }}</strong>
|
||||
<a href="{{route('admin_lead_released', ['completed', $user->id])}}" class="btn btn-success" onclick="return confirm('Alle Daten vollständig und Vertriebspartner freischalten?');">Die Daten sind vollständigt => Vertriebspartner freischalten</a>
|
||||
<button type="button" class="btn btn-sm btn-danger float-right" data-toggle="modal" data-target="#modals-register-m-data">
|
||||
Vertriebspartner eine E-Mail senden => Daten nicht vollständigt
|
||||
|
|
@ -77,6 +79,47 @@
|
|||
<strong><span class="text-danger">Vertriebspartner muss Registrierung noch abschließen</span></strong>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
@if($user->wizard !== 100)
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h5>Registrierungsprozess</h5>
|
||||
@if($user->wizard === 0)
|
||||
<strong>Vertrag zustimmen</strong>
|
||||
@endif
|
||||
@if($user->wizard === 1)
|
||||
<strong>Daten anpassen</strong>
|
||||
@endif
|
||||
@if($user->wizard === 2)
|
||||
<strong>Ausweis hochladen</strong>
|
||||
@endif
|
||||
@if($user->wizard === 3)
|
||||
<strong>Gewerbeschein hochladen</strong>
|
||||
@endif
|
||||
@if($user->wizard === 4)
|
||||
<strong>Paket Auswählen</strong>
|
||||
@endif
|
||||
@if($user->wizard === 5)
|
||||
<strong>Wartet auf Überprüfung</strong><br>
|
||||
<a href="{{route('admin_lead_released', ['reset_switch', $user->id])}}" class="btn btn-danger btn-sm" onclick="return confirm('Wirklich zurücksetzen?');">Vertriebspartner zurücksetzen / Paket auswählen</a>
|
||||
|
||||
@endif
|
||||
@if($user->wizard === 20)
|
||||
<strong>Registrierung abschließen / Paket Zahlung</strong><br>
|
||||
<a href="{{route('admin_lead_released', ['reset_switch', $user->id])}}" class="btn btn-danger btn-sm" onclick="return confirm('Wirklich zurücksetzen?');">Vertriebspartner zurücksetzen / Paket auswählen</a>
|
||||
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@if($user->active && $user->wizard < 20)
|
||||
<h5>Account ist aktiv</h5>
|
||||
<a href="{{route('admin_lead_released', ['unlock', $user->id])}}" class="btn btn-warning btn-sm" onclick="return confirm('Alle Daten vollständig und Vertriebspartner freischalten?');">Vertriebspartner erneut freischalten</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="content" class="form-label">{{__('Beschreibung')}}</label>
|
||||
|
|
@ -56,22 +57,29 @@
|
|||
<span class="custom-control-label">Bekommt Provision von seinen Vertriebspartner</span>
|
||||
</label>
|
||||
<em>Auch immer die Provision bei den Staffelpreisen eintragen!<br>Die Provision wird beim Käufer berechnet und nur ein Sponsor mit der Rolle wo diese Checkbox aktiv ist bekommt die Provison gutgeschrieben.</em>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-12">
|
||||
<label class="custom-control custom-checkbox m-2">
|
||||
{!! Form::checkbox('payment_year', 1, $value->payment_year, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">Zahlung der Jahresmitgliedschaft</span>
|
||||
</label>
|
||||
<em>Der Preis liegt beim Produkt (Registrierung / Mitgliedschaft), ist die Option hier deaktiviert wird keine Jahresgebühr berechnet. Die Mitgliedschaft wird immer um 1 Jahr verlängert.</em>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-6">
|
||||
<div class="form-group col-12">
|
||||
<label class="custom-control custom-checkbox m-2">
|
||||
{!! Form::checkbox('active', 1, $value->active, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{__('active')}}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group col-6">
|
||||
<label for="pos" class="form-label">{{__('Pos')}}</label>
|
||||
|
||||
{{ Form::text('pos', $value->pos, array('placeholder'=>__('Number to move the position if necessary'), 'class'=>'form-control')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(isset($trans))
|
||||
<hr>
|
||||
@foreach($trans as $tran)
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<th style="max-width: 60px;"> </th>
|
||||
<th>{{__('Pos')}}</th>
|
||||
<th>{{__('Description')}}</th>
|
||||
<th>{{__('Translate') }}</th>
|
||||
<th>{{__('Jahresgebühr') }}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
</td>
|
||||
<td>{{ $value->pos }}</td>
|
||||
<td>{{ $value->name }}</td>
|
||||
<td>{{ $value->getTranNames() }}</td>
|
||||
<td data-sort="{{ $value->payment_year }}">{!! get_active_badge($value->payment_year) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! get_active_badge($value->active) !!}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -110,11 +110,27 @@
|
|||
{!! Form::textarea('settings[promotion_user_url_profanity][val]', \App\Models\Setting::getContentBySlug('promotion_user_url_profanity'), array('class'=>'form-control', 'rows'=>3)) !!}
|
||||
{{ Form::hidden('settings[promotion_user_url_profanity][type]', 'full_text') }}
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<h4>Inhalte</h4>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="form-label">AGB Vertriebspartner für GRÜNE SEELE Naturkosmetik</label>
|
||||
{!! Form::textarea('settings[partner_gs_contract_de][val]', \App\Models\Setting::getContentBySlug('partner_gs_contract_de'), array('class'=>'form-control', 'rows'=>10)) !!}
|
||||
{{ Form::hidden('settings[partner_gs_contract_de][type]', 'full_text') }}
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue