@push('title') Stock Adjustment Report @endpush
Stock Adjustment Report
to
{{ number_format($logs->total()) }}
Total Adjustments
+{{ number_format($logs->where('diff_qty', '>', 0)->sum('diff_qty')) }}
Total Increased Qty
{{ number_format($logs->where('diff_qty', '<', 0)->sum('diff_qty')) }}
Total Decreased Qty
@forelse($logs as $log) @empty @endforelse
Date & Time Adjusted By Product Info Batch & Warehouse Old Qty New Qty Adjustment
{{ $log->created_at->format('M d, Y') }} {{ $log->created_at->format('h:i A') }}
{{ substr($log->user->name ?? '?', 0, 1) }}
{{ $log->user->name ?? 'N/A' }}
{{ $log->product->name ?? 'N/A' }} {{ $log->product->code ?? '' }} @if($log->productVariation && $log->productVariation->variationType) | {{ $log->productVariation->variationType->name }} @endif
{{ $log->productBatch->batch_no ?? 'N/A' }} {{ $log->productBatch->warehouse->name ?? 'N/A' }}
{{ number_format($log->old_qty) }} {{ number_format($log->new_qty) }} @if($log->diff_qty > 0) +{{ number_format($log->diff_qty) }} @elseif($log->diff_qty < 0) {{ number_format($log->diff_qty) }} @else 0 @endif

No stock adjustment logs found for the selected criteria.

{{ $logs->links() }}