@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','admin', 'maker']) @if(Auth::user()->hasRole('super_admin') || (Auth::user()->hasRole('admin') || Auth::user()->hasRole('maker') && Auth::user()->ipr_id == App\IPR::where('name', 'ptrs')->pluck('id')[0])) @if ($errors->any())