@extends('layouts.admin') @section('title', __('New return')) @section('content')

{{ __('New return or exchange') }}

{{ __('Find order') }}
@if ($order) @if (!$order->eligible)

{{ __('Returns can only be raised on orders that have been shipped.') }}

@else
@csrf

{{ $order->order_number }} · {{ $order->recipient_name }}

{{ __('Enter how many of each item come back, and why.') }}

@foreach ($order->items as $i)
{{ $i->product_name }}{{ $i->sku }} · {{ $i->color_label }} {{ $i->size_label }} · {{ __('can return') }} {{ $i->returnable }}
returnable < 1) class="min-h-[44px] w-full rounded-2xl border border-outline-variant bg-white px-3">
@endforeach
{{ __('Create return') }}
@endif @endif @endsection