@extends('layouts.app') @section('content')
{{-- BAŞLIK + TİP FİLTRESİ --}}
{{-- PERİYOT KISAYOLLARI --}}
{{-- ÖZEL ARALIK --}}
→
{{-- YAZDIR --}}
{{-- Income, expenses, and net balance by currency. --}}

Seçili aralık için tahmini tutarlar gösterilir. Net = Gelir − Gider. Ekstreler giderlere dahildir.

@if ($currencies->count() > 0)
@foreach ($currencies as $currency)

Seçili periyot · {{ $currency }}

Toplam Gelir
{{ number_format($grandTotals[$currency]['income'], 2, ',', '.') }} {{ $currency }}
Toplam Gider
{{ number_format($grandTotals[$currency]['expense'], 2, ',', '.') }} {{ $currency }}
Net (Gelir − Gider)
{{ number_format($grandTotals[$currency]['net'], 2, ',', '.') }} {{ $currency }}
@endforeach @if ($currencies->count() > 1 || ($currencies->count() === 1 && $currencies->first() !== 'TRL'))

Tahmini TL karşılığı

Toplam Gelir
{{ number_format($trlEquivalent['income'], 2, ',', '.') }} TRL
Toplam Gider
{{ number_format($trlEquivalent['expense'], 2, ',', '.') }} TRL
Net (Gelir − Gider)
{{ number_format($trlEquivalent['net'], 2, ',', '.') }} TRL
@if (count($missingRates) > 0)

Kur bulunamadı: {{ implode(', ', $missingRates) }} (TL gelir, gider ve net hesaplamasına dahil edilmedi)

@endif
@endif
@endif {{-- KALEM BAZLI TABLO --}}
@if ($rows->count() > 0) @foreach ($rows as $row) @endforeach @else @endif
İşlem Kalemi Gelir / Gider Periyot Birim Tutar Tekrar Sayısı İlk / Son Tekrar Seçili Periyot Toplamı
{{ $row['movement']->title }} @if ($row['movement']->type == 'statement') EKSTRE @endif {{ $row['direction'] === 'income' ? 'GELİR' : 'GİDER' }} {{ $row['movement']->period_label }} {{ number_format($row['movement']->amount, 2, ',', '.') }} {{ $row['currency'] }} {{ $row['occurrence_count'] }} {{ $row['first_date']->format('d.m.Y') }} / {{ $row['last_date']->format('d.m.Y') }} {{ number_format($row['total'], 2, ',', '.') }} {{ $row['currency'] }}
Seçili aralıkta tekrarlayan işlem bulunmuyor.
{{-- AY BAZINDA DAĞILIM --}} @if (count($monthlyTotals) > 0)

calendar_month Ay Bazında Dağılım

@foreach ($currencies as $currency) @endforeach @foreach ($currencies as $currency) @endforeach @foreach ($monthlyTotals as $monthKey => $monthTotals) @foreach ($currencies as $currency) @endforeach @endforeach @foreach ($currencies as $currency) @endforeach
Ay{{ $currency }}
Gelir Gider Net (Gelir − Gider)
{{ \Carbon\Carbon::parse($monthKey . '-01')->locale('tr')->isoFormat('MMMM YYYY') }} {{ number_format($monthTotals[$currency]['income'] ?? '0.00', 2, ',', '.') }} {{ number_format($monthTotals[$currency]['expense'] ?? '0.00', 2, ',', '.') }} {{ number_format($monthTotals[$currency]['net'] ?? '0.00', 2, ',', '.') }}
GENEL TOPLAM {{ number_format($grandTotals[$currency]['income'], 2, ',', '.') }} {{ number_format($grandTotals[$currency]['expense'], 2, ',', '.') }} {{ number_format($grandTotals[$currency]['net'], 2, ',', '.') }}
@endif
@endsection @section('scripts') @endsection