@extends('app') @section('content') @if((Auth::user()->role ?? null) === 'Gerent') @endif
{{--

{{ $center->name }}

--}} @if((Auth::user()->role ?? null) !== 'Tècnic')
@if($center->status == 1) Editar @endif @if($center->status == 1)
@csrf @method('PATCH')
@csrf @method('DELETE')
@else
@csrf @method('PATCH')
@endif
@endif

Informació bàsica

{{ $center->name }}

{{ $center->status == 1 ? 'Actiu' : 'Inactiu' }}

Informació de contacte

{{ $center->address ?: 'No especificada' }}

{{ $center->phone ?: 'No especificat' }}

{{ $center->email ?: 'No especificat' }}

Informació addicional

{{ $center->created_at ? $center->created_at->format('d/m/Y H:i') : 'No especificada' }}

{{ $center->updated_at ? $center->updated_at->format('d/m/Y H:i') : 'No especificada' }}

@include('components.partials.mainToasts') @endsection