@foreach($refunds as $key=>$refund) @if($refund->status == 1) @endif @endforeach
# {{ __('User') }} {{ __('Course') }} {{ __('OrderId') }} {{ __('PaymentMethod') }} {{ __('Status') }} {{ __('View') }} {{ __('Delete') }}
{{ $key+1 }} {{ $refund->user['fname'] }} {{ $refund->courses->title }} {{ $refund->order->order_id }} {{ $refund->payment_method }} @if($refund->status ==1) {{ __('Refunded') }} @else {{ __('Pending') }} @endif {{ __('view') }}
{{ csrf_field() }} {{ method_field('DELETE') }}