@extends('backoffice.layout.master') @section('setSectionTitle', __('Gestione Aziende')) @section('setSectionDescription', __('Visualizza e gestisci tutte le aziende della piattaforma')) @section('setContent')
{{ __('Crea Nuova Azienda') }}
@csrf
{{ __('Lista Aziende') }}
@if($companies->count() > 0)
@foreach($companies as $company) @endforeach
{{ __('Ragione Sociale') }} {{ __('P.IVA') }} {{ __('Email') }} {{ __('Sede Legale') }} {{ __('Stato') }} {{ __('Data Registrazione') }} {{ __('Azioni') }}
{{ $company->name }} {{ $company->vat_number ?? '-' }} {{ $company->email ?? '-' }} @if($company->refAddress) {{ $company->refAddress->city ?? '' }} @if($company->refAddress->refLocationCountry) ({{ $company->refAddress->refLocationCountry->name }}) @endif @else - @endif @if($company->approved_at) {{ __('Approvata') }} @else {{ __('In Attesa') }} @endif {{ $company->created_at->format('d/m/Y H:i') }} {{ __('Dettaglio') }}
@csrf @method('DELETE')
@if($companies->hasPages())
{{ $companies->links() }}
@endif @else
{{ __('Nessuna azienda presente nel sistema.') }}
@endif
@endsection