Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /home/fdshops/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/fdshops/public_html/storage/framework/views/1e8180846ebb12f7a94cbadb435d6972d553e1ad.php
<div class="col-md-4 col-sm-6 col-xs-12 col-custom">
    <?php $__env->startComponent('components.widget', [
        'class' => '',
        'title' => __('essentials::lang.birthdays'),
        'icon' => '<i class="fas fa-birthday-cake"></i>',
    ]); ?>
        <div class="">
            <table class="table no-margin">
                <tbody>
                    <tr>
                        <th class="bg-light-gray" colspan="3"><?php echo app('translator')->get('home.today'); ?></th>
                    </tr>
                    <?php $__empty_1 = true; $__currentLoopData = $today_births; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $birthday): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td><?php echo e($birthday->surname, false); ?> <?php echo e($birthday->first_name, false); ?> <?php echo e($birthday->last_name, false); ?></td>
                            <td><?php echo e(\Carbon::createFromTimestamp(strtotime(\Carbon::parse($birthday->dob)->setYear(date('Y'))))->format(session('business.date_format')), false); ?> </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr>
                            <td colspan="3" class="text-center"><?php echo app('translator')->get('lang_v1.no_data'); ?></td>
                        </tr>
                    <?php endif; ?>
                    <tr>
                        <td colspan="3">&nbsp;</td>
                    </tr>
                    <tr>
                        <th class="bg-light-gray" colspan="3"><?php echo app('translator')->get('lang_v1.upcoming'); ?></th>
                    </tr>
                    <?php $__empty_1 = true; $__currentLoopData = $up_comming_births; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $birthday): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td><?php echo e($birthday->surname, false); ?> <?php echo e($birthday->first_name, false); ?> <?php echo e($birthday->last_name, false); ?></td>
                            <?php if(date('m') == '12' && Carbon::parse($birthday->dob)->format('m') == '1'): ?>
                                <td><?php echo e(\Carbon::createFromTimestamp(strtotime(\Carbon::parse($birthday->dob)->setYear(date('Y') + 1)))->format(session('business.date_format')), false); ?> </td>
                            <?php else: ?>
                                <td><?php echo e(\Carbon::createFromTimestamp(strtotime(\Carbon::parse($birthday->dob)->setYear(date('Y'))))->format(session('business.date_format')), false); ?> </td>
                            <?php endif; ?>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr>
                            <td colspan="3" class="text-center"><?php echo app('translator')->get('lang_v1.no_data'); ?></td>
                        </tr>
                    <?php endif; ?>
                </tbody>
            </table>
        </div>
    <?php echo $__env->renderComponent(); ?>
</div>
<?php /**PATH /home/fdshops/public_html/Modules/Essentials/Providers/../Resources/views/dashboard/birthdays.blade.php ENDPATH**/ ?>

Spamworldpro Mini