@extends('adminlte::page')
@section('title', 'Kullanıcı Düzenle — ' . $user->name)
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{-- Mevcut atama bilgisi --}}
Şube: {{ optional($user->branch)->name ?? 'Atanmamış' }}
@forelse($user->roles as $role)
{{ $role->name }}
@empty
Rol yok
@endforelse
Şube/Rol ata →
@endsection