@extends('layouts.main') @section('title', 'Edit Company: ' . $company->name) @section('content')
{{ strtoupper(substr($company->name, 0, 1)) }}

Edit Company: {{ $company->name }}

Update company information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('company')
{{ $message }}
@enderror
Account Information
Created:
{{ $company->created_at->format('M d, Y H:i A') }}
Email Status:
@if($company->email_verified_at) Verified {{ $company->email_verified_at->format('M d, Y') }} @else Pending Verification @endif
@error('workspace_name')
{{ $message }}
@enderror
Workspace Information
@if($company->workspaces->count() > 0)
Total Workspaces: {{ $company->workspaces->count() }}
@foreach($company->workspaces as $workspace)
{{ $workspace->name }} @if($workspace->description)
{{ $workspace->description }} @endif
{{ $workspace->workspaceItems->count() }} item(s)
@endforeach @else

No workspaces created yet.

@endif
Update Notes:
  • If you change the email address, the user will need to verify the new email
  • Password updates will require the user to log in again with the new password
  • Workspace name changes will update the first workspace (if exists) or create a new one
  • This user will maintain their "Company" role
@endsection @section('scripts') @endsection