@extends('shared.vertical', ['title' => $businessUser->exists ? 'Yetkili Kullanıcı Düzenle' : 'Yeni Yetkili Kullanıcı']) @section('content') @php $selectedCategories = array_map('intval', old('access_category_ids', $scopeState['category_ids'] ?? [])); $selectedCards = array_map('intval', old('access_card_ids', $scopeState['card_ids'] ?? [])); $accessAll = (bool) old('access_all', $scopeState['all'] ?? false); $hasPasswordResetRoute = \Illuminate\Support\Facades\Route::has('admin.business-users.password-reset-code'); $hasImpersonateRoute = \Illuminate\Support\Facades\Route::has('admin.business-users.impersonate'); try { $lastLoginText = $businessUser->last_login_at ? $businessUser->last_login_at->format('d.m.Y H:i') : 'Henüz giriş yok'; } catch (\Throwable $e) { $lastLoginText = 'Henüz giriş yok'; } @endphp
Kullanıcıyı bireysel veya Bayi müşteri kaydına bağlayın. Rol genel işlem sınırını, aşağıdaki kart kapsamı ise hangi kartların görülebileceğini belirler.