{{-- Mobile: quick single-purpose entry form --}}

{{ $editingTransactionId ? 'Modifier l\'opération' : 'Nouvelle opération' }}

@if ($pendingRecurrences->isNotEmpty())

À confirmer ce mois-ci

@foreach ($pendingRecurrences as $recurring)

{{ $recurring->name }} — {{ $recurring->category->name }}

@endforeach
@endif
Catégorie
@foreach (['revenu' => ['label' => 'Revenus', 'ring' => 'ring-positive', 'active' => 'bg-positive-fill text-white border-positive-fill'], 'depense' => ['label' => 'Dépenses', 'ring' => 'ring-negative', 'active' => 'bg-negative-fill text-white border-negative-fill'], 'epargne' => ['label' => 'Épargne', 'ring' => 'ring-info', 'active' => 'bg-info-fill text-white border-info-fill']] as $typeValue => $meta) @php $typeCategories = $categories->where('type', $typeValue); @endphp @if ($typeCategories->isNotEmpty())

{{ $meta['label'] }}

@foreach ($typeCategories as $category) @php $isActive = (string) $categoryId === (string) $category->id; $progress = $categoryProgress[$category->id] ?? null; @endphp @endforeach
@endif @endforeach
@if ($members->isNotEmpty())
Payé par
@foreach ($members as $member) @endforeach
@endif
@if ($editingTransactionId) @endif
@if ($recentTransactions->isNotEmpty())

Dernières opérations

    @foreach ($recentTransactions as $transaction)
  • {{ $transaction->category->name }} @if ($transaction->details) — {{ $transaction->details }} @endif

    {{ $transaction->date->translatedFormat('d M Y') }} · {{ number_format($transaction->amount, 2, ',', ' ') }} €

  • @endforeach
@endif
{{-- Desktop / tablet: full table view --}}