This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -1,10 +1,10 @@
<h6>
@if($userSalesVolume)
<div class="mb-2">
<strong>Gesamte Points: {{ $userSalesVolume->getPointsKPSum() }}</strong> | Eigene: {{ $userSalesVolume->month_points }} | Shop: {{ $userSalesVolume->month_shop_points }}<br>
<strong>{{ __('team.total_points') }}: {{ $userSalesVolume->getPointsKPSum() }}</strong> | {{ __('team.own') }}: {{ $userSalesVolume->month_points }} | {{ __('team.shop') }}: {{ $userSalesVolume->month_shop_points }}<br>
</div>
<div>
<strong>Gesamter Umsatz: {{ formatNumber($userSalesVolume->getTotalNetSum()) }} &euro;</strong> | Eigene: {{ formatNumber($userSalesVolume->month_total_net) }} &euro; | Shop: {{ formatNumber($userSalesVolume->month_shop_total_net) }} &euro;
<strong>{{ __('team.total_turnover') }}: {{ formatNumber($userSalesVolume->getTotalNetSum()) }} &euro;</strong> | {{ __('team.own') }}: {{ formatNumber($userSalesVolume->month_total_net) }} &euro; | {{ __('team.shop') }}: {{ formatNumber($userSalesVolume->month_shop_total_net) }} &euro;
</div>
@endif
</h6>

View file

@ -20,12 +20,12 @@
</h4>
<div class="card">
<h5 class="card-header">
{{__('Export')}}
{{__('team.export')}}
</h5>
<div class="card-body">
{!! Form::open(['url' => route('user_team_export_download'), 'class' => '']) !!}
{!! Form::hidden('key', 'value') !!}
<button type="submit" name="action" value="export" class="btn btn-md btn-primary mb-2"><i class="ion ion-md-download"></i> &nbsp;Export als xls</button>
<button type="submit" name="action" value="export" class="btn btn-md btn-primary mb-2"><i class="ion ion-md-download"></i> &nbsp;{{ __('team.export_as_xls') }}</button>
{!! Form::close() !!}
<div class="card">
@ -34,22 +34,22 @@
<thead>
<tr>
<th>{{__('Line') }}</th>
<th>{{__('Level')}}</th>
<th>{{__('E-Mail')}}</th>
<th>{{__('Vorname')}}</th>
<th>{{__('Nachname')}}</th>
<th>{{__('Adresse')}}</th>
<th>{{__('Zusatz') }}</th>
<th>{{__('PLZ') }}</th>
<th>{{__('Ort') }}</th>
<th>{{__('Land') }}</th>
<th>{{__('Tel') }}</th>
<th>{{__('Mobil') }}</th>
<th>{{__('Geburtstag') }}</th>
<th>{{__('Account') }}</th>
<th>{{__('Account bis') }}</th>
<th>{{__('Sponsor')}}</th>
<th>{{__('tables.line') }}</th>
<th>{{__('tables.level')}}</th>
<th>{{__('tables.email')}}</th>
<th>{{__('tables.firstname')}}</th>
<th>{{__('tables.lastname')}}</th>
<th>{{__('tables.address')}}</th>
<th>{{__('tables.addition') }}</th>
<th>{{__('tables.postcode') }}</th>
<th>{{__('tables.city') }}</th>
<th>{{__('tables.country') }}</th>
<th>{{__('tables.phone') }}</th>
<th>{{__('tables.mobil') }}</th>
<th>{{__('tables.birthday') }}</th>
<th>{{__('tables.account') }}</th>
<th>{{__('tables.account_to') }}</th>
<th>{{__('tables.sponsor')}}</th>
</tr>
</thead>
<tbody>
@ -69,7 +69,7 @@
<td>{{ $child->phone }}</td>
<td>{{ $child->mobil }}</td>
<td>{{ $child->birthday }}</td>
<td>{!! ($child->active_account == 1 ? 'JA' : 'NEIN') !!}</td>
<td>{!! ($child->active_account == 1 ? __('yes') : __('no')) !!}</td>
<td>{{ $child->payment_account_date }}</td>
<td>{{ $child->sponsor_name }}</td>
@ -95,7 +95,7 @@
"order": [[ 1, "desc" ]],
"language": {
"url": "/js/German.json"
"url": "/js/datatables-{{ \App::getLocale() }}.json"
}
});
});

View file

@ -19,19 +19,19 @@
{{ __('navigation.my_team') }}
</h4>
<div class="card">
<h5 class="card-header">Neuen Berater registrieren</h5>
<h5 class="card-header">{{ __('team.register_new_consultant') }}</h5>
<div class="row no-gutters row-bordered">
<div class="col-md-12 p-4">
<h6 class="mb-4">Link für Beraterregistrierung</h6>
<h6 class="mb-4">{{ __('team.link_for_consultant_registration') }}</h6>
<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="#shop_register_link"><i class="ion ion-ios-copy"></i> Link kopieren</button>
<button class="btn btn-secondary" type="button" title="Kopiert!" data-clipboard-demo data-clipboard-target="#shop_register_link"><i class="ion ion-ios-copy"></i> {{ __('Copy link') }}</button>
</span>
<input type="text" class="form-control" name="shop_register_link" value="{{$shop_register_link}}" id="shop_register_link" placeholder="">
</div>
</div>
<p>Du möchtest einen neuen Berater registrieren? Super, das freut uns. Sende ihm einfach nachfolgenden Link per Mail, WhatsApp oder SMS zu. Er gelangt damit auf die Registrierungsseite von www.mivita.care. Wichtig ist, dass Du diesen Link nicht veränderst, denn die angehängte Berater-ID identifiziert Dich als Sponsor von dem neuen Berater. Nur so können Dir künftige Provisionen durch Umsätze von ihm zugeordnet werden. Nutze das „Kopier-Symbol“, um den Link gleich in Deine Zwischenablage zu kopieren.
<p>{{ __('team.new_consultant_copy1') }}</p>
</div>
</div>
</div><!-- Target -->

View file

@ -20,7 +20,7 @@
</h4>
<div class="card">
<h5 class="card-header">
{{__('Points')}}
{{ __('team.points') }}
</h5>
<div class="card-body">
{!! Form::open(['url' => route('user_team_points'), 'class' => 'form-horizontal', 'id'=>'form_filter_user_points']) !!}
@ -52,13 +52,14 @@
<thead>
<tr>
<th>{{__('Datum') }}</th>
<th>{{__('Points')}}</th>
<th>{{__('Umsatz netto')}}</th>
<th>{{__('Art')}}</th>
<th>{{__('Bestellung')}}</th>
<th>{{__('Info') }}</th>
<th>{{__('Notiz') }}</th>
<th>{{__('tables.date') }}</th>
<th>{{__('tables.points')}}</th>
<th>{{__('tables.net_sales')}}</th>
<th>{{__('tables.ve')}}</th>
<th>{{__('tables.art')}}</th>
<th>{{__('tables.order')}}</th>
<th>{{__('tables.info') }}</th>
<th>{{__('tables.note') }}</th>
</tr>
</thead>
@ -100,6 +101,7 @@
{ data: 'date', name: 'date' },
{ data: 'points', name: 'points' },
{ data: 'total_net', name: 'total_net' },
{ data: 'status_turnover', name: 'status_turnover' },
{ data: 'status', name: 'status', searchable: false },
{ data: 'order', name: 'order', orderable: false },
{ data: 'message', name: 'message', searchable: false },
@ -108,7 +110,7 @@
"bLengthChange": false,
"iDisplayLength": 100,
"language": {
"url": "/js/German.json"
"url": "/js/datatables-{{ \App::getLocale() }}.json"
},
"drawCallback": function( settings ) {
load_team_user_points_sum();

View file

@ -20,7 +20,7 @@
</h4>
<div class="card">
<h5 class="card-header">
{{__('Business')}} {{__('Struktur')}}
{{__('team.business')}} {{__('team.structure')}}
</h5>
<div class="card-body">
{!! Form::open(['url' => route('user_team_structure'), 'class' => 'form-horizontal', 'id'=>'form_filter_business_user']) !!}
@ -46,14 +46,14 @@
<hr class="container-m-nx border-light mt-0">
<div>
<div id="nestable-menu" class="mb-4">
<button type="button" class="btn btn-default btn-sm" data-action="expand-all">Alles aufklappen</button>
<button type="button" class="btn btn-default btn-sm" data-action="collapse-all">Alles zuklappen</button>
<button type="button" class="btn btn-default btn-sm" data-action="expand-all">{{ __('team.expand_all') }}</button>
<button type="button" class="btn btn-default btn-sm" data-action="collapse-all">{{ __('team.collapse_all') }}</button>
</div>
<div class="row">
<div class="col-md-12">
<h6 class="">
Dein Sponsor
{{ __('team.your_sponsor') }}
</h6>
<div class="dd" id="">
{!! $TreeCalcBot->makeSponsorHtml() !!}
@ -65,7 +65,7 @@
<div class="row">
<div class="col-md-12">
<h6 class="">
Dein Team
{{ __('team.your_team') }}
</h6>
<div class="dd" id="nestable2">
{!! $TreeCalcBot->makeHtmlTree() !!}