last changes since 6-2023
This commit is contained in:
parent
0341c9c189
commit
04d677d37a
142 changed files with 7895 additions and 2855 deletions
103
resources/views/user/team/export.blade.php
Normal file
103
resources/views/user/team/export.blade.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<h4 class="font-weight-bold py-2 mb-2">
|
||||
{{ __('navigation.my_team') }}
|
||||
</h4>
|
||||
<div class="card">
|
||||
<h5 class="card-header">
|
||||
{{__('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> Export als xls</button>
|
||||
{!! Form::close() !!}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="table table-striped table-bordered" id="datatable-user-team">
|
||||
|
||||
<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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if(isset($ExportBot) && isset($ExportBot->user_list->childs))
|
||||
@foreach ($ExportBot->user_list->childs as $child)
|
||||
<tr>
|
||||
<td>{{ $child->line }}</td>
|
||||
<td>{{ $child->level_name }}</td>
|
||||
<td>{{ $child->email }}</td>
|
||||
<td>{{ $child->first_name }}</td>
|
||||
<td>{{ $child->last_name }}</td>
|
||||
<td>{{ $child->address }}</td>
|
||||
<td>{{ $child->address_2 }}</td>
|
||||
<td>{{ $child->zipcode }}</td>
|
||||
<td>{{ $child->city }}</td>
|
||||
<td>{{ $child->country_id }}</td>
|
||||
<td>{{ $child->phone }}</td>
|
||||
<td>{{ $child->mobil }}</td>
|
||||
<td>{{ $child->birthday }}</td>
|
||||
<td>{!! ($child->active_account == 1 ? 'JA' : 'NEIN') !!}</td>
|
||||
<td>{{ $child->payment_account_date }}</td>
|
||||
<td>{{ $child->sponsor_name }}</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
$( document ).ready(function() {
|
||||
|
||||
|
||||
$('#datatable-user-team').dataTable({
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 50,
|
||||
"order": [[ 1, "desc" ]],
|
||||
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue