@props([ 'financialData' => [], 'components' => [], 'showDerived' => true, 'showRatios' => true, 'compact' => false, 'currency' => 'Rp' ])
@if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif @if($showRatios) @endif
Deskripsi Nilai ({{ $currency }})Rasio
ASET
Aset Lancar

Kas, Piutang, Persediaan

{{ formatCurrency($financialData['aset_lancar'] ?? 0, $currency) }} @php $currentRatio = ($financialData['utang_lancar'] ?? 0) > 0 ? ($financialData['aset_lancar'] ?? 0) / ($financialData['utang_lancar'] ?? 1) : 0; @endphp Rasio Lancar: {{ number_format($currentRatio, 2) }}
Aset Tetap

Peralatan, Tanah, Bangunan

{{ formatCurrency($financialData['aset_tetap'] ?? 0, $currency) }}
Total Aset @php $totalAset = ($financialData['aset_lancar'] ?? 0) + ($financialData['aset_tetap'] ?? 0); @endphp {{ formatCurrency($totalAset, $currency) }}
LIABILITAS
Utang Lancar

Utang Dagang, Utang Gaji

{{ formatCurrency($financialData['utang_lancar'] ?? 0, $currency) }}
Utang Jangka Panjang

Utang Bank, Obligasi

{{ formatCurrency($financialData['utang_jangka_panjang'] ?? 0, $currency) }}
Total Utang @php $totalUtang = ($financialData['utang_lancar'] ?? 0) + ($financialData['utang_jangka_panjang'] ?? 0); @endphp {{ formatCurrency($totalUtang, $currency) }}
EKUITAS
Nilai Buku Ekuitas @php $ekuitas = $totalAset - $totalUtang; @endphp {{ formatCurrency($ekuitas, $currency) }} @php $der = $ekuitas > 0 ? $totalUtang / $ekuitas : 0; @endphp DER: {{ number_format($der, 2) }}
LABA RUGI
Pendapatan

Penjualan/Pendapatan

{{ formatCurrency($financialData['pendapatan'] ?? 0, $currency) }}
Biaya Operasional

Biaya Gaji, Produksi

{{ formatCurrency($financialData['biaya_operasional'] ?? 0, $currency) }}
Laba Sebelum Pajak @php $laba = ($financialData['pendapatan'] ?? 0) - ($financialData['biaya_operasional'] ?? 0); @endphp {{ formatCurrency($laba, $currency) }} @php $margin = ($financialData['pendapatan'] ?? 0) > 0 ? ($laba / ($financialData['pendapatan'] ?? 1)) * 100 : 0; @endphp Margin: {{ number_format($margin, 2) }}%
Prive

Pengambilan Pribadi

{{ formatCurrency($financialData['prive'] ?? 0, $currency) }}
Laba Ditahan @php $labaDitahan = $laba - ($financialData['prive'] ?? 0); @endphp {{ formatCurrency($labaDitahan, $currency) }}
@if(!empty($components))

Detail Laporan Keuangan (Komponen Z-Score)

@if(isset($components['z_score'])) @endif
Variabel Rumus Komponen Nilai
X1 (Aset Lancar - Utang Lancar) / Total Aset {{ number_format($components['x1'] ?? 0, 4) }}
X2 Laba Ditahan / Total Aset {{ number_format($components['x2'] ?? 0, 4) }}
X3 Laba Sebelum Pajak dan Bunga / Total Aset {{ number_format($components['x3'] ?? 0, 4) }}
X4 Nilai Buku Ekuitas / Total Hutang {{ number_format($components['x4'] ?? 0, 4) }}
X5 Pendapatan / Total Aset {{ number_format($components['x5'] ?? 0, 4) }}
Z-Score {{ number_format($components['z_score'] ?? 0, 4) }}
@endif @if($showDerived)
Modal Kerja
@php $modalKerja = ($financialData['aset_lancar'] ?? 0) - ($financialData['utang_lancar'] ?? 0); @endphp {{ formatCurrency($modalKerja, $currency) }}
@if($modalKerja > 0) Positif @else Negatif @endif
Rasio Utang terhadap Aset
@php $debtRatio = $totalAset > 0 ? ($totalUtang / $totalAset) * 100 : 0; @endphp {{ number_format($debtRatio, 2) }}%
@if($debtRatio < 40) Rendah @elseif($debtRatio < 60) Moderat @else Tinggi @endif
Return on Assets (ROA)
@php $roa = $totalAset > 0 ? ($laba / $totalAset) * 100 : 0; @endphp {{ number_format($roa, 2) }}%
@if($roa > 10) Sangat Baik @elseif($roa > 5) Cukup @else Rendah @endif
@endif
@php if (!function_exists('formatCurrency')) { function formatCurrency($value, $currency = 'Rp') { if ($value === null || $value === '') return $currency . ' 0'; return $currency . ' ' . number_format((float)$value, 0, ',', '.'); } } @endphp