@extends('admin.layouts.app') @section('title', __('people.title')) @section('header', __('people.title')) @section('breadcrumb') {{ __('people.title') }} @endsection @section('header-actions') {{-- Export dropdown --}}
Duplikátumok {{ __('people.new') }} @endsection @section('content') {{-- ── FILTER PANEL ──────────────────────────────────── --}} @php $hasFilter = collect($filters)->filter(fn($v) => $v !== null && $v !== '' && $v !== [])->isNotEmpty(); $statusLabels = ['prospect'=>__('people.status.prospect'),'supporter'=>__('people.status.supporter'),'member'=>__('people.status.member'),'volunteer'=>__('people.status.volunteer'),'donor'=>__('people.status.donor'),'vip'=>__('people.status.vip'),'inactive'=>__('people.status.inactive')]; @endphp {{-- ── SAVE FILTER MODAL ──────────────────────────────── --}}A jelenlegi szűrőbeállítások kerülnek mentésre.
| {{ __('people.col_name') }} | {{ __('people.col_email') }} | {{ __('people.col_phone') }} | {{ __('common.status') }} | Értékelés | {{ __('people.col_city') }} | {{ __('people.col_registered') }} | ||
|---|---|---|---|---|---|---|---|---|
|
@if($person->photo)
|
{{ $person->last_name }} {{ $person->first_name }} | {{ $person->email ?? '—' }} | {{ $person->phone ?? '—' }} | @php $sc=['member'=>'badge-primary','supporter'=>'badge-success','donor'=>'badge-warning','volunteer'=>'badge-info','vip'=>'badge-purple','prospect'=>'badge-secondary','inactive'=>'badge-secondary']; @endphp {{ __('people.status.' . $person->status, [], null) ?: $person->status }} | @if($person->lead_score) {{ str_repeat('★', $person->lead_score) }}{{ str_repeat('★', 5 - $person->lead_score) }} @endif @if($person->lead_stage) @php $stageBadgeColors = ['new'=>'#6c757d','contacted'=>'#299cdb','qualified'=>'#7a5af8','proposal'=>'#f7b84b','converted'=>'#0ab39c','lost'=>'#f06548']; $stageLabels = ['new'=>'Új','contacted'=>'Kapcsolatba lépve','qualified'=>'Minősített','proposal'=>'Ajánlat','converted'=>'Megnyert','lost'=>'Elveszett']; $stageColor = $stageBadgeColors[$person->lead_stage] ?? '#6c757d'; @endphp {{ $stageLabels[$person->lead_stage] ?? $person->lead_stage }} @endif @if(!$person->lead_score && !$person->lead_stage) — @endif | {{ $person->city ?? '—' }} | {{ $person->created_at->format('d M, Y') }} |
|
| {{ __('people.empty') }} | ||||||||
{{ __('people.photo_hint') }}
{{ __('people.photo_keep') }}