@extends('backend.template.layouts.template-base') @section('title', 'Reports - Inventory Report') @section('content')

Inventory Report

Download XLSX
Show entries
@forelse($logs as $log) @php $change = $log->qty_change; $changeClass = $change >= 0 ? 'status-active' : 'status-inactive'; $changeLabel = ($change >= 0 ? '+' : '') . $change; @endphp @empty @endforelse
Product Code Product Name Group Action Qty Change Before After Reason Date
{{ $log->pricing?->product?->product_code ?? '—' }} {{ $log->pricing?->product?->name ?? '—' }} {{ $log->pricing?->product?->group?->name ?? '—' }} {{ ucwords(str_replace('_', ' ', $log->action_type)) }} {{ $changeLabel }} {{ $log->qty_before }} {{ $log->qty_after }} {{ $log->reason ?? '—' }} {{ $log->created_at?->format('d/m/Y h:i A') ?? '—' }}
No inventory logs found.

Showing {{ $logs->firstItem() ?? 0 }}–{{ $logs->lastItem() ?? 0 }} of {{ $logs->total() }} results

{{ $logs->links() }}
@endsection @section('scripts') @endsection