@if (auth()->user()->role == 1)
@endif
@if(auth()->user()->to_role->l_peil_banjir == 1)
@endif
@if (in_array(auth()->user()->role, [1, 5, 6, 10, 13]))
@if (in_array($user->id_status, [5, 6, 7]))
@endif
@endif
@if(auth()->user()->to_role->e_peil_banjir == 1)
@if (auth()->user()->to_role->id == 2){{-- Jika Pemohon --}}
@if (in_array($user->id_status, [1, 2, 3, 4, 10]))
@elseif($user->id_status == 8) {{-- Jika Status Terbit --}}
@else
Menunggu
@endif
@else
@endif
@endif
@if(auth()->user()->to_role->c_peil_banjir == 1 && ($user->id_status == 7 || $user->id_status == 8 || $user->id_status == 10))
@if($user->id_status == 10)
@elseif($user->id_status == 8)
@endif
@endif
@if (auth()->user()->role == 5)
@if (auth()->user()->to_role->p_kabbid_data == 1 && $user->id_status == 5)
@if ($user->krk_ditandatangani)
@else
@endif
@endif
@endif
@if (auth()->user()->role == 6)
@if (auth()->user()->to_role->p_sd_data == 1 && $user->id_status == 6)
@endif
@endif
@if (auth()->user()->role == 10)
@if (auth()->user()->to_role->p_kadin_data == 1 && $user->id_status == 7)
@endif
@endif
@if(auth()->user()->to_role->h_peil_banjir == 1)
@endif