08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
129
resources/views/admin/payment/taxadvisor.blade.php
Normal file
129
resources/views/admin/payment/taxadvisor.blade.php
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
@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
|
||||
|
||||
<div class="card">
|
||||
<h5 class="card-header">
|
||||
{{ __('navigation.payments') }} {{ __('navigation.tax_advisor') }}
|
||||
</h5>
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
Modul ist in Arbeit! Noch nicht verwenden.
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('admin_payments_taxadvisor_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>
|
||||
<hr>
|
||||
<div class="form-row align-items-center px-0 pb-2 pt-0">
|
||||
<div class="col-6 col-sm-4 col-md-4 col-lg-4 mb-1">
|
||||
<select class="custom-select on_change_select_filter" name="payment_taxadvisor_filter_month">
|
||||
@foreach($filter_months as $key=>$value)
|
||||
<option value="{{$key}}" @if(session('payment_taxadvisor_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_filter" name="payment_taxadvisor_filter_year">
|
||||
@foreach($filter_years as $key=>$value)
|
||||
<option value="{{$value}}" @if(session('payment_taxadvisor_filter_year') == $value) selected @endif>{{$value}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-datatable table-responsive">
|
||||
<table class="table table-striped table-bordered" id="datatable-payment-taxadvisor">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{__('#') }}</th>
|
||||
<th>{{__('Umsatz (ohne Soll/Haben-Kz)')}}</th>
|
||||
<th>{{__('Soll/Haben-Kennzeichen')}}</th>
|
||||
<th>{{__('Konto')}}</th>
|
||||
<th>{{__('Gegenkonto (ohne BU-Schlüssel)')}}</th>
|
||||
<th>{{__('BU-Schlüssel')}}</th>
|
||||
<th>{{__('Belegdatum')}}</th>
|
||||
<th>{{__('Belegfeld 1')}}</th>
|
||||
<th>{{__('Buchungstext')}}</th>
|
||||
<th>{{__('Datum')}}</th>
|
||||
<th>{{__('Rechnung')}}</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
$( document ).ready(function() {
|
||||
var oTable = $('#datatable-payment-taxadvisor').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"stateSave": true,
|
||||
"searching": false,
|
||||
ajax: {
|
||||
url: '{!! route('admin_payments_taxadvisor_datatable') !!}',
|
||||
data: function(d) {
|
||||
d.payment_taxadvisor_filter_month = $('select[name=payment_taxadvisor_filter_month]').val();
|
||||
d.payment_taxadvisor_filter_year = $('select[name=payment_taxadvisor_filter_year]').val();
|
||||
}
|
||||
},
|
||||
"order": [[0, "asc" ]],
|
||||
"columns": [
|
||||
{ data: 'id', orderable: true, searchable: false },
|
||||
{ data: 'turnover', name: 'turnover', orderable: false, searchable: false },
|
||||
{ data: 'debit_credit_indicator', name: 'debit_credit_indicator', orderable: false, searchable: false },
|
||||
{ data: 'account', name: 'account', orderable: false, searchable: false },
|
||||
{ data: 'contra_account', name: 'contra_account', orderable: false, searchable: false },
|
||||
{ data: 'bu_key', name: 'bu_key', orderable: false, searchable: false },
|
||||
{ data: 'voucher_date', name: 'voucher_date', orderable: true, searchable: false },
|
||||
{ data: 'document_field_1', name: 'document_field_1', orderable: false, searchable: false },
|
||||
{ data: 'posting_text', name: 'posting_text', orderable: false, searchable: false },
|
||||
{ data: 'date', name: 'date', orderable: true, searchable: false },
|
||||
|
||||
{ data: 'invoice', name: 'invoice', searchable: false },
|
||||
|
||||
|
||||
],
|
||||
"bLengthChange": false,
|
||||
"iDisplayLength": 100,
|
||||
"language": {
|
||||
"url": "/js/datatables-{{ \App::getLocale() }}.json"
|
||||
}
|
||||
});
|
||||
|
||||
$('select.on_change_select_filter').on('change', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
|
||||
$('input.on_keyup_input_filter').on('keyup', function(){
|
||||
oTable.draw();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue