<?php $__env->startSection('content'); ?>
    <div class="panel panel-primary">
        <div class="panel-heading">Zákazníci</div>
        <div class="panel-body">
            <?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <div class="table-responsive">
                <?php if(!$customers->isEmpty()): ?>
                    <table class="table">
                        <tr>
                            <th>Jméno a příjmení</th>
                            <th>E-mail</th>
                            <th>Telefon</th>
                        </tr>
                        <?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($customer->customer_fname); ?> <?php echo e($customer->customer_lname); ?></td>
                                <td><?php echo e($customer->customer_email); ?></td>
                                <td><?php echo e($customer->customer_phone_number); ?></td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </table>
                <?php else: ?>
                    <div class="panel-info">
                        V tuto chvíli nejsou k dispozici žádné záznamy o zákaznících
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>