Grid:
Informasi Kolam
Kolam : {{ $kolam->nama }}
Luas Kolam : {{ number_format($kolam->luas, 0) }} M²
DoC (Day of Culture) : {{ number_format($status->doc, 0) }} Hari
BENUR
@if($status->tebar)
Supplier : {{ $status->tebar->supplier ? $status->tebar->supplier->nama : '-' }}
Tanggal : {{ $status->tebar->tanggal_tebar ? $status->tebar->tanggal_tebar->format('d/m/Y') : '-' }}
Tebaran : {{ number_format($status->tebar->jml_bibit, 0) }}
Tebar / M² : {{ number_format($status->tebar_per_m2, 0) }}
Harga / Ekor : {{ $status->tebar->harga_satuan ? 'Rp ' . number_format($status->tebar->harga_satuan, 0) : '-' }}
Total Harga : {{ $status->tebar->grand_total_harga ? 'Rp ' . number_format($status->tebar->grand_total_harga, 0) : '-' }}
@else

Belum ada data tebar benur

@endif
SAMPLING
Jumlah : {{ $status->sampling['count'] }} X
Tanggal : {{ $status->sampling['latest_date'] }}
MBW : {{ number_format($status->sampling['mbw'], 2) }} Gr
ADG : {{ number_format($status->sampling['adg'], 2) }} Gr
@if($status->sampling['data']->count() > 0)
Riwayat Sampling
@foreach($status->sampling['data'] as $sampling) @endforeach
Tanggal MBW (Gr) ADG (Gr)
{{ $sampling->tanggal->format('d/m/Y') }} {{ number_format($sampling->mbw, 2) }} {{ number_format($sampling->adg ?? 0, 2) }}
@endif
PANEN
Tanggal : {{ $status->panen['data']->last() ? $status->panen['data']->last()->tanggal->format('d/m/Y') : '-' }}
Jumlah : {{ $status->panen['count'] }} X
Total Panen : {{ number_format($status->panen['total'], 2) }} Kg
Status : {{ $status->panen['status'] }}
SR (Survival Rate) : {{ number_format($status->panen['sr'], 0) }} %
Total Harga : {{ $status->panen['total_harga'] ? 'Rp ' . number_format($status->panen['total_harga'], 0) : '-' }}
@if($status->panen['data']->count() > 0)
Riwayat Panen
@foreach($status->panen['data'] as $panen) @endforeach
Tanggal Size Qty (Kg) Ekor Harga/Kg Total (Rp)
{{ $panen->tanggal->format('d/m/Y') }} {{ number_format($panen->size ?? 0, 0) }} {{ number_format($panen->qty, 2) }} {{ number_format($panen->ekor, 0) }} {{ $panen->harga ? number_format($panen->harga, 0) : '-' }} {{ $panen->total ? number_format($panen->total, 0) : '-' }}
Total {{ number_format($status->panen['total'], 2) }} {{ number_format($status->panen['data']->sum('ekor'), 0) }} {{ $status->panen['total_harga'] ? 'Rp ' . number_format($status->panen['total_harga'], 0) : '-' }}
@endif
PAKAN
Update : {{ $status->pakan['update'] }}
Total : {{ number_format($status->pakan['total'], 2) }} Kg
FCR (Feed Conversion Ratio) : {{ number_format($status->pakan['fcr'], 2) }}
Productivity : {{ number_format($kolam->luas > 0 ? $status->panen['total'] / $kolam->luas : 0, 2) }} Kg/m²
Total Harga : {{ $status->pakan['total_harga'] ? 'Rp ' . number_format($status->pakan['total_harga'], 0) : '-' }}
@if($status->pakan['by_jenis']->count() > 0)
Detail Pakan
@foreach($status->pakan['by_jenis'] as $pakan) @endforeach
Jenis Pakan Qty (Kg) Harga/Kg Total (Rp)
{{ $pakan->jenis_pakan }} {{ number_format($pakan->total_qty, 2) }} {{ $pakan->harga_satuan ? number_format($pakan->harga_satuan, 0) : '-' }} {{ $pakan->total_harga ? number_format($pakan->total_harga, 0) : '-' }}
Total {{ number_format($status->pakan['total'], 2) }} Kg
Total Harga {{ $status->pakan['total_harga'] ? 'Rp ' . number_format($status->pakan['total_harga'], 0) : '-' }}
@endif