@extends('layouts.user') @section('pageTitle') Anasayfa @endsection @section('content')
@include('components.workers.activeOrPassive')
@if ($demandSift)
@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')
@endif
{{ $current_month->month_name }}
P
S
Ç
P
C
C
P
@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
@if ($errors->any()) @include('components.error-modal-second') @elseif (session('success')) @include('components.success-modal') @elseif(session('error')) @include('components.error-modal') @endif @endsection @section('javascript') @endsection