Edit Email Templates

Filter by Resolution

Filter by Category

Latest RMAs

{{ $this->rmas->total() }} Total
@foreach($this->rmas as $rma) @if(in_array($rma->rma_id, $expandedRmas)) @endif @endforeach
Order # Customer RMA # Actions
@if($rma->order_id) {{ $rma->order_id }} @else N/A @endif
{{ $rma->name }}
{{ $rma->email }}
#{{ $rma->rma_id }} @php $statusColors = [ 'accepted' => 'background: rgb(34, 197, 94); color: white;', 'denied' => 'background: rgb(239, 68, 68); color: white;', 'pending' => 'background: rgb(251, 191, 36); color: rgb(92, 45, 7);', 'contacted' => 'background: rgb(59, 130, 246); color: white;', ]; // Determine status based on access_deny field $status = 'pending'; if ($rma->access_deny === 1) { $status = 'accepted'; } elseif ($rma->access_deny === 0) { $status = 'denied'; } $statusStyle = $statusColors[$status] ?? 'background: rgb(156, 163, 175); color: white;'; $statusLabel = ucfirst($status); @endphp {{ $statusLabel }}
@if($rma->access_deny !== 1) @else
@endif @if($rma->access_deny !== 0) @else
@endif

Part Description

{{ $this->removeSpecial($rma->part_description) }}

Return Reason

@if($rma->select_reason_return) {{ $rma->selected_reason_text }} @endif

{{ $this->removeSpecial($rma->reason_return) }}

Comments

@if($rma->comments->count() > 0)
@foreach($rma->comments as $comment)
{{ $comment->date ? $comment->date->format('M j, Y @ h:i a') : '' }}
{{ $comment->comment }}
@endforeach
@else

No comments yet

@endif
@if($rma->pic_part_ext || $rma->pic_lbl_ext)

Attachments

@if($rma->pic_part_ext)

Part Image

@endif @if($rma->pic_lbl_ext)

Mfg Label

@endif
@endif
@if($this->rmas->hasPages())
{{ $this->rmas->links() }}
@endif
@include('filament.pages.rmas.comment-modal') @include('filament.pages.rmas.contact-modal') @include('filament.pages.rmas.template-modal')