@extends('layouts.app') @section('content')
Rp {{ number_format($totalIncomes, 0, ',', '.') }}
Rp {{ number_format($totalExpenses, 0, ',', '.') }}
Rp {{ number_format($balance, 0, ',', '.') }}
| Judul | Jumlah | Tanggal | Kategori | Proyek |
|---|---|---|---|---|
| {{ $income->title }} | Rp {{ number_format($income->amount, 0, ',', '.') }} | {{ $income->income_date->format('d/m/Y') }} | {{ $income->category }} | {{ $income->project ? $income->project->name : 'Tidak Ada' }} |
| Judul | Jumlah | Tanggal | Kategori | Proyek | Status |
|---|---|---|---|---|---|
| {{ $expense->title }} | Rp {{ number_format($expense->amount, 0, ',', '.') }} | {{ $expense->expense_date->format('d/m/Y') }} | {{ $expense->category }} | {{ $expense->project ? $expense->project->name : 'Tidak Ada' }} | @if($expense->status == 'draft') Draft @elseif($expense->status == 'approved') Disetujui @elseif($expense->status == 'rejected') Ditolak @endif |