@extends('layouts.app') @section('content')
{{-- BREADCRUMB --}}
{{-- HESAP BİLGİLERİ --}}

{{ $bankAccount->name }}

Hesap Adı
{{ $bankAccount->name }}
@if($bankAccount->iban)
IBAN
{{ $bankAccount->iban }}
@endif
Hesap Türü
@if($bankAccount->type == 'bank_account') Banka Hesabı @elseif($bankAccount->type == 'cash_vault') Nakit Kasası @elseif($bankAccount->type == 'credit_card') Kredi Kartı @endif
Para Birimi
{{ $bankAccount->currency }}
Bakiye
{{ number_format($balance, 2, ',', '.') }} {{ $bankAccount->currency }}
Toplam Gelen
{{ number_format($total_received, 2, ',', '.') }} {{ $bankAccount->currency }}
Toplam Giden
{{ number_format($total_paid, 2, ',', '.') }} {{ $bankAccount->currency }}
@if($bankAccount->company) @endif
{{-- İŞLEM BUTONLARI --}}
{{-- İŞLEMLER LİSTESİ --}}

İşlem Geçmişi

@forelse($transactions as $transaction) @empty @endforelse
Tarih ↑ ↓ İşlem Türü ↑ ↓ Firma ↑ ↓ Açıklama Tutar ↑ ↓
{{ \Carbon\Carbon::parse($transaction->date)->format('d.m.Y') }} @if($transaction->type == 'received') Gelen @elseif($transaction->type == 'paid') Giden @endif @if($transaction->company) {{ $transaction->company->name }} @else - @endif {{ Str::limit($transaction->description, 50) }} {{ $transaction->type == 'received' ? '+' : '-' }} {{ number_format($transaction->amount, 2, ',', '.') }} {{ $transaction->currency }}
receipt_long

Bu hesapta henüz işlem bulunmuyor.

@endsection @section('scripts') @endsection