<?php /* /var/www/html/tentickets.com.br/resources/views/adm/clientes/show.blade.php */ ?>
<?php $__env->startSection('conteudo'); ?>

    <div class="table-responsive">
        <table class="table table-bordered" id="listagem">
            <tbody>
                <tr>
                    <td style="width: 15%">Nome</td>
                    <td><?php echo e($cliente->nome); ?></td>
                </tr>
                <tr>
                    <td style="width: 15%">Descrição</td>
                    <td><?php echo e($cliente->descricao); ?></td>
                </tr>
                <tr>
                    <td style="width: 15%">Data de Criação</td>
                    <td><?php echo e(date_create_from_format('Y-m-d H:i:s', $cliente->created_at)->format('d/m/Y')); ?></td>
                </tr>
                <tr>
                    <td style="width: 15%">Última Atualização</td>
                    <td><?php echo e(date_create_from_format('Y-m-d H:i:s', $cliente->created_at)->format('d/m/Y à\s H:i:s')); ?></td>
                </tr>
            </tbody>
        </table>
    </div>

    <div id="showImagem" class="modal fade" role="dialog">
        <div class="modal-dialog">

            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">Imagem</h4>
                </div>
                <div class="modal-body">
                    <img id="imagem-full" style="width: 100%" src="#" />
                </div>
            </div>

        </div>
    </div>

    <?php $__currentLoopData = $cliente->imagens; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $imagem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <img src="<?php echo e(asset($imagem->path)); ?>" 
            style="width: 100px; height: 100px; margin: 5px; cursor: pointer"
            class="img-thumbnail imagem"/>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
    <script type="text/javascript" src="<?php echo e(asset('js/adm/clientes.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('adm.template.template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>