@extends('layouts.app') @section('content')
@if(auth()->user()->hasRole('loanofficer'))

Loan Applications

@include('loans.loan_applications') {{-- Including the Loan Applications view --}}
@endif @if(auth()->user()->hasRole('superadmin'))

Superadmin Actions

@include('uramobile.admin_actions') {{-- Including theadmin Actions view --}}
@endif @if(auth()->user()->hasRole('accountant'))
@endif @if(auth()->user()->hasRole('general_manager'))
@endif @if(auth()->user()->hasRole('branch_manager'))
@endif @if(!auth()->user()->hasAnyRole(['loanofficer', 'superadmin', 'accountant', 'general_manager'])) @endif
@endsection