@extends('layouts.app') @section('title', 'Inventory Report') @section('content')
Back to Reports

Inventory Report

{{ $summary['total'] }}

Total Devices

{{ $summary['in_stock'] }}

In Stock

{{ $summary['deployed'] }}

Deployed/Rented

{{ $summary['maintenance'] }}

Maintenance

{{ $summary['lost'] }}

Lost
@forelse($devices as $device) @empty @endforelse
Master ID POS Serial Customer Location Type Location Status
{{ $device->rental_device_code }} @if(filled($device->pos_oil_serial) && $device->pos_oil_serial !== '-') {{ $device->pos_oil_serial }} @else - @endif {{ $device->customer->customer_name ?? '-' }} {{ $device->location_type }} @if($device->location_type === 'WAREHOUSE') {{ $device->warehouse->warehouse_name ?? '-' }} {{ $device->zone ? '/ ' . $device->zone->zone_code : '' }} @else {{ $device->site->site_name ?? '-' }} @endif @switch($device->status) @case('IN_STOCK') IN STOCK @break @case('DEPLOYED') DEPLOYED @break @case('RENTED') RENTED @break @case('MAINTENANCE') MAINTENANCE @break @case('RETURNED') RETURNED @break @case('LOST') LOST @break @default {{ $device->status }} @endswitch
No records found.
@if($devices->hasPages()) @endif
@endsection