
<?php $__env->startSection('title'); ?>
<title><?php echo e($websiteLang->where('lang_key','email_template')->first()->custom_text); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary"><?php echo e($websiteLang->where('lang_key','email_template')->first()->custom_text); ?></h6>
        </div>
        <div class="card-body" id="search-appointment">
            <div class="table-responsive printArea">
                <table class="table table-bordered" width="100%" cellspacing="0">
                    <thead>
                        <tr>
                            <th width="5%"><?php echo e($websiteLang->where('lang_key','serial')->first()->custom_text); ?></th>
                            <th width="15%"><?php echo e($websiteLang->where('lang_key','email_template')->first()->custom_text); ?></th>
                            <th width="15%"><?php echo e($websiteLang->where('lang_key','subject')->first()->custom_text); ?></th>
                            <th width="10%"><?php echo e($websiteLang->where('lang_key','action')->first()->custom_text); ?></th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $templates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e(++$index); ?></td>
                            <td><?php echo e(ucfirst($item->name)); ?></td>
                            <td><?php echo e($item->subject); ?></td>
                            <td>
                                <a  href="<?php echo e(route('admin.email-edit',$item->id)); ?>" class="btn btn-success btn-sm"><i class="fas fa-edit"></i></a>
                            </td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/cloudelite/imobi.eliteteclda.com/resources/views/admin/settings/email-template/index.blade.php ENDPATH**/ ?>