@extends('layouts.front') @section('css') @endsection @section('content')
@include('includes.rider.sidebar')

@lang('My Withdraws')

@lang('Withdraw Now')
@forelse ($withdraws as $withdraw) @if ($withdraw->method != 'Bank') @else @endif @empty @endforelse
{{ __('Withdraw Date') }} {{ __('Method') }} {{ __('Account') }} {{ __('Amount') }} {{ __('Status') }}
{{ date('d-M-Y', strtotime($withdraw->created_at)) }} {{ $withdraw->method }} {{ $withdraw->acc_email }} {{ $withdraw->iban }} {{ $sign->sign }}{{ round($withdraw->amount * $sign->value, 2) }} @php if ($withdraw->status == 'pending') { $class = 'yellow-btn'; } elseif ($withdraw->status == 'completed') { $class = 'green-btn'; } else { $class = 'red-btn'; } @endphp
{{ __('No Withdraw Found') }}
{{ $withdraws->links('includes.frontend.pagination') }}
@endsection @section('script') @endsection