@extends('adminlte::page') @section('title', 'Receive') @section('content_header')

Receive

@endsection @section('content')
Clear
@if(($items ?? collect())->isEmpty())
No records found.
@else
@foreach(($items ?? []) as $it) @php $uid = 'item-'.preg_replace('/[^A-Za-z0-9]/', '', (string)($it->serial_number ?? '')).'-'.$loop->index; @endphp
Total NFC Received
{{ number_format((float)$it->total_nfc_received, 2) }}
Last NFC Receive
{{ $it->last_nfc_received_amount !== null ? number_format((float)$it->last_nfc_received_amount, 2) : '-' }}
{{ optional($it->last_nfc_received_at)->format('Y-m-d H:i') }}
Last Sent Amount
{{ $it->last_sent_amount !== null ? number_format((float)$it->last_sent_amount, 2) : '-' }}
{{ optional($it->last_sent_at)->format('Y-m-d H:i') }}
Total Sent
{{ number_format((float)$it->total_sent, 2) }}
Total Outgoing
{{ number_format((float)$it->total_outgoing, 2) }}
Expiry Date
{{ optional($it->expires_at)->format('Y-m-d') ?? '-' }}
@endforeach
@endif @endsection