@extends('layouts.app') @section('title', 'Stock Transfers - Pavitram Agroz') @section('content')

Inter-Facility Stock Transfers

Track and manage inventory movements between central warehouses and retail stores.

@if(Auth::user()->isSuperAdmin())
New Stock Transfer
@endif
Filter by Status: All Transfers @foreach($statuses as $st) {{ $st }} @endforeach
@forelse($transfers as $trf) @empty @endforelse
Transfer # Source → Destination Total Units Status Dispatched At Received At Actions
{{ $trf->transfer_number }}
{{ $trf->source_name }}
→ {{ $trf->destination_name }}
{{ number_format($trf->total_units_dispatched) }} @if($trf->total_units_missing > 0 || $trf->total_units_damaged > 0)
@if($trf->total_units_missing > 0) {{ $trf->total_units_missing }} Miss @endif @if($trf->total_units_damaged > 0) {{ $trf->total_units_damaged }} Dmg @endif
@endif
@if($trf->status === 'In Transit' || $trf->status === 'Dispatched') In Transit @elseif($trf->status === 'Received') Received @elseif($trf->status === 'Partially Received') Partially Received @elseif($trf->status === 'Draft') Draft @elseif($trf->status === 'Cancelled') Cancelled @else {{ $trf->status }} @endif {{ $trf->dispatched_at ? $trf->dispatched_at->format('d M Y, H:i') : '-' }} {{ $trf->received_at ? $trf->received_at->format('d M Y, H:i') : '-' }}
@can('receive', $trf) Receive @endcan
No stock transfers found matching criteria.
@if($transfers->hasPages()) @endif
@endsection