@extends('layouts.app') @section('title', $client->exists ? $client->name : __('New company file')) @section('page-title', $client->exists ? $client->name : __('New company file')) @section('page-subtitle', $client->exists ? __('Edit the company profile.') : __('Create a new company profile.')) @php // Country config as a JS-friendly map. The form reactively updates the // registration field label/hint, VAT format and legal form options when // the operator switches country. $countryJson = json_encode($countries, JSON_UNESCAPED_UNICODE); $action = $client->exists ? route('tenant.clients.update', $client) : route('tenant.clients.store'); $method = $client->exists ? 'PATCH' : 'POST'; $isCreate = ! $client->exists; $skipped = session('import_skipped', []); @endphp @section('content')