@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Dashboard Keuangan Project']) @push('css') @endpush
Total Budget
Semua Project Aktif
Total Actual
Realisasi Mutasi
Remaining
@if($kpi['remaining'] < 0) Over Budget! @else Sisa Anggaran @endif
% Realisasi
@if($kpi['percentage'] > 100) Melebihi Budget @elseif($kpi['percentage'] >= 80) Mendekati Limit @else Masih Aman @endif
| Project | Budget | Actual | Remaining | % Realisasi | Status |
|---|---|---|---|---|---|
| {{ $project['project'] }} | Rp {{ number_format($project['budget'], 2, ',', '.') }} | Rp {{ number_format($project['actual'], 2, ',', '.') }} | Rp {{ number_format($project['remaining'], 2, ',', '.') }} | {{ number_format($project['percentage'], 2) }}% | @if($project['status'] == 'over') OVER @elseif($project['status'] == 'warning') WASPADA @elseif($project['status'] == 'no_budget') NO BUDGET @elseif($project['status'] == 'no_actual') NO ACTUAL @else AMAN @endif |
Tidak ada project over budget
@endifSemua data sudah lengkap
@endif| Tanggal | Rekening | Kode | Project | Detail Kategori | Vendor | Keterangan | Amount |
|---|---|---|---|---|---|---|---|
| {{ date('d/m/Y', strtotime($mutasi->date)) }} | {{ $mutasi->rekening ?? '-' }} | {{ $mutasi->kode_mutasi ?? '-' }} | {{ $mutasi->project ?? '-' }} | {{ $mutasi->detail_kategori ?? '-' }} | {{ $mutasi->supplier_name ?? '-' }} | {{ substr($mutasi->keterangan, 0, 40) }}{{ strlen($mutasi->keterangan) > 40 ? '...' : '' }} | Rp {{ number_format($mutasi->amount, 2, ',', '.') }} |