@foreach ($refunds as $refund) {{$refund->user->code}} {{$refund->order->id}} {{$refund->complaint_type}} {{$refund->request}} @if($refund->approved_at) {{\App\Models\Refund::APPROVED}} @elseif($refund->canceled_at) {{\App\Models\Refund::CANCELED}} @else {{\App\Models\Refund::WORKINPROGRESS}} @endif @endforeach