@php
$type = $demandSift->ticket->user->user_departman->customer_user;
$officeName = '';
$logo = '';
if ($type->headOffice) {
$officeName = $type->headOffice->office_name;
$logo = $type->headOffice->office_logo;
}
if ($type->branch) {
$officeName = $type->branch->branch_name;
$logo = $type->branch->headOffice->office_logo;
}
@endphp
{{ $officeName }}
{{ \Carbon\Carbon::parse($demandSift->ticket->date)->isoFormat('D MMMM Y') }}
Yaklaşan İşiniz
@include('components.workers.accordion')
{{ $current_month->month_name }}
@foreach ($allData as $data)
@php
$allDays = $noAvailableDays
->pluck('no_available_day')
->map(function ($date) {
return $date;
})
->toArray();
@endphp
@if ($data->day == $current_day && $data->month == $current_month->month && $current_month->month == now()->format('m'))
@else
@endif
@endforeach