@extends('backend.layouts.main') @section('title', 'Withdraws') @section('main-container')
@if(session()->has('success'))
{{ session('success') }}
@endif @if(session()->has('error'))
{{ session('error') }}
@endif
Withdraws
Create New
@if (auth()->user()->hasPermissionTo('manage all withdraws')) @endif @foreach ($withdraws as $key=> $withdraw) @if (auth()->user()->hasPermissionTo('manage all withdraws')) @endif @endforeach
Requested Amount Requested From Remaining Balance Method Charge Fees Request Date Request Ip StatusAction
{{$withdraw->amount}} @if (auth()->user()->hasPermissionTo('manage all withdraws')) {{$withdraw->user->name}} @else {{$withdraw->user->name}} @endif {{$withdraw->remaining_balance}} {{$withdraw->method}} {{$withdraw->charge}} {{$withdraw->fees}} {{date('M d, Y h:i a',strtotime($withdraw->request_date))}} {{$withdraw->request_ip}} @if ($withdraw->status === 'pending') {{ $withdraw->status }} @elseif ($withdraw->status === 'accepted') {{ $withdraw->status }} @else {{ $withdraw->status }} @endif
@endsection