@php $fmt = fn($n) => 'Rp ' . number_format((float) $n, 0, ',', '.'); @endphp
{{-- ===== BREADCRUMB ===== --}}
Beranda / {{ $kategori->name }} / {{ $brand }}
{{-- ===== JUDUL ===== --}}
{!! $brandLogo($brand, 'w-full h-full') !!}

{{ $brand }}

{{ $kategori->name }} · langsung diproses otomatis

{{-- ===== INPUT NO. TUJUAN (opsional, dibawa ke produk) ===== --}}
@php $duaInput = in_array($idFormat, ['zone', 'server', 'riot']); $pemisah = ['server' => '|', 'riot' => '#'][$idFormat] ?? ''; $namaInput1 = [ 'zone' => 'User ID', 'server' => 'UID', 'riot' => 'Riot ID', 'username' => 'Username', 'id' => $idLabel, ][$idFormat]; $namaInput2 = ['zone' => 'Zone ID', 'server' => 'Server', 'riot' => 'Tag'][$idFormat] ?? null; $contoh1 = $idFormat === 'username' ? 'Username in-game' : 'Contoh: 123456789'; $contoh2 = ['zone' => 'Contoh: 1234', 'server' => 'Asia / America / Europe / TW_HK_MO', 'riot' => 'Contoh: 1234'][$idFormat] ?? ''; $bagianTarget = $pemisah !== '' ? explode($pemisah, (string) $target) : [(string) $target]; $petunjuk = [ 'zone' => 'Zone ID = angka setelah tanda | di profil ML kamu.', 'server' => 'Format Digiflazz: UID|Server (contoh: 123456789|Asia).', 'riot' => 'Riot ID & Tag ada di profil game (contoh: Player123#1234).', 'username' => 'Masukkan username akun game kamu.', 'id' => 'Isi sekarang biar tidak ketik ulang di halaman produk. Nominal di bawah udah otomatis bawa nomor ini.', ][$idFormat]; @endphp @if ($duaInput) @endif

{{ $petunjuk }}

@if ($duaInput)

@else @endif
{{-- ===== LIST PRODUK ===== --}} @if ($produk->isEmpty())
📦

Belum ada produk untuk {{ $brand }}.

@else

Pilih Nominal

@endif