<nav class="large-3 medium-4 columns" id="actions-sidebar">
    <?= $this->element('admin_sidebar') ?>
</nav>
<div class="customers form large-9 medium-8 columns content">


    <?= $this->Form->create($fds) ?>
    <fieldset class="fieldset2">

        <legend><?= __('Add FD Data') ?></legend>
        <div class="addmenu-col">

        <div class="column-box 20_fd">
                <?php
            echo $this->Form->input('broker_name', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('BA Name: ')]]);

            echo $this->Form->input('broker_code', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('BA Code: ')]]);

            echo $this->Form->input('customer_name', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('Client: ')]]);

            echo $this->Form->input('scheme_name', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('Scheme: ')]]);

            echo $this->Form->input('txn_date', ['id'=>'','class' => __('datepicker add-column'),'label' => ['text' => __('FDR.Date: ')],'type'=>'text']);

            echo $this->Form->input('investment_amount', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('Amount: ')]]);

            echo $this->Form->input('period', ['id'=>'','class' => __('add-column'),'label' => ['text' => __('Period: ')]]);

            echo $this->Form->input('maturity_date', ['id'=>'','class' => __('datepicker add-column'),'label' => ['text' => __('Mat. Date: ')],'type'=>'text']);
        ?></div>

         
        </div>
    </fieldset>
    <div class="add-button">
        <?= $this->Form->button(__('Submit'),['class' => 'green-btn']) ?>
    </div>
    <div class="btn-link"><input type="button" value="Back" onclick="window.history.back()"
            class="green-btn new_back" /> </div>
    <?= $this->Form->end() ?>
</div>
<script>
$(document).ready(function() {
    $(".datepicker").datepicker({
        dateFormat: 'd/m/yy',
        changeMonth: true,
        changeYear: true,
        yearRange: '-100:+100'
    });
});
</script>