@extends('layouts.app') @section('title', 'Rekod Kerusi Roda') @section('content')
{{ $allocation->pusatMengundi?->code }} — {{ $allocation->pusatMengundi?->name }}
Baki boleh diambil: {{ $available }}
@if ($available === 0)Belum dipulang: {{ $outstanding }}
@if ($outstanding === 0)| Jenis | Jml | Masa | Nama | Keadaan | Direkod Oleh | Nota |
|---|---|---|---|---|---|---|
| @if ($tx->transaction_type === 'taken') Ambil @else Pulang @endif | {{ $tx->quantity }} | {{ ($tx->taken_at ?? $tx->returned_at)?->format('d/m/Y H:i') ?? '-' }} | @if ($tx->transaction_type === 'taken') {{ $tx->taken_by_name ?: '-' }} @else {{ $tx->returned_by_name ?: '-' }} @endif | @if ($tx->transaction_type === 'returned' && $tx->return_condition) {{ ucfirst($tx->return_condition) }} @else — @endif | {{ $tx->recordedBy?->name ?: '-' }} | {{ $tx->notes ?: '-' }} |
| Tiada transaksi direkodkan. | ||||||