@extends('layouts.admin') @section('title', 'Detail Pemasukan') @section('content')

Detail Pemasukan #{{ $income->id }}

{{ $income->transaction_date->format('d M Y') }}

@csrf @method('DELETE')
@if (session('success'))
{{ session('success') }}
@endif

Informasi Transaksi

Kategori: {{ $income->category_name ?? $income->category }}
Tanggal: {{ $income->transaction_date->format('d M Y') }}
No. Ref: {{ $income->reference_number ?? '-' }}

Detail Pemasukan

Jumlah: {{ $income->formatted_amount }}
Deskripsi: {{ Str::limit($income->description, 40) }}

Informasi Sistem

Dibuat: {{ $income->created_at->format('d M Y H:i') }}
Oleh: {{ $income->creator->name ?? 'Tidak diketahui' }}
@if($income->updated_at != $income->created_at)
Diupdate: {{ $income->updated_at->format('d M Y H:i') }}
@endif

Deskripsi

{{ $income->description }}

@if($income->notes)

Catatan

{{ $income->notes }}

@endif
@if($income->attachment && file_exists(public_path('storage/' . $income->attachment)))

Lampiran

Download @if (in_array(strtolower(pathinfo($income->attachment, PATHINFO_EXTENSION)), ['jpg', 'jpeg', 'png', 'gif', 'webp']))
Lampiran Gambar Preview
@endif
@endif @endsection