@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)
  1. @if ($item->user_departman->customer_role == 'Company') @else @endif

    {{ $item->user_departman->name }}

    {{ $item->city }}

    {{ $item->district }}

  2. @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