@extends('layouts.vertical', ['page_title' => 'Datatables']) @section('css') @endsection @section('content')

{{ $title }} Management

@if (isset($buttons)) @foreach ($buttons as $button) {{ $button['title'] }} @endforeach @endif
@php $roles = json_decode(auth()->user()->roles ?? '[]', true); $isDepotManager = in_array('1733912682-7c353bf8-c309-49b3-93e7-depotmanager', $roles); $isSuperDepotManager = in_array('1733912682-7c353bf8-c309-49b3-93e7-superdepotmanager', $roles); @endphp @if (!in_array('1733912682-7c353bf8-c309-49b3-93e7-depotmanager', $roles))
@if (!in_array('1733912682-7c353bf8-c309-49b3-93e7-superdepotmanager', $roles))
@endif @endif @if ($isDepotManager || $isSuperDepotManager)
@endif
@if (session()->has('message'))
{{ session()->get('message') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif
Id Employee Number Employee Name Team Depot Name Doctor Name MSL Code Status Request Date Actions
@endsection @section('script') @endsection