@php $panel = $panel ?? 'admin'; $isEmployee = $panel === 'employee'; $titlePrefix = $isEmployee ? 'Employee Login' : 'Admin Login'; $panelLabel = $isEmployee ? 'Employee Access Panel' : 'Admin Control Panel'; $placeholderEmail = $isEmployee ? 'employee@example.com' : 'owner@example.com'; $formAction = $formAction ?? route('login'); $switchUrl = $switchUrl ?? null; $switchLabel = $switchLabel ?? null; $siteSettings = \App\Models\GeneralSetting::getContent(); $siteLogo = $siteSettings['site']['logo'] ?? null; $logoUrl = $siteLogo ? ((str_starts_with($siteLogo, 'http://') || str_starts_with($siteLogo, 'https://')) ? $siteLogo : asset('storage/' . ltrim($siteLogo, '/'))) : null; @endphp {{ $titlePrefix }} - {{ config('app.name') }} @vite(['resources/css/app.css', 'resources/js/app.js'])
@if($logoUrl) {{ config('app.name') }} logo @else G @endif

GPS Migration

{{ $panelLabel }}

{{ $isEmployee ? 'Employee Access' : 'Admin Access' }}

Sign in to your account

Use your email and password to access the {{ $isEmployee ? 'employee workspace' : 'admin control panel' }} securely.

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@error('email')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror
@if (Route::has('password.request')) Forgot password? @endif
@if($switchUrl && $switchLabel) Switch to {{ $switchLabel }} @endif

© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.