@extends('garage.layouts.app') @section('title', 'Inventory Adjustments') @section('content')
@if($search || ($status ?? 'all') !== 'all' || ($type ?? 'all') !== 'all') @endif
@forelse($adjustments as $adjustment) @empty @endforelse
Adjustment # Date Type Total Value Created By Status Actions
{{ $adjustment->adjustment_number }} {{ \Carbon\Carbon::parse($adjustment->adjustment_date)->format('M d, Y') }} @php $typeColors = ['increase' => 'success', 'decrease' => 'danger', 'correction' => 'warning']; $color = $typeColors[$adjustment->adjustment_type] ?? 'secondary'; @endphp {{ ucfirst($adjustment->adjustment_type) }} PKR {{ number_format($adjustment->total_value, 2) }} {{ $adjustment->admin_name ?? '-' }} @php $statusColors = ['completed' => 'success', 'draft' => 'warning', 'cancelled' => 'danger']; $statusColor = $statusColors[$adjustment->status] ?? 'secondary'; @endphp {{ ucfirst($adjustment->status) }}
@if($adjustment->status === 'draft') @endif

No inventory adjustments found

Create First Adjustment
@if($adjustments->hasPages())
{{ $adjustments->links() }}
@endif
@push('scripts') @endpush @endsection