@extends('layouts.app') @section('urlContent') @php // GERI DONULECEK IDYI AL $offices = request()->segment(3); $branch = request()->segment(5); @endphp {!! view('components.breadcrumbs', [ 'b_items' => [ 'Firmalar' => '/root/offices', 'Firma Bilgileri ve Şubeler' => '/root/offices/' . $offices . '#section_2', 'Şube Bilgileri' => '/root/offices/' . $offices . '/branch/' . $branch, ], ]) !!} @endsection @section('content')
@if ($branchOffice->approval_status == '1' || $branchOffice->approval_status == null) @if ($branchOffice->status == '1')
@csrf
@elseif ($branchOffice->status == '0')
@csrf
@endif @endif @if ($branchOffice->approval_status == '2') @endif
@csrf
Genel Merkez Seç
Şube İsmi
Şubenin İli
Şubenin İlçesi
Şube Yetkilisi
Şube Yetkili Ünvanı
Şube Yetkilisinin Emaili
Şifre
Şube Yetkilisi Telefon Numarası
Güvenlik Mail Adresi
Adres İçin Bağlantı
Genel Merkez Onayı
sicil numarasi
Sicil No: {{ $branchOffice->registiration?->registration_number }} Açıklama: {{ $branchOffice->registiration?->description }} Tarih: {{ $branchOffice->registiration?->registiration_date }}
Operasyoncu Seç
@include('components.root.branchServicesEdit')
    {{-- filter --}}
    {{-- search input --}}
    @foreach ($departments as $department)
  1. @if ($department->customer_role == 'Company') @else @endif

    {{ $department->name }}

    {{ $department->phone }}

    {{ Str::limit($department->email, 25) }}

    {{ Str::limit($department->user->full_name, 25) }}

    @php $payment_type = $department->payment_type; if ($payment_type == 'hourly') { $payText = 'Saatlik'; } elseif ($payment_type == 'daily') { $payText = 'Günlük'; } elseif ($payment_type == 'monthly') { $payText = 'Aylık'; } @endphp {{ $payText }}

    @if ($department->customer_role == 'Company') {{ $department->customer_user->headOffice->min_work_hour }} @else {{ $department->customer_user->branch->headOffice->min_work_hour }} @endif

    {{-- @php if ($branch->approval_status == '1' || $branch->approval_status == null) { if ($branch->status == '1') { $status = 'Aktif'; $color = 'bg-green-500'; } else { $status = 'Pasif'; $color = 'bg-red-500'; } } else { if ($branch->approval_status == '2') { $status = 'Onay Bekleniyor'; $color = 'bg-orange-500'; } elseif ($branch->approval_status == '1') { $status = 'Onaylandı'; $color = 'bg-green-500'; } else { $status = 'Reddedildi'; $color = 'bg-red-500'; } } @endphp
    {{ $status }}
    @if ($branch->iframe) @include('components.iframe')
    @csrf
    @endif @if ($branch->user)
    @csrf
    @endif --}} {{--
    @csrf @method('DELETE')
    --}}
  2. @endforeach @if (count($departments) <= 0) Hiç Veri Bulunamadı @endif
    {{ count($departments) }}
@include('components.root.rejectBranch') @include('components.root.makePasswordModal') @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