{{-- ÜST MENÜ --}} {{-- TAKVİM --}}
@for ($date = \Carbon\Carbon::parse($start_date); $date->lte(\Carbon\Carbon::parse($end_date)); $date->addDay())
{{-- GÜNLER --}}
@if ($date->format('d.m.Y') == now()->format('d.m.Y')) Bugün {{ $date->locale('tr')->translatedFormat('d F Y, l') }} @else {{ $date->locale('tr')->translatedFormat('d F Y, l') }} @endif
{{-- AÇILIR MENÜ --}}
{{-- İÇERİK --}}
@if ($new_tasks->where('date', $date->toDateString())->count() > 0)
@livewire('new-tasks', ['new_tasks' => $new_tasks, 'date' => $date], key($date))
@endif @if ($hirings->where('end_date', $date->toDateString())->count() > 0)
@foreach ($hirings->where('end_date', $date->toDateString()) as $hiring)
#{{ $hiring->company->name }}
{{ $hiring->person }} {{ $hiring->phone }}
{{ $hiring->product->name }} {{ $hiring->product->brand }}
@endforeach
@endif @if ($offers->where('date', $date->toDateString())->count() > 0)
@foreach ($offers->where('date', $date->toDateString()) as $offer)
#{{ $offer->company->name }}
{{ number_format($offer->trl_total, 0, ',', '.') }}₺
@endforeach
@endif @if ($opp->where('date', $date->toDateString())->count() > 0)
@foreach ($opp->where('date', $date->toDateString()) as $opportunity)
{{ $opportunity->contact }}
#{{ $opportunity->company->name }}
{{ $opportunity->content }}
@if (strlen($opportunity->content) > 50)
daha fazla...
@endif
@endforeach
@endif @if ($deals->where('date', $date->toDateString())->count() > 0)
@foreach ($deals->where('date', $date->toDateString()) as $deal)
#{{ $deal->company->name }}
{{ number_format($deal->value, 0, ',', '.') }}{{ $deal->currency }}
@endforeach
@endif @if ($completed_tasks->where('date', $date->toDateString())->count() > 0)
@livewire('completed-tasks', ['completed_tasks' => $completed_tasks, 'date' => $date], key('completed-' . $date))
@endif
{{-- The completed-tasks component is already defined and will be rendered properly here --}} {{-- @if ($completed_tasks->where('date', $date->toDateString())->count() > 0)
@foreach ($completed_tasks->where('date', $date->toDateString()) as $task)
@if ($task->company_id) #{{ $task->company->name }} @endif
{{ $task->note }}
@endforeach
@endif --}}
@endfor