@extends('layouts.app') @section('urlContent') {!! view('components.breadcrumbs', [ 'b_items' => [ 'Departman Düzenle' => '/root/edit/department/' . $department->id, ], ]) !!} @endsection @section('content')
@csrf
{{--
Departman Logosu @if ($department->logo_path) @endif
--}}
Departman Adı
Yetkili Telefon Numarası
Yetkili Adı
Yetkili Soyadı
Yetkili Emaili
Şifre
Adres İçin Bağlantı
Genel Merkez Onayı
@php if ($department->customer_role == 'Company') { $office = $department->customer_user->headOffice->working_types; } else { $office = $department->customer_user->branch->headOffice->working_types; } $type = json_decode($office) ?? []; @endphp
Çalışma Tipİ
@if ($type == [])

Firma Çalışma Tipi Mevcut Değil

@endif @if (in_array('hourly', $type)) @endif @if (in_array('daily', $type)) @endif @if (in_array('monthly', $type)) @endif
Genel Merkez Onayı
@if (env('APP_TYPE', 'live') == 'dev') @endif
@csrf @method('DELETE')
@include('components.showImage') @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 @endsection @section('javascript') @endsection