@php $qrStatusColor = match ($rewardDetail['status']) { 'Completed' => '#A0E86F', 'Cancelled' => '#EF4444', default => '#EEC14C', }; @endphp