14-04-2026
This commit is contained in:
parent
f58c709945
commit
0f82fea88a
72 changed files with 7414 additions and 148 deletions
|
|
@ -138,6 +138,148 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- Umsätze nach Ländern - Jährlich -->
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0">Umsätze nach Ländern {{ session('revenue_filter_year') }}</h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
@if(isset($revenue_summary['country_yearly']) && $revenue_summary['country_yearly']->count() > 0)
|
||||
<table class="table table-sm table-hover mb-0">
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th>Land</th>
|
||||
<th class="text-right">Netto</th>
|
||||
<th class="text-right">Steuer</th>
|
||||
<th class="text-right">Brutto</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($revenue_summary['country_yearly'] as $item)
|
||||
<tr>
|
||||
<td>{{ $item->country_name }}</td>
|
||||
<td class="text-right">{{ number_format($item->total_net, 2, ',', '.') }} €</td>
|
||||
<td class="text-right">{{ number_format($item->total_tax, 2, ',', '.') }} €</td>
|
||||
<td class="text-right"><strong>{{ number_format($item->total_gross, 2, ',', '.') }} €</strong></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@else
|
||||
<div class="p-3"><p class="text-muted mb-0">Keine Umsätze nach Ländern für {{ session('revenue_filter_year') }} gefunden</p></div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Gutschriften nach Ländern - Jährlich -->
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0">Gutschriften nach Ländern {{ session('revenue_filter_year') }}</h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
@if(isset($credit_summary['country_yearly']) && $credit_summary['country_yearly']->count() > 0)
|
||||
<table class="table table-sm table-hover mb-0">
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th>Land</th>
|
||||
<th class="text-right">Netto</th>
|
||||
<th class="text-right">Steuer</th>
|
||||
<th class="text-right">Brutto</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($credit_summary['country_yearly'] as $item)
|
||||
<tr>
|
||||
<td>{{ $item->country_name }}</td>
|
||||
<td class="text-right">{{ number_format($item->total_net, 2, ',', '.') }} €</td>
|
||||
<td class="text-right">{{ number_format($item->total_tax, 2, ',', '.') }} €</td>
|
||||
<td class="text-right"><strong>{{ number_format($item->total_gross, 2, ',', '.') }} €</strong></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@else
|
||||
<div class="p-3"><p class="text-muted mb-0">Keine Gutschriften nach Ländern für {{ session('revenue_filter_year') }} gefunden</p></div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Umsätze nach Ländern - Monatlich -->
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0">Umsätze nach Ländern – monatliche Aufschlüsselung</h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
@if(isset($revenue_summary['country_monthly']) && $revenue_summary['country_monthly']->count() > 0)
|
||||
@php $revenueByMonth = $revenue_summary['country_monthly']->groupBy('month'); @endphp
|
||||
@foreach($revenueByMonth as $month => $countries)
|
||||
<div class="px-3 pt-2 pb-1">
|
||||
<strong class="text-primary">{{ $countries->first()->month_label }}</strong>
|
||||
</div>
|
||||
<table class="table table-sm mb-1">
|
||||
<tbody>
|
||||
@foreach($countries as $item)
|
||||
<tr>
|
||||
<td class="pl-4">{{ $item->country_name }}</td>
|
||||
<td class="text-right text-muted"><small>{{ number_format($item->total_net, 2, ',', '.') }} €</small></td>
|
||||
<td class="text-right text-muted"><small>{{ number_format($item->total_tax, 2, ',', '.') }} €</small></td>
|
||||
<td class="text-right"><small><strong>{{ number_format($item->total_gross, 2, ',', '.') }} €</strong></small></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="p-3"><p class="text-muted mb-0">Keine monatlichen Umsätze nach Ländern gefunden</p></div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Gutschriften nach Ländern - Monatlich -->
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0">Gutschriften nach Ländern – monatliche Aufschlüsselung</h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
@if(isset($credit_summary['country_monthly']) && $credit_summary['country_monthly']->count() > 0)
|
||||
@php $creditByMonth = $credit_summary['country_monthly']->groupBy('month'); @endphp
|
||||
@foreach($creditByMonth as $month => $countries)
|
||||
<div class="px-3 pt-2 pb-1">
|
||||
<strong class="text-primary">{{ $countries->first()->month_label }}</strong>
|
||||
</div>
|
||||
<table class="table table-sm mb-1">
|
||||
<tbody>
|
||||
@foreach($countries as $item)
|
||||
<tr>
|
||||
<td class="pl-4">{{ $item->country_name }}</td>
|
||||
<td class="text-right text-muted"><small>{{ number_format($item->total_net, 2, ',', '.') }} €</small></td>
|
||||
<td class="text-right text-muted"><small>{{ number_format($item->total_tax, 2, ',', '.') }} €</small></td>
|
||||
<td class="text-right"><small><strong>{{ number_format($item->total_gross, 2, ',', '.') }} €</strong></small></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="p-3"><p class="text-muted mb-0">Keine monatlichen Gutschriften nach Ländern gefunden</p></div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue