@extends('layouts.app') @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','admin']) @if(Auth::user()->hasRole('super_admin') || Auth::user()->hasRole('admin') && Auth::user()->ipr_id == App\IPR::where('name', 'skw')->pluck('id')[0])