@extends('layouts.layout-2') @section('content')
{{ __('tables.no_data_available') }}
| Name | Karriere-Level | @if ($details['metric'] === 'team_customer_abos')Kundenabos | Volumenpunkte gesamt | @elseif ($details['metric'] === 'team_partner_abos')Berater | Abo-Punkte | Status | Besteht seit | Nächste Ausführung | Lieferungen | @elseif (in_array($details['metric'], ['own_points', 'external_points', 'customer_abo_points', 'customer_single_order_points', 'customer_other_points', 'total_points', 'shop_1000'], true))Eigenpunkte | Shop-Punkte | Abo-Punkte | Sonstige Punkte | Kundenpunkte | Gesamtpunkte | @elseif ($details['metric'] === 'new_partners')Sponsor | Kundenpunkte | Punkte gesamt | Aktiv seit | Account gültig bis | @elseAktiv seit | Account gültig bis | @endif|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['name'] }} | {{ $row['email'] ?? '-' }} | {{ $row['career_level'] ?? '-' }} | @if ($details['metric'] === 'team_customer_abos'){{ number_format($row['abo_count'], 0, ',', '.') }} |
{{ \App\Services\Util::formatNumber($row['points']) }}
@if (! empty($row['abos']))
Abos anzeigen
|
@elseif ($details['metric'] === 'team_partner_abos')
{{ $row['consultant_name'] ?? $row['name'] }} | {{ \App\Services\Util::formatNumber($row['points']) }} |
{!! $row['status_badge'] ?? '' !!}
@if (! empty($row['status_reason']))
{{ $row['status_reason'] }}
@endif
|
{{ $row['start_date'] ?? '-' }} @if (! empty($row['is_new_this_month'])) Neu @endif | {{ $row['next_date'] ?? '-' }} | {{ number_format($row['deliveries'], 0, ',', '.') }} | @elseif (in_array($details['metric'], ['own_points', 'external_points', 'customer_abo_points', 'customer_single_order_points', 'customer_other_points', 'total_points', 'shop_1000'], true)){{ \App\Services\Util::formatNumber($row['own_points']) }} | {{ \App\Services\Util::formatNumber($row['customer_single_order_points']) }} | {{ \App\Services\Util::formatNumber($row['customer_abo_points']) }} | {{ \App\Services\Util::formatNumber($row['customer_other_points']) }} | {{ \App\Services\Util::formatNumber($row['external_points']) }} | {{ \App\Services\Util::formatNumber($row['total_points']) }} | @elseif ($details['metric'] === 'new_partners'){{ $row['sponsor'] ?? '-' }} | {{ \App\Services\Util::formatNumber($row['customer_points'] ?? 0) }} | {{ \App\Services\Util::formatNumber($row['total_points'] ?? 0) }} | {{ $row['active_date'] ?? '-' }} | {{ $row['payment_account'] ?? '-' }} | @else{{ $row['active_date'] ?? '-' }} | {{ $row['payment_account'] ?? '-' }} @if (isset($row['is_account_active'])) {{ $row['account_status'] }} @endif | @endif
| Summe | {{ number_format($details['summary']['count'], 0, ',', '.') }} Einträge | @if ($details['metric'] === 'team_customer_abos') | {{ number_format($details['summary']['abo_count'], 0, ',', '.') }} | {{ \App\Services\Util::formatNumber($details['summary']['points']) }} | @elseif ($details['metric'] === 'team_partner_abos'){{ \App\Services\Util::formatNumber($details['summary']['points']) }} | {{ number_format($details['summary']['deliveries'], 0, ',', '.') }} | @elseif (in_array($details['metric'], ['own_points', 'external_points', 'customer_abo_points', 'customer_single_order_points', 'customer_other_points', 'total_points', 'shop_1000'], true)){{ \App\Services\Util::formatNumber($details['summary']['own_points']) }} | {{ \App\Services\Util::formatNumber($details['summary']['customer_single_order_points']) }} | {{ \App\Services\Util::formatNumber($details['summary']['customer_abo_points']) }} | {{ \App\Services\Util::formatNumber($details['summary']['customer_other_points']) }} | {{ \App\Services\Util::formatNumber($details['summary']['external_points']) }} | {{ \App\Services\Util::formatNumber($details['summary']['total_points']) }} | @elseif ($details['metric'] === 'new_partners'){{ \App\Services\Util::formatNumber($details['summary']['customer_points'] ?? 0) }} | {{ \App\Services\Util::formatNumber($details['summary']['total_points'] ?? 0) }} | @else | @endif |