mivita/resources/views/user/backoffice/statistics/index.blade.php
Kevin d4e9d108ad Statistiken/Abo: Kundenfeedback 2026-07-24 komplett umgesetzt + Steuern: DATEV-Fixes 08+09/2025 (Sammel-Commit Branch-WIP)
Feedback-Umsetzung (dev/2026-07-22/feedback-analyse-2026-07-24.md, alle 10 Punkte):
- VIP-Statistik: eigener Berater ('ich', Linie 0) in Neue-Kundenabos- und beiden Top-10-Listen; Top-10-Umsatz sortiert nach abgerechneten Ist-Punkten + Abo-Anzahl-Spalte; Fußnote nicht-payline-wirksame Punkte (SalesVolumePoints::nonPaylinePoints)
- Führungskräfte-Liste: beide Sichten 'direkt' (an nächster FK abgeschnitten, additiv) und 'gesamt' (komplette Downline), Gesamt-Spalte nach Kundenzählweise
- Team-Abos: je Ebene 'abgerechnet (Monat)' und 'bis zum 25. erwartet'; Payline-Karte mit Teamabo-/Kundenabo-Zählern
- Incentive-Live-Ranking: Qualifizierte zuerst nummeriert (fixt auch isWinner rank<=max_winners)
- Porto: Netto-/Brutto-Kennzeichnung (Berater netto, Endkunden inkl. MwSt., portal_view-Flag; auch CRM-/Shop-Warenkorb + Checkout), Yard::shipping_tax-Fix
- Struktur-Ansicht: Abo-Badges 'A' (eigenes Abo) und '(n)' (Kundenabos) je Teampartner, gebatcht
- Abo-Löschung: Softdelete setzt active=0 (UserAbo deleting-Hook) + Bereinigungs-Migration für gelöschte-aber-aktive Abos
- Doku: technische Analyse + Kundinnen-Feedback-Dokument unter dev/2026-07-22/
- Tests: IncentiveRankingTest, TeamStructureAboBadgesTest, YardShippingTaxTest (neu); BackofficeStatisticsListsTest, TeamAboOverviewTest, PaylineForecastServiceTest, AboAdminDeleteTest, AboOneTimeViewTest erweitert

Außerdem enthalten (Branch-WIP vor dem Feedback): DATEV-Abgleich-Fixes 08+09/2025, USt-ID-Live-Validierung sowie restliche unkommittete Stände (u. a. Abo-Pause-Sprachkeys).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 13:56:02 +00:00

624 lines
35 KiB
PHP

@extends('layouts.layout-2')
@section('content')
<h4 class="font-weight-bold py-2 mb-2 d-flex justify-content-between align-items-center w-100">
<div>
{{ __('navigation.team_statistics') }}
<span class="badge badge-secondary ml-2">VIP</span>
</div>
</h4>
<div class="card mb-4">
<div class="card-body">
<div class="row align-items-center">
<div class="col-md-8">
<h5 class="mb-2">{{ __('navigation.statistics') }} / Backoffice MVP</h5>
<p class="text-muted mb-md-0">
Linienbasierte Übersicht für alle vorhandenen Team-Linien. Klickbare Zahlen führen direkt in die
passenden Namen- und Detaillisten.
</p>
@if (!empty($performance))
<div class="small text-muted mt-2">
Datenquelle:
<span class="badge badge-outline-default">{{ $performance['source_label'] }}</span>
<span class="ml-2">Berechnet in {{ number_format($performance['duration_ms'], 2, ',', '.') }}
ms</span>
@if (!empty($performance['calculated_at']))
<span class="ml-2">Snapshot vom {{ $performance['calculated_at'] }}</span>
@endif
@if (!empty($statistics['abo_stock_live']))
<span class="badge badge-success ml-2" title="Abo-Bestandszahlen (Teamabos, Teamkundenabos, Führungskräfte, Top 10) zeigen den heutigen Stand; Punkte und Umsätze bleiben auf dem Stand des gewählten Monats.">Abo-Bestände tagesaktuell</span>
@endif
</div>
@endif
</div>
<div class="col-md-4 mt-3 mt-md-0">
<form method="GET" action="{{ route('user_backoffice_statistics') }}"
class="form-inline justify-content-md-end">
<a href="{{ route('user_backoffice_statistics_overview_export', ['month' => $selectedMonth, 'year' => $selectedYear]) }}"
class="btn btn-sm btn-outline-secondary mr-2">
<span class="ion ion-md-download mr-1"></span> CSV
</a>
<select name="month" class="form-control custom-select form-control-sm mr-2">
@foreach ($filterMonths as $monthNumber => $monthName)
<option value="{{ $monthNumber }}"
{{ (int) $selectedMonth === (int) $monthNumber ? 'selected' : '' }}>
{{ $monthName }}
</option>
@endforeach
</select>
<select name="year" class="form-control custom-select form-control-sm mr-2">
@foreach ($filterYears as $year)
<option value="{{ $year }}"
{{ (int) $selectedYear === (int) $year ? 'selected' : '' }}>
{{ $year }}
</option>
@endforeach
</select>
<button type="submit" class="btn btn-sm btn-primary">Anzeigen</button>
</form>
</div>
</div>
</div>
</div>
@php
$clickableMetrics = ['consultants', 'total_points', 'team_partner_abos', 'team_customer_abos'];
$metricHeadings = [
'consultants' => 'Berater',
'total_points' => 'Umsatz (Punkte)',
'team_partner_abos' => 'Teamabos',
'team_customer_abos' => 'Teamkundenabos',
];
$formatValue = function ($value, string $metric): string {
if ($metric === 'total_points') {
return \App\Services\Util::formatNumber($value);
}
return number_format((float) $value, 0, ',', '.');
};
$newAboMetric = function (array $row, string $metric): ?string {
return match ($metric) {
'consultants' => 'new_partners',
'team_partner_abos' => 'team_partner_abos_new',
'team_customer_abos' => 'team_customer_abos_new',
default => null,
};
};
// Ziel-Link des grünen "+N"-Badges: Neupartner-Liste bzw. Abo-Drilldown
// gefiltert auf die im Monat neuen Abos (only_new).
$newBadgeLink = function (int $lineNo, string $metric) use ($selectedMonth, $selectedYear): string {
if ($metric === 'consultants') {
return route('user_backoffice_statistics_details', [
'line' => $lineNo,
'metric' => 'new_partners',
'month' => $selectedMonth,
'year' => $selectedYear,
]);
}
return route('user_backoffice_statistics_details', [
'line' => $lineNo,
'metric' => $metric,
'month' => $selectedMonth,
'year' => $selectedYear,
'only_new' => 1,
]);
};
$selectedMonthName = $filterMonths[(int) $selectedMonth] ?? $selectedMonth;
@endphp
<div class="row mb-4">
<div class="col-md-4 mb-3 mb-md-0">
<a href="{{ route('user_backoffice_statistics_details', [
'line' => 0,
'metric' => 'new_partners',
'month' => $selectedMonth,
'year' => $selectedYear,
]) }}"
class="card h-100 text-decoration-none backoffice-kpi-card">
<div class="card-body d-flex justify-content-between align-items-center">
<div>
<div class="text-muted small">Neupartner ({{ $selectedMonthName }} {{ $selectedYear }})</div>
<div class="display-4 font-weight-bold text-primary">
{{ number_format((float) ($statistics['totals']['new_partners'] ?? 0), 0, ',', '.') }}
</div>
<div class="text-primary small font-weight-semibold mt-1">
<span class="ion ion-md-eye mr-1"></span> Liste anzeigen
</div>
</div>
<span class="ion ion-md-person-add display-4 text-muted"></span>
</div>
</a>
</div>
<div class="col-md-4 mb-3 mb-md-0">
<a href="{{ route('user_backoffice_statistics_details', [
'line' => 0,
'metric' => 'shop_1000',
'month' => $selectedMonth,
'year' => $selectedYear,
]) }}"
class="card h-100 text-decoration-none backoffice-kpi-card">
<div class="card-body d-flex justify-content-between align-items-center">
<div>
<div class="text-muted small">1000-Punkte-Shops ({{ $selectedMonthName }} {{ $selectedYear }})
</div>
<div class="display-4 font-weight-bold text-success">
{{ number_format((float) ($statistics['totals']['shop_1000'] ?? 0), 0, ',', '.') }}
</div>
<div class="text-primary small font-weight-semibold mt-1">
<span class="ion ion-md-eye mr-1"></span> Liste anzeigen
</div>
</div>
<span class="ion ion-md-trophy display-4 text-muted"></span>
</div>
</a>
</div>
@if (isset($commission))
<div class="col-md-4">
<div class="card h-100">
<div class="card-body d-flex justify-content-between align-items-center">
<div>
<div class="text-muted small">
Provision ({{ $selectedMonthName }} {{ $selectedYear }})
@if (! empty($commission['is_live']))
<span class="badge badge-pill badge-info ml-1"
title="Vorläufig, live berechnet — final nach Monatsabschluss. Aktualisierung ca. alle 6 Stunden.">Live</span>
@endif
</div>
<div class="display-4 font-weight-bold text-warning">
{{ number_format((float) ($commission['total'] ?? 0), 2, ',', '.') }} €
</div>
<div class="text-muted small mt-1">
Payline {{ number_format((float) ($commission['pp'] ?? 0), 2, ',', '.') }} €
· Shop {{ number_format((float) ($commission['shop'] ?? 0), 2, ',', '.') }} €
· WB {{ number_format((float) ($commission['growth'] ?? 0), 2, ',', '.') }} €
</div>
</div>
<span class="ion ion-md-cash display-4 text-muted"></span>
</div>
</div>
</div>
@endif
</div>
<div class="card mb-4">
<div class="card-body p-0">
<div class="table-responsive">
<table class="table table-hover mb-0">
<thead>
<tr>
<th>Linie</th>
@foreach ($clickableMetrics as $metric)
<th class="text-right">{{ $metricHeadings[$metric] }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($statistics['lines'] as $line)
<tr>
<td class="font-weight-semibold">{{ $line['label'] }}</td>
@foreach ($clickableMetrics as $metric)
<td class="text-right">
@if ($line[$metric] > 0)
<a href="{{ route('user_backoffice_statistics_details', [
'line' => $line['line'],
'metric' => $metric,
'month' => $selectedMonth,
'year' => $selectedYear,
]) }}"
class="badge badge-pill badge-outline-default backoffice-statistics-click-badge">
{{ $formatValue($line[$metric], $metric) }}
</a>
@php $newMetric = $newAboMetric($line, $metric); @endphp
@if ($newMetric && $line[$newMetric] > 0)
<a href="{{ $newBadgeLink($line['line'], $metric) }}"
class="badge badge-pill badge-success ml-1 backoffice-statistics-click-badge"
title="Neue im Monat anzeigen">+{{ number_format($line[$newMetric], 0, ',', '.') }}</a>
@endif
@else
<span
class="badge badge-pill badge-light backoffice-statistics-empty-badge">0</span>
@endif
</td>
@endforeach
</tr>
@endforeach
</tbody>
<tfoot>
<tr class="font-weight-bold bg-light">
<td>{{ $statistics['totals']['label'] }}</td>
@foreach ($clickableMetrics as $metric)
<td class="text-right">
@if ($statistics['totals'][$metric] > 0)
<a href="{{ route('user_backoffice_statistics_details', [
'line' => 0,
'metric' => $metric,
'month' => $selectedMonth,
'year' => $selectedYear,
]) }}"
class="badge badge-pill badge-secondary backoffice-statistics-click-badge">
{{ $formatValue($statistics['totals'][$metric], $metric) }}
</a>
@php $newMetric = $newAboMetric($statistics['totals'], $metric); @endphp
@if ($newMetric && $statistics['totals'][$newMetric] > 0)
<a href="{{ $newBadgeLink(0, $metric) }}"
class="badge badge-pill badge-success ml-1 backoffice-statistics-click-badge"
title="Neue im Monat anzeigen">+{{ number_format($statistics['totals'][$newMetric], 0, ',', '.') }}</a>
@endif
@else
<span
class="badge badge-pill badge-light backoffice-statistics-empty-badge">0</span>
@endif
</td>
@endforeach
</tr>
</tfoot>
</table>
</div>
@php $nonPaylinePoints = $statistics['non_payline_points'] ?? null; @endphp
@if ($nonPaylinePoints !== null && $nonPaylinePoints > 0)
<div class="card-body py-2 border-top">
<p class="text-muted small mb-0">
In den Gesamtpunkten enthalten:
<strong>{{ \App\Services\Util::formatNumber($nonPaylinePoints) }} Punkte</strong>,
die nicht in die Payline fließen (z.&nbsp;B. Neupartner-Einschreibungspunkte) —
die Punkte-Summe der Struktur-/Provisionsansicht fällt deshalb um diesen Betrag niedriger aus.
</p>
</div>
@endif
</div>
</div>
@php
$newCustomerAbos = $statistics['new_customer_abos'] ?? null;
$leaderAbos = $statistics['leader_abos'] ?? null;
@endphp
<div class="row">
<div class="col-lg-6 mb-4">
<div class="card h-100">
<div class="card-header d-flex justify-content-between align-items-center">
<div>
<h5 class="mb-0">Neue Kundenabos</h5>
<div class="text-muted small">{{ $selectedMonthName }} {{ $selectedYear }} · nach Anzahl sortiert</div>
</div>
<span class="display-4 font-weight-bold text-primary mb-0">
{{ number_format((float) ($statistics['totals']['team_customer_abos_new'] ?? 0), 0, ',', '.') }}
</span>
</div>
@if ($newCustomerAbos === null)
<div class="card-body">
<p class="text-muted mb-0">
Für diesen Monat liegt noch ein älterer Snapshot ohne diese Liste vor.
</p>
</div>
@elseif (count($newCustomerAbos) === 0)
<div class="card-body">
<p class="text-muted mb-0">In diesem Monat wurden keine neuen Kundenabos abgeschlossen.</p>
</div>
@else
<div class="table-responsive">
<table class="table table-hover mb-0">
<thead>
<tr>
<th>Berater</th>
<th class="text-right">Gesamt</th>
<th class="text-right">Neu</th>
</tr>
</thead>
<tbody>
@foreach ($newCustomerAbos as $row)
<tr>
<td>
<div class="font-weight-semibold">
{{ $row['name'] }}
@if (!empty($row['is_self']))
<span class="badge badge-pill badge-info ml-1">ich</span>
@endif
</div>
<div class="text-muted small">{{ !empty($row['is_self']) ? 'Eigene Kundenabos' : 'Linie '.$row['line'] }} · {{ $row['career_level'] }}</div>
</td>
<td class="text-right align-middle">
<span class="badge badge-pill badge-outline-default backoffice-statistics-click-badge">
{{ number_format((float) ($row['total_abo_count'] ?? 0), 0, ',', '.') }}
</span>
</td>
<td class="text-right align-middle">
<span class="badge badge-pill badge-success backoffice-statistics-click-badge">
+{{ number_format((float) $row['abo_count'], 0, ',', '.') }}
</span>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="card h-100">
<div class="card-header d-flex justify-content-between align-items-center">
<div>
<h5 class="mb-0">Abos Führungskräfte</h5>
<div class="text-muted small">ab Stufe {{ $leaderAbos['level_name'] ?? 'Vertriebsleiter' }} · aktueller Stand</div>
</div>
<div class="text-right">
<span class="display-4 font-weight-bold text-primary mb-0">
{{ number_format((float) ($leaderAbos['total'] ?? 0), 0, ',', '.') }}
</span>
@if ($leaderAbos !== null)
<div class="text-muted small">
{{ number_format((float) ($leaderAbos['total_own'] ?? 0), 0, ',', '.') }} eigene ·
{{ number_format((float) ($leaderAbos['total_customer'] ?? 0), 0, ',', '.') }} Kunden ·
{{ number_format((float) ($leaderAbos['total_team'] ?? 0), 0, ',', '.') }} Team ·
{{ number_format((float) ($leaderAbos['total_team_customer'] ?? 0), 0, ',', '.') }} Teamkunden
</div>
@endif
</div>
</div>
@if ($leaderAbos === null)
<div class="card-body">
<p class="text-muted mb-0">
Für diesen Monat liegt noch ein älterer Snapshot ohne diese Liste vor.
</p>
</div>
@elseif (count($leaderAbos['rows']) === 0)
<div class="card-body">
<p class="text-muted mb-0">
Im Team gibt es aktuell keine Führungskräfte ab Stufe {{ $leaderAbos['level_name'] }}.
</p>
</div>
@else
<div class="table-responsive">
<table class="table table-hover mb-0">
<thead>
<tr>
<th>Führungskraft</th>
<th class="text-right">Eigene Abos</th>
<th class="text-right">Kundenabos</th>
<th class="text-right" title="Berater-Abos im eigenen Team bis zur nächsten Führungskraft — diese Spalten überschneiden sich nicht und ergeben die Kopf-Summe.">Teamabos (direkt)</th>
<th class="text-right" title="Kundenabos im eigenen Team bis zur nächsten Führungskraft.">Team-Kundenabos (direkt)</th>
<th class="text-right" title="Berater-Abos der kompletten Downline — Teams untergeordneter Führungskräfte zählen hier mit, die Spalte lässt sich deshalb nicht aufsummieren.">Teamabos (gesamt)</th>
<th class="text-right" title="Kundenabos der kompletten Downline — inklusive der Teams untergeordneter Führungskräfte.">Team-Kundenabos (gesamt)</th>
<th class="text-right" title="Eigenes Abo + Kundenabos + Teamabos (gesamt) + Team-Kundenabos (gesamt)">Gesamt</th>
</tr>
</thead>
<tbody>
@foreach ($leaderAbos['rows'] as $row)
@php
$leaderTotal = $row['total_abo_count_full']
?? (($row['own_abo_count'] ?? 0) + ($row['customer_abo_count'] ?? 0) + ($row['team_abo_count_total'] ?? ($row['team_abo_count'] ?? 0)) + ($row['team_customer_abo_count_total'] ?? ($row['team_customer_abo_count'] ?? 0)));
@endphp
<tr>
<td>
<div class="font-weight-semibold">{{ $row['name'] }}</div>
<div class="text-muted small">Linie {{ $row['line'] }} · {{ $row['career_level'] }}</div>
</td>
@foreach (['own_abo_count', 'customer_abo_count', 'team_abo_count', 'team_customer_abo_count', 'team_abo_count_total', 'team_customer_abo_count_total'] as $countKey)
<td class="text-right align-middle">
@if (($row[$countKey] ?? 0) > 0)
<span class="badge badge-pill badge-outline-default backoffice-statistics-click-badge">
{{ number_format((float) $row[$countKey], 0, ',', '.') }}
</span>
@else
<span class="badge badge-pill badge-light backoffice-statistics-empty-badge">0</span>
@endif
</td>
@endforeach
<td class="text-right align-middle font-weight-bold">
{{ number_format((float) $leaderTotal, 0, ',', '.') }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="card-body pt-2 pb-3">
<p class="text-muted small mb-0">
<strong>direkt</strong> = Team bis zur nächsten Führungskraft (überschneidungsfrei, ergibt die Kopf-Summe).
<strong>gesamt</strong> = komplette Downline inklusive der Teams untergeordneter Führungskräfte — dieselben Abos
können dort bei mehreren Führungskräften zählen, die Gesamt-Spalte lässt sich deshalb nicht aufsummieren.
</p>
</div>
@endif
</div>
</div>
</div>
@php
$topCustomerAbos = $statistics['top_customer_abos'] ?? null;
@endphp
<div class="row">
<div class="col-lg-6 mb-4">
<div class="card h-100">
<div class="card-header">
<h5 class="mb-0">Top 10 Kundenabos (Anzahl)</h5>
<div class="text-muted small"
title="Zählt den heutigen Bestand aktiver Kundenabos. Die Incentive-Rangliste zählt anders: dort bleiben alle im Aktionszeitraum gestarteten Abos dauerhaft gezählt (inkl. Eigenabo und inzwischen beendeter Abos) — die Zahlen weichen deshalb bewusst voneinander ab.">
aktueller Bestand aktiver Kundenabos · weicht bewusst von der Incentive-Zählung ab
<span class="ion ion-md-information-circle-outline"></span>
</div>
</div>
@if ($topCustomerAbos === null)
<div class="card-body">
<p class="text-muted mb-0">
Für diesen Monat liegt noch ein älterer Snapshot ohne diese Liste vor.
</p>
</div>
@elseif (count($topCustomerAbos['by_count']) === 0)
<div class="card-body">
<p class="text-muted mb-0">Im Team gibt es aktuell keine aktiven Kundenabos.</p>
</div>
@else
<div class="table-responsive">
<table class="table table-hover mb-0">
<thead>
<tr>
<th style="width: 4rem;">Platz</th>
<th>Berater</th>
<th class="text-right">Kundenabos</th>
</tr>
</thead>
<tbody>
@foreach ($topCustomerAbos['by_count'] as $row)
<tr>
<td class="align-middle font-weight-bold">{{ $loop->iteration }}.</td>
<td>
<div class="font-weight-semibold">
{{ $row['name'] }}
@if (!empty($row['is_self']))
<span class="badge badge-pill badge-info ml-1">ich</span>
@endif
</div>
<div class="text-muted small">{{ !empty($row['is_self']) ? 'Eigene Kundenabos' : 'Linie '.$row['line'] }} · {{ $row['career_level'] }}</div>
</td>
<td class="text-right align-middle">
<span class="badge badge-pill badge-outline-default backoffice-statistics-click-badge">
{{ number_format((float) $row['abo_count'], 0, ',', '.') }}
</span>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="card h-100">
<div class="card-header">
<h5 class="mb-0">Top 10 Kundenabos (Umsatz)</h5>
<div class="text-muted small"
title="Abgerechnet = Kundenabo-Punkte, die im gewählten Monat tatsächlich angerechnet wurden (Hauptwert, Sortierung). Bestand/Lieferung = Punkte, die die heute aktiven Kundenabos pro Lieferung bringen — kann abweichen, wenn Abos im Monat dazukamen oder beendet wurden.">
sortiert nach abgerechneten Kundenabo-Punkten {{ $selectedMonthName }} {{ $selectedYear }}
<span class="ion ion-md-information-circle-outline"></span>
</div>
</div>
@if ($topCustomerAbos === null)
<div class="card-body">
<p class="text-muted mb-0">
Für diesen Monat liegt noch ein älterer Snapshot ohne diese Liste vor.
</p>
</div>
@elseif (count($topCustomerAbos['by_points']) === 0)
<div class="card-body">
<p class="text-muted mb-0">Im Team gibt es aktuell keine Kundenabo-Umsätze.</p>
</div>
@else
<div class="table-responsive">
<table class="table table-hover mb-0">
<thead>
<tr>
<th style="width: 4rem;">Platz</th>
<th>Berater</th>
<th class="text-right">Abos</th>
<th class="text-right" title="Im gewählten Monat abgerechnete Kundenabo-Punkte">Abgerechnet (Punkte)</th>
<th class="text-right" title="Punkte der heute aktiven Kundenabos pro Lieferung">Bestand/Lieferung</th>
</tr>
</thead>
<tbody>
@foreach ($topCustomerAbos['by_points'] as $row)
<tr>
<td class="align-middle font-weight-bold">{{ $loop->iteration }}.</td>
<td>
<div class="font-weight-semibold">
{{ $row['name'] }}
@if (!empty($row['is_self']))
<span class="badge badge-pill badge-info ml-1">ich</span>
@endif
</div>
<div class="text-muted small">{{ !empty($row['is_self']) ? 'Eigene Kundenabos' : 'Linie '.$row['line'] }} · {{ $row['career_level'] }}</div>
</td>
<td class="text-right align-middle">
<span class="badge badge-pill badge-outline-default backoffice-statistics-click-badge">
{{ number_format((float) ($row['abo_count'] ?? 0), 0, ',', '.') }}
</span>
</td>
<td class="text-right align-middle font-weight-bold">
{{ \App\Services\Util::formatNumber($row['points_actual']) }}
</td>
<td class="text-right align-middle">
{{ \App\Services\Util::formatNumber($row['points_target']) }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-4">
<div class="card h-100">
<div class="card-body">
<h5 class="mb-2">Begriffe</h5>
<p class="text-muted mb-2">
Teamabos sind Berater-/Eigenabos im Team. Teamkundenabos sind Kundenabos, die einem Berater
aus der jeweiligen Linie zugeordnet sind.
</p>
<p class="text-muted mb-0">
Umsatz = Gesamtpunkte der Linie (Eigen- und Kundenpunkte zusammen). Ein Klick auf eine Zahl
öffnet die zugehörige Namensliste.
</p>
</div>
</div>
</div>
<div class="col-md-6 mb-4">
<div class="card h-100">
<div class="card-body">
<h5 class="mb-2">Nächster Ausbau</h5>
<p class="text-muted mb-0">
Die Detailansichten liefern bereits Namen und Basisdaten. Im nächsten Schritt werden Abo-Punkte
und Umsatzarten noch feiner nach Abo, Einzelbestellung und Shop getrennt.
</p>
</div>
</div>
</div>
</div>
<style>
.backoffice-kpi-card {
cursor: pointer;
transition: box-shadow .15s ease-in-out, transform .15s ease-in-out, border-color .15s ease-in-out;
border: 1px solid rgba(0, 0, 0, .08);
}
.backoffice-kpi-card:hover,
.backoffice-kpi-card:focus {
border-color: #4e73df;
box-shadow: 0 .25rem .75rem rgba(78, 115, 223, .25);
transform: translateY(-2px);
}
.backoffice-statistics-click-badge,
.backoffice-statistics-empty-badge {
display: inline-block;
font-size: .85rem;
line-height: 1.35;
min-width: 2.35rem;
padding: .35rem .55rem;
text-align: center;
}
.backoffice-statistics-click-badge {
text-decoration: none;
}
.backoffice-statistics-click-badge:hover,
.backoffice-statistics-click-badge:focus {
text-decoration: none;
}
</style>
@endsection