
@extends('layouts.app')
    @section('content')
        


    <!-- End Blank Page Nav -->

</ul>
        
    </aside><!-- End Sidebar-->

    <main id="main" class="main">

        <div class="pagetitle">
            <h1>Withdrawal</h1>
            <nav>
                <ol class="breadcrumb">
                    
                    <li class="breadcrumb-item active">Withdrawal</li>
                </ol>
            </nav>
        </div><!-- End Page Title -->

            <section class="section dashboard">
        <div class="row">
            <div class="col-lg-12">
                <div class="row">
                    <div class=" col-12 alert d-none alert-success"><strong>Notice:</strong>
                        <p>Kindly join the telegram group to get steady updates</p>
                    </div>
                    <div class="col-xxl-4 col-md-6">
                        <div class="card info-card sales-card">
                            <div class="filter">
                                <a class="icon" href="#" data-bs-toggle="dropdown"><i
                                        class="bi bi-three-dots"></i></a>
                            </div>
                            <div class="card-body">
                                <h5 class="card-title">Investment <span></span></h5>
                                <div class="d-flex align-items-center">
                                    <div class="card-icon rounded-circle d-flex align-items-center justify-content-center">
                                        <i class="bi bi-cash-coin"></i>
                                    </div>
                                    <div class="ps-3">
                                        <h6>{{$settings->currency}}{{ number_format(Auth::user()->account_bal, 2, '.', ',')}}</h6>
                                    </div>
                                </div>
                                <div class="col-12 mt-3">
                                    <form action="{{route('completewithdrawal')}}" method="post">
                                        @csrf
                                    <div class="form-group">
                                            <input type="number" name="amount" required class="form-control" id="basic-url"
                                                placeholder="Amount">
                                        </div>
                                        <input value="Crypto"  type="hidden" name="method">
                                        <input value="Investments"  type="hidden" name="type">
                                        <div class="form-group mt-2">
                                            <button class="btn btn-primary">Withdraw</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xxl-4 col-md-6">
                        <div class="card info-card revenue-card">
                            <div class="filter">
                                <a class="icon" href="#" data-bs-toggle="dropdown"><i
                                        class="bi bi-three-dots"></i></a>
                                <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
                                    <li class="dropdown-header text-start">
                                        <h6>Action</h6>
                                    </li>
                                    <li><a class="dropdown-item" href="#">Withdraw</a></li>
                                </ul>
                            </div>
                            <div class="card-body">
                                <h5 class="card-title">Returns <span></span> </h5>
                                <div class="d-flex align-items-center">
                                    <div class="card-icon rounded-circle d-flex align-items-center justify-content-center">
                                        <i class="bi bi-bar-chart-line-fill"></i>
                                    </div>
                                    <div class="ps-3">
                                        <h6>{{$settings->currency}}{{ number_format(Auth::user()->roi, 2, '.', ',')}}</h6>
                                    </div>
                                </div>
                                <div class="col-12 mt-3">
                                    <form action="{{route('completewithdrawal')}}" method="post">
                                        @csrf
                                    <div class="form-group">
                                            <input type="number" name="amount" required class="form-control" id="basic-url"
                                                placeholder="Amount">
                                        </div>
                                        <input value="Crypto"  type="hidden" name="method">

                                        <input value="Returns"  type="hidden" name="type">
                                        <div class="form-group mt-2">
                                            <button class="btn btn-primary">Withdraw</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xxl-4 col-xl-12">
                        <div class="card info-card customers-card">
                            <div class="filter">
                                <a class="icon" href="#" data-bs-toggle="dropdown"><i
                                        class="bi bi-three-dots"></i></a>
                                <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
                                    <li class="dropdown-header text-start">
                                        <h6>Action</h6>
                                    </li>
                                    <li><a class="dropdown-item" href="#">Withdraw</a></li>
                                </ul>
                            </div>
                            <div class="card-body">
                                <h5 class="card-title">Referrer Bonus <span></span></h5>
                                <div class="d-flex align-items-center">
                                    <div class="card-icon rounded-circle d-flex align-items-center justify-content-center">
                                        <i class="bi bi-people"></i>
                                    </div>
                                    <div class="ps-3">
                                        <h6>{{$settings->currency}}{{ number_format(Auth::user()->ref_bonus, 2, '.', ',')}}</h6>
                                    </div>
                                </div>
                                <div class="col-12 mt-3">
                                    <form action="{{route('completewithdrawal')}}" method="post">
                                        @csrf
                                    <div class="form-group">
                                            <input type="number" name="amount" required class="form-control" id="basic-url"
                                                placeholder="Amount">
                                        </div>
                                        <input value="Crypto"  type="hidden" name="method">
                                        <input value="Bonus"  type="hidden" name="type">
                                        <div class="form-group mt-2">
                                            <button class="btn btn-primary">Withdraw</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    </main><!-- End #main -->

	@endsection