@extends('layouts.app') @section('urlContent') @php $userId = request()->segment(4); @endphp {!! view('components.breadcrumbs', [ 'b_items' => [ 'Kullanıcı İşlemleri' => '/root/list/user', 'Kullanıcı Düzenle' => '/root/edit/user/' . $userId, ], ]) !!} @endsection @section('content')

{{ $user->full_name }} Kullanıcısını Düzenleyin

Seçtiğiniz Kullanıcının Kişisel Bilgilerini Düzenleyiniz.

@if ($user->roles[0]->name == 'Operasyon') @include('components.root.operationUserInfoPopup')
@endif @if ($user->is_active == true)
@csrf
@else
@csrf
@endif
@csrf
Ad
Soyad
İl
İlçe
Telefon
Email
Şifre
Profil Resmi
Rol
@if ($user->hasRole('Hr'))
İnsan Kaynakları Rolü Seçiniz
can('ik_ise_alim')) checked @endif name="permissions[]" value="ik_ise_alim" class="rounded accent-theme_secondary_gray"> işe alım
can('ik_bordro')) checked @endif name="permissions[]" value="ik_bordro" class="rounded accent-theme_secondary_gray"> bordro
can('call_support')) checked @endif name="permissions[]" value="call_support" class="rounded accent-theme_secondary_gray"> Ön Kayıt
Kita Seçiniz
@endif @if ($user->hasRole('Operasyon')) @php $hrUsers = json_decode($user->operationsHr->all_hr_ids) ?? []; @endphp
İnsan Kaynakları Seçiniz
@php $accountingUsers = \App\Models\User::whereHas('roles', function ($query) { $query->where('name', 'Muhasebe'); })->get(); $selectedAccounting = $user->operationAccountingUser->id ?? null; @endphp
Muhasebeci Seçiniz
@endif @if ($user->hasRole('isg'))
İSG Rolü Seçiniz
Evrakları Şirket Yüklesin
Evrakları Kendisi Yüklesin
@endif @if ($user->hasRole('Muhasebe'))
Muhasebe Tipi Seçiniz
accountingUserType && $user->accountingUserType->accounting_type == 1) @checked(true) @endif> Baş Muhasebe
accountingUserType && $user->accountingUserType->accounting_type == 2) @checked(true) @endif> Normal
@endif
@include('components.showImage') @if ($errors->any()) @include('components.error-modal-second') @endif @if (session('error')) {{ session('error') }} @endif @if (session('success')) {{ session('success') }} @endif @endsection @section('javascript') @endsection