@extends('include.dashboard')


@section('content')

                    <div class="nk-content nk-content-fluid">
                        <div class="container-xl wide-lg">
                            <div class="nk-content-body">
                                <div class="kyc-app wide-sm m-auto">
                                    <div class="nk-block-head nk-block-head-lg wide-xs mx-auto">
                                        <div class="nk-block-head-content text-center">
                                            <h2 class="nk-block-title fw-normal">Preview Withdrawal</h2>
                                            </p></div>
                                        </div>
                                    </div>
                                    
                                    <style>
                                        
    .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #000, #365240);
    border-color: #ebeef2;
    
}
                                        
                                    </style>
                                    <div class="nk-block">
                                        <div class="card card-bordered">
                                            <div class="card-inner card-inner-lg">
                                                <div class="nk-kyc-app p-sm-2 text-center">
                                                    <div class="nk-kyc-app-icon"><em class="icon ni ni-wallet text-primary"></em></div>
                                                    <div class="nk-kyc-app-text mx-auto">
                                                        <p class="lead">Bank Gateway: BITCOIN<br>Wallet Address: {{$withdraw->send_details}} <br>
														Amount USD: ${{number_format($withdraw->usd,2)}}
														<br>
														Amount {{$basic->currency}}: {{$basic->currency_sym}}{{number_format($withdraw->amount,2)}}
														<br>
														Withdrawal Charge: {{$basic->currency_sym}}{{number_format($basic->transcharge,2)}}</p>
                                                    </div>
                                                    <div class="nk-kyc-app-action">
													 <form method="post"  action="{{route('completewithdraw') }}">
													@csrf


												 <div class="buysell-field form-group">
												 <small>We have sent an OTP to your registered phone number. Please enter it below to proceed with withdrawal<small>
                                                <div class="form-label-group"><label class="form-label" for="buysell-amount">Enter OTP</label></div>
                                                <div class="form-control-group">
                                                    <input type="text" class="form-control form-control-lg form-control-number" name="otp" placeholder="One Time Password"  />
                                                </div>
                                                 </div>

													<button type="submit" class="btn btn-lg btn-primary">Click here to complete your withdrawal</button>
													</div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="text-center pt-4">
                                            <p>If you have any question, please contact our support team <a href="mailto:{{$basic->email}}">{{$basic->email}}</a></p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

@stop
