Satış Hedefi
Genel hedef - @if($targetType === 'revenue') ₺{{ number_format($totalTarget, 0, ',', '.') }} @else {{ number_format($totalTarget, 0, ',', '.') }} Adet @endif
Hedef dönem - @if($targetPeriod === 'month') {{ \Carbon\Carbon::create(null, $currentMonth)->translatedFormat('F') }} {{ $currentYear }} @else {{ $currentYear }} @endif
Satış Kanalı İlerlemesi
@if($targetType === 'revenue') ₺{{ number_format($totalAchieved, 0, ',', '.') }} @else {{ number_format($totalAchieved, 0, ',', '.') }} Adet @endif ({{ $totalPercentage }}%)
{{-- Today line marker for total progress --}}
{{ $targetPeriod === 'month' ? '1 ' . \Carbon\Carbon::create(null, $currentMonth)->translatedFormat('F') : '1 Ocak' }}
{{ $yearProgress }}%
{{ $targetPeriod === 'month' ? \Carbon\Carbon::create(null, $currentMonth)->daysInMonth . ' ' . \Carbon\Carbon::create(null, $currentMonth)->translatedFormat('F') : '31 Aralık' }}
{{-- Hedef Ayarları Modalı --}} @include('agency.sales.partials.target_modal')