@extends('frontend.layouts.app') @section('content')
@include('frontend.student.settings.header')
@include('frontend.student.settings.sidebar')
Withdrawal
@if(isset($student)) @if($student->status == 1 && $available_withdraw == true)

Available balance: {{$user->balance}}

@csrf
@elseif(isset($available_withdraw_for_admin))
@csrf

Allow us to cut the balance 500/- from you account by clicking this button:

@else

Your account is not eligible for withdrawal

@if(isset($not_available_for_withdraw_msg))

Note: {{$not_available_for_withdraw_msg}}

@endif @endif @endif
My Withdrawals
@foreach ($withdrawals as $withdrawal ) @endforeach
Sr.No Request Date Amount Note Admin Note Status
{{ $loop->iteration }} {{ $withdrawal->created_at }} {{ $withdrawal->amount }} {{ $withdrawal->note }} {{ $withdrawal->admin_note }} @if($withdrawal->status == 0) Pending @elseif($withdrawal->status == 1 ) Complete @else($withdrawal->status == 2 ) Rejected @endif
@endsection @push('style') @endpush @push('script') @endpush