@extends('layouts.app') @section('title', 'Settings — Company') @section('page-title', 'Company Settings') @section('content')

Company Settings

Branding and contact details displayed across the backoffice
Home Page Content
{{-- Remove-logo form is a standalone element OUTSIDE the settings form. The Remove button inside the settings form uses form="remove-logo-form" (HTML5 form association) to submit this form instead of the outer settings form. The global data-confirm handler in app.blade.php intercepts the submit event on this form. --}} @if(!empty($settings['company_logo']))
@csrf @method('DELETE')
@endif
@csrf @method('PATCH')
Company Logo
The single image used everywhere the app shows its branding — the admin sidebar, and the site header and footer.
@if(!empty($settings['company_logo'])) Company Logo {{-- form="remove-logo-form" links this button to the standalone remove form above --}} @else
@endif
@error('company_logo')
{{ $message }}
@enderror
JPG or PNG, max 2 MB. Any aspect ratio — it's scaled to fit each location automatically.
Company Info
Used in page titles, emails, and property listings — not shown alongside the logo above.
{{-- Name --}}
@error('company_name')
{{ $message }}
@enderror
{{-- Phone --}}
@error('company_phone')
{{ $message }}
@enderror
{{-- Email --}}
@error('company_email')
{{ $message }}
@enderror
{{-- Address --}}
@error('company_address')
{{ $message }}
@enderror
{{-- Standalone form (outside the card body it's referenced from below via form="") — same pattern as remove-logo-form above; the global data-confirm handler in layouts/app.blade.php intercepts its submit. --}}
@csrf
Property Slug Maintenance
Regenerates every Published property's public URL slug from its current type/BHK/purpose/city (fixes any slug still carrying old full-address text from before that was excluded). Visitors with an old link keep working — the detail page redirects any outdated slug to the new one automatically.
@push('scripts') @endpush @endsection