<div class="nk-content">
    <div class="container-xl wide-lg">
        <div class="nk-content-body">
            <div class="nk-block-head">
                <div class="nk-block-head-sub">
                </div>
                <div class="nk-block-between-md g-4 card-bordered">
                    <div class="nk-block-head-content">
                    <h4 class="nk-block-title fw-normal">International Transfer.</h4>
                        <div class="nk-block-des">
                        <p>
                            International Transfer is fast and safe way to send money across different countries. The funds are deposited into the recipient's bank account associated with the Swift Code you have added.
                        </p>
                        </div>
                    </div>
                    <div class="nk-block-head-content">
                        <ul class="nk-block-tools gx-3">
                            <li><a href="index?wire=wire" class="btn btn-primary btn-light text-light"><span>Local Transfer</span><em class="icon fa-regular fa-wallet"></em></a></li>
                        </ul>
                    </div><!-- .nk-block-head-content -->
                </div><!-- .nk-block-between -->
            </div><!-- .nk-block-head -->
        </div>
    </div>
    <div class="card card-bordered">
        <div class="card-header text-light" style="background-color:#3140fc;">
            <ul class="nav nav-tabs mt-n3">
                <li class="nav-item ">
                   <a class="nav-link active text-light" data-toggle="tab" href="#tabItem5"><em class="icon  fa-regular fa-wallet"></em> <span >Send Money</span></a>
                </li>
             
                <!-- <li class="nav-item">
                   <a class="nav-link text-light" data-toggle="tab" href="#tabItem7"><em class="icon fa-solid fa-bars"></em><span>History</span></a>
                </li> -->
           </ul>
        </div>
        <div class="card-inner">
            <div class="tab-content">
                <div class="tab-pane active" id="tabItem5">
                <p>
                    <form action="process/wire.php" method="post">
                        <div class="row">
                            <div class='col-md-12'>
                                <?php
                                    if(isset($_SESSION['t_error_c'])){
                                        echo "<p style='color:red'>".$_SESSION['t_error_c']."</p> <br>";
                                        unset($_SESSION['t_error_c'] );
                                    }
                                ?>
                            </div>
                            <div class="form-group col-md-6">
                                <div class="form-control-wrap">
                                   <input type="date" class="form-control form-control-outlined" id="dated" name="dated" placeholder="" required>
                                   <input type="hidden" value="<?php echo $user->getBalance('balance',$_SESSION['id']) ?>" name="balance">
                                   <label class="form-label-outlined" for="outlined">Delivery date</label>
                                </div>
                            </div>
                            <div class="buysell-field form-group col-md-12">
                                <div class="form-label-group">
                                    <label class="form-label" for="buysell-amount">Amount</label>
                                </div>
                                <span class="text-left">Daily Transfer Limit:</span>
                                <span class="text-right" style="float:right;">$0.00 of $5,000,000.00</span>
                                <div class="form-control-group">
                                <input type="number" class="form-control form-control-lg form-control-number" id="amount" name="amount" placeholder="2000" required>
                                <div class="form-dropdown">
                                    <div class="text">USD<span></span>
                                </div>
                            </div>
                        </div>
                        <div class="form-note-group">
                            <span class="buysell-min form-note-alt"></span> <span class="buysell-rate form-note-alt">*International Transfer fee will be required</span>
                        </div>
                        </div>
                        <div class="form-group col-md-12">
                            <div class="form-control-wrap">
                                <input type="text" class="form-control form-control-outlined" id="description" name="description" placeholder="" required>
                                <label class="form-label-outlined" for="outlined">Description (Reason)</label>
                            </div>
                        </div>
                        <div class="wireResult"></div>
                        <div class="form-group col-md-12">
                            <button type="submit" class="btn btn-primary btn-block wireBtn" id="tabItem5">Continue</button>
                        </div>
                        </div>
                    </form>
                </p>
           </div> 
        </div>
        </p>
    </div>
</div>
        