@extends('layouts.app') @section('tab', 'dashboard') @section('content') @php $ref = $data['ref']; $k = $data['kpis']; $threshold = $data['threshold']; $colors = ['Selesai' => '#2E8B57', 'Berjalan' => '#2F75B5', 'OPEN' => '#D64545', 'Terlambat' => '#C55A11']; $kpiCards = [ ['TOTAL TASK', $k['total'], '#1F3864'], ['SELESAI', $k['done'], $colors['Selesai']], ['BERJALAN', $k['running'], $colors['Berjalan']], ['OPEN', $k['open'], $colors['OPEN']], ['TERLAMBAT', $k['late'], $colors['Terlambat']], ['DUE ≤ '.$threshold.' HARI', $k['due_soon'], '#BF9000'], ['PROGRES TOTAL', $k['progress'].'%', '#2F5597'], ]; $circumference = 2 * M_PI * 54; $offset = 0; $months = [1 => 'Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des']; @endphp
| Status | Jumlah | % |
|---|---|---|
| {{ $row['status'] }} | {{ $row['count'] }} | {{ number_format($row['percent'], 1, ',', '.') }}% |
| Total | {{ $k['total'] }} | {{ $k['total'] > 0 ? '100%' : '0%' }} |
| Modul | Total | Selesai | Berjalan | OPEN | Terlambat | Due segera | Progres |
|---|---|---|---|---|---|---|---|
| {{ $row['name'] }} | {{ $row['total'] }} | {{ $row['done'] }} | {{ $row['running'] }} | {{ $row['open'] }} | {{ $row['late'] }} | {{ $row['due_soon'] }} |
@if ($row['progress'] !== null)
{{ number_format($row['progress'], 0, ',', '.') }}%
@endif
|
| {{ $other['name'] }} | {{ $other['total'] }} | {{ $other['done'] }} | {{ $other['running'] }} | {{ $other['open'] }} | {{ $other['late'] }} | {{ $other['due_soon'] }} | |
| Total | {{ $k['total'] }} | {{ $k['done'] }} | {{ $k['running'] }} | {{ $k['open'] }} | {{ $k['late'] }} | {{ $k['due_soon'] }} | {{ $k['progress'] }}% |
| SBU | Total | Selesai | Berjalan | OPEN | Terlambat | Due segera | Progres |
|---|---|---|---|---|---|---|---|
| {{ $row['name'] }} | {{ $row['total'] }} | {{ $row['done'] }} | {{ $row['running'] }} | {{ $row['open'] }} | {{ $row['late'] }} | {{ $row['due_soon'] }} |
@if ($row['progress'] !== null)
{{ number_format($row['progress'], 0, ',', '.') }}%
@endif
|
| Belum ada SBU pada proyek ini. | |||||||
| {{ $otherSbu['name'] }} | {{ $otherSbu['total'] }} | {{ $otherSbu['done'] }} | {{ $otherSbu['running'] }} | {{ $otherSbu['open'] }} | {{ $otherSbu['late'] }} | {{ $otherSbu['due_soon'] }} | |