53 lines
2.3 KiB
PHP
53 lines
2.3 KiB
PHP
<x-layouts::app :title="$company->name">
|
|
<div class="space-y-6">
|
|
<x-wms.page-hero
|
|
eyebrow="Platform Administration"
|
|
:title="$company->name"
|
|
description="Company details and administration."
|
|
icon="fa-solid fa-building"
|
|
/>
|
|
|
|
<div class="rounded-3xl bg-white p-6 shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
|
<dl class="grid gap-5 md:grid-cols-2">
|
|
<div>
|
|
<dt class="text-sm font-medium text-zinc-500 dark:text-zinc-400">Billing email</dt>
|
|
<dd class="mt-1 font-semibold text-zinc-900 dark:text-white">{{ $company->billing_email ?? '—' }}</dd>
|
|
</div>
|
|
|
|
<div>
|
|
<dt class="text-sm font-medium text-zinc-500 dark:text-zinc-400">Status</dt>
|
|
<dd class="mt-1 font-semibold text-zinc-900 dark:text-white">
|
|
{{ $company->is_system_company ? 'System' : ucfirst($company->status) }}
|
|
</dd>
|
|
</div>
|
|
|
|
<div>
|
|
<dt class="text-sm font-medium text-zinc-500 dark:text-zinc-400">Timezone</dt>
|
|
<dd class="mt-1 font-semibold text-zinc-900 dark:text-white">{{ $company->timezone }}</dd>
|
|
</div>
|
|
|
|
<div>
|
|
<dt class="text-sm font-medium text-zinc-500 dark:text-zinc-400">Slug</dt>
|
|
<dd class="mt-1 font-semibold text-zinc-900 dark:text-white">{{ $company->slug }}</dd>
|
|
</div>
|
|
</dl>
|
|
|
|
<div class="mt-6 flex gap-3">
|
|
<a
|
|
href="{{ route('platform.companies.edit', $company) }}"
|
|
class="rounded-xl bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-700"
|
|
>
|
|
Edit
|
|
</a>
|
|
|
|
<a
|
|
href="{{ route('platform.companies.index') }}"
|
|
class="rounded-xl border border-zinc-300 px-4 py-2 text-sm font-semibold text-zinc-700 hover:bg-zinc-50 dark:border-zinc-700 dark:text-zinc-200 dark:hover:bg-zinc-800"
|
|
>
|
|
Back
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-layouts::app>
|