@foreach($recentOrders as $order)
No. Order: {{ $order->nomor }}
@switch($order->status) @case('open') Dibuka @break @case('in_progress') Dalam proses @break @default {{ ucfirst(str_replace('_', ' ', $order->status)) }} @endswitch

{{ $order->title }}

Peminta:

{{ $order->nama_peminta }}

Lokasi:

{{ $order->location->name }}

Barang:

{{ $order->nama_barang }}

{{ $order->description }}

{{ $order->created_at->diffForHumans() }}
@if($order->prioritas)
{{ $order->prioritas }}
@endif
Lihat Detail
@endforeach