@extends('layouts.app')
@section('content')
@if ($errors->any())
@include('components.error-modal-second')
@endif
@if (session('error'))
@include('components.error-modal')
@endif
@if (session('success'))
@include('components.success-modal')
@endif
@foreach ($departments as $item)
-
@if ($item->user_departman->customer_role == 'Company')
@else
@endif
{{-- {{ route('operation.demands.index', [$item->id]) }} --}}
{{ $item->user_departman->name }}
@endforeach
@if (count($departments) <= 0)
Hiç Veri Bulunamadı
@endif
{{ count($departments) }}
@include('components.showImage')
@endsection