@php use ArPHP\I18N\Arabic; $ar = new Arabic(); // Check Storage disk first (storage/app/public) $logo = null; foreach (['logo.png', 'Logo.svg', 'logo.svg'] as $candidate) { $storagePath = storage_path('app/public/' . $candidate); if (file_exists($storagePath)) { $logo = $storagePath; break; } } // Fallback to public path if (!$logo) { $preferred = ['images/logo.png', 'images/logo.jpg', 'logo.png', 'logo.jpg']; foreach ($preferred as $candidate) { if (file_exists(public_path($candidate))) { $logo = public_path($candidate); break; } } } @endphp
{{ $dateRange }}
{{ $ar->utf8Glyphs(__('no_data')) }}
@else| {{ $ar->utf8Glyphs(__('total_points')) }} | {{ $ar->utf8Glyphs(__('package_name')) }} |
|---|---|
| {{ number_format($p->total_points) }} | {{ filled($p->package_name) ? $ar->utf8Glyphs($p->package_name[app()->getLocale()] ?? ($p->package_name['en'] ?? '—')) : '—' }} |
| {{ number_format($totalPackagePoints) }} | {{ $ar->utf8Glyphs(__('total')) }} |
| {{ $ar->utf8Glyphs(__('total_points_added_manually')) }} |
|---|
| {{ number_format($adminAdditions) }} |
| {{ $ar->utf8Glyphs(__('total_points_registration')) }} |
|---|
| {{ number_format($registrationBonuses) }} |
| {{ $ar->utf8Glyphs(__('difference')) }} (A+B+C - Used) |
{{ $ar->utf8Glyphs(__('total_points_used')) }} | {{ $ar->utf8Glyphs(__('total_points_added')) }} (A+B+C) |
|---|---|---|
| {{ number_format($difference) }} | {{ number_format($totalUsed) }} | {{ number_format($totalAdded) }} |