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

{{ \Carbon\Carbon::parse($demand->tickets->date)->isoFormat('D MMMM Y dddd') }} Günü Saat {{ $demand->hour }}

{{-- filters --}}

Talep Detayı

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

{{ $demand?->tickets?->user->full_name }}

{{ $demand->note ?? 'Not yok.' }}

{{ $demand->quantity }} adet {{ $demand->categories->title }}

@php $type = $demand?->tickets?->user->user_departman->payment_type; if ($type == 'hourly') { $text = 'Saatlik'; } elseif ($type == 'daily') { $text = 'Günlük'; } elseif ($type == 'monthly') { $text = 'Aylık'; } @endphp {{ $text }}

@if ($firmPaymentType == 'firm') @if ($demand?->tickets?->user->user_departman->customer_user->roles[0]->name == 'Company') @if ( $demand?->tickets?->user->user_departman->customer_user->customerPersonelCost ?->where('category_id', $demand->categories->id)->first()['category_cost_' . $demand?->tickets?->user->user_departman->payment_type] )

{{ $demand?->tickets?->user->user_departman->customer_user->customerPersonelCost ?->where('category_id', $demand->categories->id)->first()['category_cost_' . $demand?->tickets?->user->user_departman->payment_type] }}

@endif @endif @endif

Filtreler

{{--
--}}

Çalışan Seçin

@foreach ($favoritedUsers as $user) @if ($user->user->personelUser) @php if ($user->user->departments_added_to_favorites) { $checkFavori = false; foreach ($user->user->departments_added_to_favorites as $key => $favori) { if ($favori->customer_id = $user->user->customer) { $checkFavori = true; } } } @endphp @endif @endforeach
@csrf

Seçilen Çalışanlar

@if (count($personels) > 0) @foreach ($personels as $user) @endforeach @endif
@csrf
Adlı Kullanıcıya Yapmak istediğiniz işlemi seçiniz
@csrf
@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