@extends('layouts.app') @section('title', 'Settings - ' . ($systemName ?? 'Rental Stock Control')) @section('content')

Settings & Customization

Customize your profile display name, profile avatar, and manage system branding & logos.

Logged in as: {{ auth()->user()->role->name ?? 'User' }}
@if(session('success')) @endif @if(session('error')) @endif @if(isset($errors) && $errors->any()) @endif
@csrf
@if($user->avatar && file_exists(public_path($user->avatar))) {{ $user->name }}
{{ $user->initials }}
@else Avatar
{{ $user->initials }}
@endif

{{ $user->name }}

{{ $user->email }}

{{ $user->role->name ?? 'User' }}
Max file size: 2MB (JPG, PNG, WebP, SVG).
@error('avatar')
{{ $message }}
@enderror @if($user->avatar)
@endif
Sidebar Profile Card Preview
@if($user->avatar && file_exists(public_path($user->avatar))) {{ $user->name }} {{ $user->initials }} @else {{ $user->initials }} @endif
{{ $user->name }}
{{ $user->email }}
Updates automatically in the left sidebar bottom card.
Personal Information

Edit your custom profile name, contact email, and telephone number.

This name will appear on the sidebar, header greeting, audit logs, and export reports.
@error('name')
{{ $message }}
@enderror
You can use your email address or account username to sign in.
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
Roles are assigned by the System Administrator in User Management.
Active Member since {{ $user->created_at ? $user->created_at->format('M d, Y') : 'N/A' }}

Change Password / PIN Code (Optional - leave empty to keep current password or PIN)
@error('current_password')
{{ $message }}
@enderror
@error('new_password')
{{ $message }}
@enderror
Cancel
@if(!auth()->user()->canManageSystemBranding())
Administrative Access Required

You are logged in as a {{ auth()->user()->role->name ?? 'User' }}. Only system administrators and managers can change the global system logo, application branding, and company profile.

@endif
Live Sidebar Header Preview Interactive
@if(!empty($systemLogo) && file_exists(public_path($systemLogo))) Logo @else Logo @endif
{{ $systemName ?? 'Rental Stock' }}
{{ $systemSubtitle ?? 'Warehouse Management 🚀' }}
This live mockup represents how your custom system logo and system title will display at the top of the sidebar for all users across the warehouse system.
@if(!empty($systemLogo) && file_exists(public_path($systemLogo)))
Logo
Custom Logo Active
{{ basename($systemLogo) }}
@if(auth()->user()->canManageSystemBranding())
@csrf
@endif
@else
Using Default Rocket Icon
@endif
System Branding & Identity

Upload your company or warehouse logo and customize the system title and subtitle.

@csrf
user()->canManageSystemBranding() ? 'disabled' : '' }}>
Recommended size: Square or round transparent PNG/SVG, at least 128x128 pixels. The logo will automatically fit nicely into the sidebar header, navigation, and login screen.
@error('system_logo')
{{ $message }}
@enderror @if(!empty($systemLogo) && file_exists(public_path($systemLogo)) && auth()->user()->canManageSystemBranding())
@endif
user()->canManageSystemBranding() ? 'disabled' : '' }}>
Main title shown next to the logo in the sidebar header and browser tabs.
@error('system_name')
{{ $message }}
@enderror
user()->canManageSystemBranding() ? 'disabled' : '' }}>
Subtitle displayed below the system name.
@error('system_subtitle')
{{ $message }}
@enderror

Company / Organization Details

Optional contact and business information for printed discrepancy and inventory audit sheets.

user()->canManageSystemBranding() ? 'disabled' : '' }}>
user()->canManageSystemBranding() ? 'disabled' : '' }}>
user()->canManageSystemBranding() ? 'disabled' : '' }}>
user()->canManageSystemBranding() ? 'disabled' : '' }}>

System Time Zone & Regional Parameters

Set the global time zone and formatting for activity logs, stock movement, and audit reports.

Warehouse local time: Asia/Phnom_Penh (UTC+07:00 - Cambodia).
@if(auth()->user()->canManageSystemBranding())
Cancel
@endif
@if(!auth()->user()->canManageSystemBranding())
Administrative Access Required

You are logged in as a {{ auth()->user()->role->name ?? 'User' }}. Only system administrators and managers can change system time zone and regional localization parameters.

@endif
Live System Clock Live Synced
Current System Time
--:--:-- --
Loading date...
UTC+07:00 (ICT)
Configured Zone: {{ $settings['timezone'] ?? 'Asia/Phnom_Penh' }}
Target City: Phnom Penh, Cambodia
Standard: Indochina Time (ICT)
System PHP Time: {{ now()->format('Y-m-d H:i:s') }}
@if(auth()->user()->canManageSystemBranding()) @endif
All stock scan timestamps, audit logs, and approval records will align precisely with the time zone configured here.
System Time Zone & Regional Localization

Configure your local time zone (Asia/Phnom_Penh) and regional preferences for all operations across the warehouse.

@csrf
Primary System Time
Recommended for Cambodia warehouse deployments: Asia/Phnom_Penh (UTC+07:00). Selecting this aligns all timestamps with Phnom Penh local business hours.
@error('timezone')
{{ $message }}
@enderror
Used for tables, detail pages, and printable prep sheets.
@error('date_format')
{{ $message }}
@enderror
Choose 12-hour AM/PM or 24-hour military clock display.
@error('time_format')
{{ $message }}
@enderror

user()->canManageSystemBranding() ? 'disabled' : '' }}>
user()->canManageSystemBranding() ? 'disabled' : '' }}>
Live System Formatting Preview
Audit Log Timestamp:
{{ now()->format('Y-m-d H:i:s') }}
Report Date Display:
{{ now()->format('d M Y, h:i A') }}
@if(auth()->user()->canManageSystemBranding())
Cancel
@endif
@endsection @push('scripts') @endpush