@extends('layouts.dashboard') @section('title',$handover->handover_number) @section('page-title','RMA Handover '.$handover->handover_number) @section('content') @php($statusClass = match($handover->status) {'in_transit' => 'badge-info', 'received' => 'badge-success', 'partially_received' => 'badge-warning', 'rejected' => 'badge-error', default => 'badge-neutral'})
← Back to RMA HandoversReturns
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif
Warehouse Handover

{{ $handover->handover_number }}

{{ $handover->salesman?->name }}{{ str_replace('_',' ',ucwords($handover->status,'_')) }}
Print A4@if($handover->status==='draft')
@csrf
@endif
@foreach($handover->items as $i)@endforeach
CustomerReturnSKU / BarcodeProductExpectedReceivedRejected
{{ $i->returnItem?->returnDocument?->customer?->shop_name ?? 'Unlinked' }}{{ $i->returnItem?->returnDocument?->return_number }}{{ $i->returnItem?->sku_snapshot }}
{{ $i->returnItem?->barcode_snapshot }}
{{ $i->returnItem?->name_snapshot }}{{ (float)$i->expected_qty }}{{ (float)$i->received_qty }}{{ (float)$i->rejected_qty }}
@if(auth()->user()->canManageOperations() && $handover->status==='in_transit')
@csrf

Warehouse Confirmation

Rejected quantities return automatically to the salesman RMA stock.

@foreach($handover->items as $index=>$i)@endforeach
ItemExpectedReceivedRejectedNotes
{{ $i->returnItem?->sku_snapshot }}{{ (float)$i->expected_qty }}
@endif
@endsection