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

Company Settings

Branding and contact details displayed across the backoffice
{{-- 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') {{-- Logo --}}
@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. Displayed in the backoffice header.
{{-- Name --}}
@error('company_name')
{{ $message }}
@enderror
{{-- Phone --}}
@error('company_phone')
{{ $message }}
@enderror
{{-- Email --}}
@error('company_email')
{{ $message }}
@enderror
{{-- Address --}}
@error('company_address')
{{ $message }}
@enderror
@push('scripts') @endpush @endsection