@extends('layouts.layout') @section('title', 'All Withdraw') @section('content')

@if(Session::has('success'))
Success : {{ Session::get('success') }}
@endif
All Withdraw
@php $i = 1; @endphp @foreach($withdraw as $curr) @endforeach
SL# Date User Name Balance Status Action
{{ $i++ }} {{ date('d-F-Y',strtotime($curr->created_at)) }} {{ $curr->user->name}} {{ $curr->balance}} USD @if($curr->status == 0) Pending @elseif($curr->status == 1) Success @else Refunded @endif @if($curr->status == 1 or $curr->status == 2) No Action @else Submit Refunded @endif
{{ $withdraw->links() }}
@endsection