@php use Webkul\RMA\Enums\DefaultRMAResolution; @endphp @lang('shop::app.rma.customer.create.view') @section('breadcrumbs') @endSection

@lang('shop::app.customers.account.rma.view.id') #{{ $rma->id }}

@lang('shop::app.rma.view-customer-rma.heading')

@lang('shop::app.rma.view-customer-rma-content.request-on') {{ \Carbon\Carbon::parse($rma->created_at)->format('F j, Y, h:i:s A') }}
@lang('shop::app.rma.view-customer-rma.order-id') #{{ $rma->order_id }}
@if (! empty($rma->additionalFields)) @foreach ($rma->additionalFields as $field)
{{ $field->customField->label }} : {{ $field->value }}
@endforeach @endif @if (! empty($rma->information))
@lang('shop::app.rma.view-customer-rma.additional-information') {{ $rma->information }}
@endif @if ($rma->images->isNotEmpty())
@lang('shop::app.rma.view-customer-rma.images')
@foreach ($rma->images as $image) @endforeach
@endif
@lang('shop::app.rma.view-customer-rma-content.rma-status')
{{ $rmaStatus->title }}
@if (! $isExpired && ($canCloseRma || $canReopenRma))
@php $checkboxName = $canCloseRma ? 'close_rma' : 'reopen_rma'; @endphp
@endif

@lang('shop::app.rma.view-customer-rma.items-request')

@if($item = $rma->item)
@if ($item->orderItem->product?->images?->first()) @else
No Image
@endif
@if ($item->orderItem->product?->url_key && $item->orderItem->product?->visible_individually) {{ $item->orderItem->name }} @else {{ $item->orderItem->name }} @endif @php $attributes = array_filter($item->orderItem->additional['attributes'] ?? []); @endphp @if (! empty($attributes))
@foreach ($attributes as $attribute)

{{ $attribute['attribute_name'] }}: {{ $attribute['option_label'] }}

@endforeach
@endif
@lang('shop::app.rma.table-heading.sku')

{{ $item->orderItem->product->sku ?? $item->orderItem->sku }}

@lang('shop::app.rma.table-heading.price')

{!! core()->formatPrice($item->orderItem->price, $item->orderItem->order->order_currency_code) !!}

@lang('shop::app.rma.table-heading.rma-qty')

{{ $item->quantity }} / {{ $item->orderItem->qty_ordered }}

@lang('shop::app.rma.table-heading.resolution-type')

{{ ucwords($item->resolution) }}

@lang('shop::app.rma.table-heading.reason')

{{ $item->reason->title }}

@endif
@push('scripts') @endpush