@extends('layouts.app')
@section('urlContent')
@php
if ($customer->headOffice) {
$firmName = $customer->headOffice->office_name;
} else {
$firmName = $customer->branch->headOffice->office_name;
}
@endphp
@section('content')
@foreach ($departments as $item)
-
@if ($item->user_departman->customer_role == 'Company')
@else
@endif
{{ $item->user_departman->name }}
@endforeach
@if (count($departments) <= 0)
Hiç Veri Bulunamadı
@endif
{{ count($departments) }}
@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
@include('components.showImage')
@endsection