@include('website.account.partials.header', ['title' => 'Returns', 'active' => 'account.returns']) @if($errors->any())
{{ $errors->first() }}
@endif @if(session('status'))
{{ session('status') }}
@endif

Your return requests

@forelse($returns ?? [] as $return) @empty @endforelse
ReturnOrderStatusDate
{{ $return->number ?? '#'.$return->id }} {{ $return->order?->number ?? $return->order_id }} {{ str($return->status)->headline() }} {{ $return->created_at?->format('M j, Y') ?? $return->created_at }}
No returns yet.
@csrf

Request a return

We reply within one business day

@php $selected = ($orders ?? collect())->firstWhere('id', (int) old('order_id')) ?? ($orders ?? collect())->first(); @endphp @if($selected)
Quantities to return @foreach($selected->lines as $line) @endforeach
@endif