__('modules.dashboard.birthday'),'padding' => 'false','otherClasses' => 'h-200'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('cards.data'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'e-d-info mb-3']); ?>
getIterator() : [])); ?>
withName('table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $upcomingBirthday): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
$upcomingBirthday->user] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('employee'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
date_of_birth->translatedFormat('d M')); ?>
|
timezone)->year;
$year = $upcomingBirthday->date_of_birth->timezone(company()->timezone)->year(date('Y'));
$dateBirth = $upcomingBirthday->date_of_birth->format($currentYear . '-m-d');
$dateBirth = \Carbon\Carbon::parse($dateBirth);
$diffInDays = $year->copy()->diffForHumans(now()->timezone(company()->timezone),[
'syntax' => \Carbon\CarbonInterface::DIFF_RELATIVE_AUTO,
'options' => \Carbon\Carbon::JUST_NOW | \Carbon\Carbon::ONE_DAY_WORDS | \Carbon\Carbon::TWO_DAY_WORDS,
]);
?>
isToday()): ?>
get('app.today'); ?>
|
popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
'birthday-cake','message' => __('messages.noRecordFound')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('cards.no-record'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
renderComponent(); ?>
renderComponent(); ?>