<?php $__env->startSection('title', 'Dettaglio Azienda'); ?>

<?php $__env->startSection('content'); ?>
    <h1 class="h3 mb-3">Dettaglio Azienda</h1>

    <div class="card">
        <div class="card-body">
            <dl class="row mb-0">
                <dt class="col-sm-3">ID</dt>
                <dd class="col-sm-9"><?php echo e($azienda->id); ?></dd>

                <dt class="col-sm-3">Nome</dt>
                <dd class="col-sm-9"><?php echo e($azienda->nome); ?></dd>

                <dt class="col-sm-3">P. IVA</dt>
                <dd class="col-sm-9"><?php echo e($azienda->piva); ?></dd>

                <dt class="col-sm-3">Email</dt>
                <dd class="col-sm-9">
                    <?php if($azienda->email): ?>
                        <a href="mailto:<?php echo e($azienda->email); ?>"><?php echo e($azienda->email); ?></a>
                    <?php endif; ?>
                </dd>

                <dt class="col-sm-3">Telefono</dt>
                <dd class="col-sm-9">
                    <?php if($azienda->telefono): ?>
                        <a href="tel:<?php echo e($azienda->telefono); ?>"><?php echo e($azienda->telefono); ?></a>
                    <?php endif; ?>
                </dd>

                <dt class="col-sm-3">Indirizzo</dt>
                <dd class="col-sm-9"><?php echo e($azienda->indirizzo); ?></dd>
            </dl>
        </div>
    </div>

    <div class="mt-3 d-flex gap-2">
        <a href="<?php echo e(route('aziende.edit', $azienda)); ?>" class="btn btn-primary">Modifica</a>
        <form action="<?php echo e(route('aziende.destroy', $azienda)); ?>" method="POST"
            onsubmit="return confirm('Eliminare definitivamente questa azienda?');">
            <?php echo csrf_field(); ?>
            <?php echo method_field('DELETE'); ?>
            <button type="submit" class="btn btn-danger">Elimina</button>
        </form>
        <a href="<?php echo e(route('aziende.index')); ?>" class="btn btn-outline-secondary">Torna all’elenco</a>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.appback', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/giuseppepesce/Desktop/lavori_pesce/Ebinconf/resources/views/backend/aziende/show.blade.php ENDPATH**/ ?>