08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -48,6 +48,45 @@
|
|||
{!! Form::close() !!}
|
||||
|
||||
|
||||
|
||||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modal-user-vat-validation">
|
||||
<div class="modal-dialog">
|
||||
{!! Form::open(['url' => route('admin_lead_store'), 'class' => 'modal-content']) !!}
|
||||
<input type="hidden" name="user_id" id="user_id" value="@if($user->id>0){{$user->id}}@else new @endif">
|
||||
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">{{ __('account.new_vat_validate') }}</span></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<p>{{ __('account.reverse_charge_copy_1') }}</p>
|
||||
<p>{{ __('account.reverse_charge_note_1') }}</p>
|
||||
</div>
|
||||
<div class="form-group col-sm-12 {{ $errors->has('reverse_charge') ? 'has-error' : '' }}">
|
||||
<label class="form-label" for="tax_identification_number">{{ __('account.VAT_ID_number') }} *</label>
|
||||
{{ Form::text('tax_identification_number', $user->account-> tax_identification_number, array('placeholder'=>__('account.VAT_ID_number'), 'class'=>'form-control', 'id'=>'tax_identification_number', 'required'=>true)) }}
|
||||
|
||||
@if ($errors->has('reverse_charge'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('reverse_charge') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{__('close')}}</button>
|
||||
<button type="submit" class="btn btn-primary" name="action" value="reverse_charge_validate">{{ __('account.btn_vat_validate') }}n</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Modal template -->
|
||||
<div class="modal fade" id="modals-edit-m-data">
|
||||
<div class="modal-dialog">
|
||||
|
|
@ -60,7 +99,7 @@
|
|||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">{{__('Passwort eingeben')}}</label>
|
||||
<label class="form-label">{{__('Passwort eingeben')}}</label>
|
||||
<input type="text" class="form-control" name="edit_m_data_key" placeholder="mivita">
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -88,14 +127,14 @@
|
|||
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">{{__('Betreff')}}</label>
|
||||
<label class="form-label">{{__('Betreff')}}</label>
|
||||
<input type="text" class="form-control" name="account_incomplete_subject" value="{{__('email.email_incomplete')}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col">
|
||||
<label for="name" class="form-label">{{__('Nachricht')}}</label>
|
||||
<label class="form-label">{{__('Nachricht')}}</label>
|
||||
<textarea name="account_incomplete_message" class="form-control" rows="6">{{__('email.account_incomplete_copy1line')}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,28 +8,61 @@
|
|||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<div class="ml-4">
|
||||
<div class="card-body p-0">
|
||||
|
||||
{!! Form::open(['url' => route('admin_leads'), 'class' => 'form-horizontal', 'id'=>'form_admin_leads']) !!}
|
||||
|
||||
<div class="form-row align-items-center px-4 pb-2 pt-3">
|
||||
<div class="col-12 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="selectpicker on_change_select" data-style="btn-default" name="leads_filter_sponsor_id" id="leads_filter_sponsor_id" data-live-search="true">
|
||||
<option value="">Filter Sponsor aus</option>
|
||||
@foreach($filter_sponsor as $member)
|
||||
<option value="{{$member->id}}" @if(session('leads_filter_sponsor_id') == $member->id) selected @endif>{{$member->first_name}} {{$member->last_name}} | {{$member->email}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{-- <div class="col-6 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="custom-select on_change_select" name="leads_filter_month">
|
||||
@foreach($filter_months as $key=>$value)
|
||||
<option value="{{$key}}" @if(session('leads_filter_month') == $key) selected @endif>{{$value}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="custom-select on_change_select" name="leads_filter_year">
|
||||
@foreach($filter_years as $key=>$value)
|
||||
<option value="{{$value}}" @if(session('leads_filter_year') == $value) selected @endif>{{$value}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div> --}}
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
<div class="card-datatable table-responsive pt-0">
|
||||
{{-- <div class="ml-4">
|
||||
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('Neuen Berater erstellen')}}</a>
|
||||
</div>
|
||||
--}}
|
||||
<table class="datatables-leads table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>{{__('E-Mail')}}</th>
|
||||
<th>{{__('Vorname')}}</th>
|
||||
<th>{{__('Nachname')}}</th>
|
||||
<th>{{__('First name')}}</th>
|
||||
<th>{{__('Last name')}}</th>
|
||||
<th>{{__('Level')}}</th>
|
||||
<th>{{__('Mitglied')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Shop')}}</th>
|
||||
<th>{{__('bis')}}</th>
|
||||
<th>{{__('Sponsor')}}</th>
|
||||
|
||||
<th>{{__('active')}} (seit)</th>
|
||||
<th>{{__('tables.account')}} (bis)</th>
|
||||
<th>{{__('tables.shop')}} (bis)</th>
|
||||
<th>{{__('Domain')}}</th>
|
||||
{{-- <th>{{__('Umsatz')}}</th>
|
||||
<th>{{__('Sales')}}</th> --}}
|
||||
<th>{{__('verifiziert')}}</th>
|
||||
<th>{{__('freigegeben')}}</th>
|
||||
<th>{{__('Einv.')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -38,19 +71,29 @@
|
|||
</tbody>
|
||||
|
||||
</table>
|
||||
<div class="mt-4 ml-4">
|
||||
{{--<div class="mt-4 ml-4">
|
||||
<a href="{{ route('admin_lead_edit', ['new']) }}" class="btn btn-sm btn-primary">{{__('Neuen Berater erstellen')}}</a>
|
||||
</div>
|
||||
</div>--}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
|
||||
$('.datatables-leads').dataTable({
|
||||
var oTable = $('.datatables-leads').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": '{!! route('admin_leads_datatable') !!}',
|
||||
"stateSave": true,
|
||||
"searching": true,
|
||||
ajax: {
|
||||
url: '{!! route('admin_leads_datatable') !!}',
|
||||
data: function(d) {
|
||||
d.leads_filter_sponsor_id = $('select[name=leads_filter_sponsor_id]').val();
|
||||
// d.points_filter_month = $('select[name=points_filter_month]').val();
|
||||
// d.points_filter_year = $('select[name=points_filter_year]').val();
|
||||
}
|
||||
},
|
||||
"order": [[0, "desc" ]],
|
||||
"columns": [
|
||||
{data: 'id', searchable: false},
|
||||
|
|
@ -58,21 +101,33 @@
|
|||
{ data: 'first_name', name: 'account.first_name' },
|
||||
{ data: 'last_name', name: 'account.last_name' },
|
||||
{ data: 'user_level', name: 'user_level' },
|
||||
{ data: 'payment_account', name: 'payment_account' },
|
||||
{ data: 'user_sponsor', name: 'user_sponsor', orderable: false },
|
||||
{ data: 'useractive', name: 'useractive' },
|
||||
{ data: 'payaccount', name: 'payaccount' },
|
||||
{ data: 'payshop', name: 'payshop' },
|
||||
|
||||
|
||||
/*{ data: 'payment_account', name: 'payment_account' },
|
||||
{ data: 'payment_account_date', name: 'payment_account_date' },
|
||||
{ data: 'payment_shop', name: 'payment_shop' },
|
||||
{ data: 'payment_shop_date', name: 'payment_shop_date' },
|
||||
{ data: 'payment_shop_date', name: 'payment_shop_date' },*/
|
||||
{ data: 'shop_domain', name: 'shop_domain', orderable: false },
|
||||
{ data: 'confirmed', name: 'confirmed' },
|
||||
{ data: 'active', name: 'active' },
|
||||
{ data: 'agreement', name: 'agreement' },
|
||||
],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 50,
|
||||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
"url": "/js/datatables-{{ \App::getLocale() }}.json"
|
||||
}
|
||||
});
|
||||
$('select.on_change_select').on('change', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
|
||||
$('input.on_keyup_input').on('keyup', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<div class="card-body">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-sm btn-secondary" data-toggle="modal" data-target="#modals-edit-m-data">
|
||||
<span class="far fa-edit"></span> Berater Daten bearbeiten
|
||||
<span class="fa fa-edit"></span> Berater Daten bearbeiten
|
||||
</button>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue