Notifications
@php $notification_attr = [ 'event_invoice' => ['class' => 'info', 'icon' => 'fas fa-file-invoice'], 'event_payment' => ['class' => 'success', 'icon' => 'fas fa-money-check-alt'], 'member_invoice' => ['class' => 'info', 'icon' => 'fas fa-file-invoice'], 'member_payment' => ['class' => 'success', 'icon' => 'fas fa-money-check-alt'], ]; @endphp @foreach ($p_notification as $pi) @php $paramid= Crypt::encrypt($pi['id']); $url = ''; if ($pi['flag'] == 'event_invoice') $url = route('invoice.edit', $paramid); else if ($pi['flag'] == 'event_payment') $url = route('invoice.edit', $paramid); else if ($pi['flag'] == 'member_invoice') $url = route('membership.invoice.edit', $paramid); else $url = route('membership.invoice.edit', $paramid); @endphp{{ Common::dateFormat($pi['at'], 'dd mmm yyyy, hh:ii WIB') }}