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