@extends('layout.mainlayout') @section('content')
@component('components.breadcrumb') @slot('title') Pending Inventory Summary @endslot @endcomponent
Pending Proto

{{ $protoCount }}

Pending SIM

{{ $simCount }}

Pending FI

{{ $fiCount }}

Pending Proto

@if(count($pendingProto))
@foreach($pendingProto as $item) @endforeach
Make Model Serial IMEI 1 IMEI 2 MQT Location Received From Received At Remarks Attachment
{{ $item['proto']['make'] }} {{ $item['proto']['model'] }} {{ $item['proto']['serial'] }} {{ $item['proto']['imei_1'] }} {{ $item['proto']['imei_2'] }} {{ $item['proto']['mqt'] }} {{ $item['proto']['location'] }} {{ $item['proto']['received_from'] }} {{ $item['proto']['received_at'] }} {{ $item['proto']['remarks'] }} @if($item['proto']['attachment']) View @else N/A @endif
@else

No pending proto records found.

@endif

Pending SIM

@if(count($pendingSim))
@foreach($pendingSim as $sim) @endforeach
ID Allocation ID Project ID SIM ID Returned At Created At Updated At
{{ $sim['id'] }} {{ $sim['allocation_id'] }} {{ $sim['project_id'] }} {{ $sim['sim_id'] }} {{ $sim['returned_at'] ?? 'N/A' }} {{ \Carbon\Carbon::parse($sim['created_at'])->format('Y-m-d H:i') }} {{ \Carbon\Carbon::parse($sim['updated_at'])->format('Y-m-d H:i') }}
@else

No pending SIM records found.

@endif

Pending Fixed Inventory

@if(count($pendingFI))
@foreach(array_keys($pendingFI[0]) as $column) @endforeach @foreach($pendingFI as $fi) @foreach($fi as $value) @endforeach @endforeach
{{ ucfirst(str_replace('_', ' ', $column)) }}
{{ $value }}
@else

No pending FI records found.

@endif
@endsection @push('scripts') @endpush