@extends('layouts.app') @php $date = request()->date ?? now()->format('Y-m-d'); @endphp @section('urlContent') {!! view('components.breadcrumbs', [ 'b_items' => [ 'Günlük Talepler' => '/operation/daily-tickets/index', 'Onaylanmış Taleplerim' => '/operation/daily-tickets/approved/?date=' . $date, 'Departmanlar' => '/operation/daily-tickets/approved/customer/' . $customer->id . '/departments?date=' . $date, 'Departman Talepleri' => '/operation/daily-tickets/approved/customer/' . $customer->id . '/departments/' . $department->id . '/demands?date=' . $date, ], ]) !!} @endsection @section('content')
    @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 }}
    @php if ($customer->headOffice) { $securityMail = $customer->headOffice->security_mail; } else { $securityMail = $customer->branch->security_mail; } @endphp @if ($securityMail)
    @csrf
    @endif
  2. @endforeach
Servis Ekleyin
@csrf
@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