<?php
/**
 * Created by PhpStorm.
 * User: roysinclair
 * Date: 2016/07/11
 * Time: 6:59 PM
 */

?>


<div id="allFinancialInformation">


    <h1 class="text-center">Payment Details</h1>
    <h5 class="text-center">Choose the way you would like to contribute and your <br> Investment or Savings Amount</h5>

    <form role="form" id="non-sa-natural-bankDetails">
        <div class="form-body padding-top35px">

            <div class="form-group form-md-line-input" id="currency">
                <select class="form-control edited input-lg" id="form_control_1">
                    <option value="NONE" selected="">Please select</option>
                    <option value="USD">US Dollars</option>
                    <option value="EUR">Euro</option>
                    <option value="GBP">Pound</option>
                </select>
                <label for="form_control_1">Which currency would you like to contribute with ?</label>
                <span class="help-block hiddenContent"></span>
            </div>


            <div class="form-group form-md-line-input" id="investment" >
                <input type="number" class="form-control input-lg" value="">
                <label for="form_control_1">Single Investment Amount</label>
                <span class="help-block hiddenContent"></span>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label" id="source">
                <select class="form-control edited input-lg">
                    <option value="NONE" selected="">Please select</option>
                    <?php

                    $pdo = $SA->query("SELECT type FROM inputsource");
                    $pdo->execute();
                    $results = $pdo->fetchAll();

                    foreach ($results as $row) {

                        echo '<option value="'.$row['type'].'">'.$row['type'].'</option>';

                    }

                    ?>
                </select>
                <label for="form_control_1">Source of fund ?</label>
                <span class="help-block hiddenContent"></span>
            </div>

            <!--
                            <div class="form-group form-md-line-input">
                                <div class="col-md-10">
                                    <div class="md-radio margin-top-20">
                                        <input type="radio" id="advisor" name="financial" class="md-radiobtn" value="advisor">
                                        <label for="advisor">
                                            <span class="inc"></span>
                                            <span class="check"></span>
                                            <span class="box"></span> Do you have a financial advisor ? </label>
                                    </div>
                                </div>
                            </div>

            -->
            <!-- HIDDEN UNTIL Would you like financial  ? is CLICKED -->
            <div id="financialAdvisorContent" class="hiddenContent">

                <!-- GIVE ME SPACE -->
                <div class="clearfix margin-bottom-40"></div>
                <!-- OK THAT IS ENOUGH :) -->

                <div class="form-group form-md-line-input" id="advisorFirstName" >
                    <input type="text" class="form-control input-lg" value="">
                    <label for="form_control_1">Financial Advisor First Name</label>
                    <span class="help-block hiddenContent"></span>
                </div>

                <div class="form-group form-md-line-input" id="advisorSurname" >
                    <input type="text" class="form-control input-lg" value="">
                    <label for="form_control_1">Financial Advisor Surname</label>
                    <span class="help-block hiddenContent"></span>
                </div>

                <div class="form-group form-md-line-input" id="advisorFirstName" >
                    <input type="text" class="form-control input-lg" value="">
                    <label for="form_control_1">Name of Business</label>
                    <span class="help-block hiddenContent"></span>
                </div>

                <div class="form-group form-md-line-input" id="advisorFee">
                    <select class="form-control edited input-lg" id="form_control_1">
                        <option value="NONE" selected="">Please select</option>
                        <?php

                        for ($i = 0; $i <= 3.5; $i += 0.5){

                            echo '<option value="'.$i.'">'.$i.'%</option>';

                        }

                        ?>
                    </select>
                    <label for="form_control_1">Initial Fee %</label>
                    <span class="help-block hiddenContent"></span>
                </div>



            </div>
            <!-- END: HIDDEN UNTIL Would you like contribute once off ? is CLICKED -->


            <div class="form-actions noborder hidden" id="update">
                <div class="padding-top52px"></div>
                <a href="#">
                    <button type="button" class="btn purple btn-lg" id="updateButton">Update</button>
                </a>
            </div>

        </div>

    </form>


</div>
