@extends('layouts.app') @section('content')

{{ \Carbon\Carbon::now()->isoFormat('D MMMM Y') }} Tarihindeki Talepler

    @foreach ($demands as $demand)
  1. @if ($demand?->tickets?->user->user_departman?->customer_user->roles[0]->name == 'Company') @elseif ($demand?->tickets?->user->user_departman?->customer_user->roles[0]->name == 'Branch') @endif

    {{ $demand?->tickets?->user->user_departman->name }}

    Date
    Adres
    {{ $demand->quantity }} {{ $demand->categories->title }}
  2. @endforeach @if (count($demands) <= 0) Hiç Veri Bulunamadı @endif
{{ $current_month->month_name }}
P
S
Ç
P
C
C
P
@foreach ($allData as $data) @php $ticketDates = $tickets ->pluck('date') ->map(function ($date) { return Carbon\Carbon::parse($date)->format('Y-m-d'); }) ->toArray(); @endphp @if ($data->day == $current_day && $data->month == $current_month->month && $current_month->month == now()->format('m')) {{-- bugun ise --}} @else @endif @endforeach
{{ count($demands) }}
@if ($errors->any()) @include('components.error-modal-second') @endif @if (session('error')) @include('components.error-modal') @endif @if (session('success')) @include('components.success-modal') @endif @include('components.showImage') @endsection @section('javascript') @endsection