@extends('layouts.maker') @section('title', 'Permohonan '.strtoupper(App\IPR::where('name', $ipr->name)->pluck('name')[0])) @section('permohonan', 'm-menu__item--active') @section(App\Cluster::where('id', $ipr->cluster_id)->pluck('name')[0], 'm-menu__item--active') @section(App\IPR::where('name', $ipr->name)->pluck('name')[0], 'm-menu__item--active') @section('css') @endsection @section('content') @role(['super_admin', 'maker']) @if(Auth::user()->hasRole('super_admin') || (Auth::user()->hasRole('maker') && Auth::user()->ipr_id == App\IPR::where('name', 'ptrs')->pluck('id')[0]))

Permohonan {{ App\IPR::where('name', 'ptrs')->pluck('display_name')[0] }}
{{Auth::user()->name}}

@if(Auth::user()->hasRole('super_admin') || $is_permission_own || $is_permission_all) @endif
 
Id Tarikh Permohonan Nama Pelajar No. Identiti Aliran Pengajian Darjah/Tingkatan
{{-- Modal --}} {{-- End Modal --}} {{-- Delete Modal --}} {{-- End Modal --}} @endif @endrole @endsection @section('js') @role(['super_admin','admin', 'maker']) @endrole @endsection