<div class="modal fade" id="deposit-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" style="color:black !important;font-size:20px;text-align:center" id="exampleModalLabel" class="modalTitle"></h5>
            </div>
            <form action="#" method="post" id="form-action">
                <?php echo csrf_field(); ?>
                <?php echo method_field('POST'); ?>
                <div class="modal-body">
                    <div class="row">

                        <div class="form-group col-sm-6">
                            <label for="account_name" class="col-form-label required">Account Name:</label>
                            <div class="input-group">
                                <span class="input-group-addon" style="font-weight: bold;color:#ffffff;background:#00aad8 !important">@</span>
                                <input type="text" id="account_name" name="account_name" class="form-control" placeholder="Account Name" readonly>
                            </div>
                            <input type="hidden" name="account_id" id="account_id">
                            <input type="hidden" name="agency_id" id="agency_id">
                        </div>
                        <div class="form-group col-sm-6">
                            <label for="account_number" class="col-form-label required">Account Number:</label>
                            <div class="input-group">
                                <span class="input-group-addon" style="font-weight: bold;color:#ffffff;background:#00aad8 !important">#</span>
                                <input type="text" id="account_number" name="account_number" class="form-control" placeholder="Account Number" readonly>
                            </div>
                        </div>
                        <div class="withdrawal-info">
                            <div class="form-group col-sm-6">
                                <label for="bank_id" class="required">Bank Name:</label>
                                <select name="bank_id" id="bank_id" class="form-control select2 bank_list" required></select>
                            </div>
                            <div class="form-group col-sm-6">
                                <label for="required" class="required">Account Name</label>
                                <?php echo Form::text('accountbank_name',null,['class'=>'form-control','id'=>'accountbank_name','readonly']); ?>

                            </div>
                            <div class="form-group col-sm-6">
                                <label class="required">Bank Account</label>
                                <?php echo Form::text('bank_account', null, ['id' => 'bank_account', 'class' => 'form-control','readonly']); ?>

                                <span class="focus-border"></span>
                            </div>
                        </div>
                        <div class="sendfund-info" style="display: none;">
                            <div class="form-group col-sm-6">
                                <label for="">To Account Number</label>
                                <div class="input-group">
                                    <span class="input-group-addon" style="font-weight: bold;color:#ffffff;background:#850283 !important">#</span>
                                    <input type="text" id="to_account_number" name="to_account_number" class="form-control" placeholder="Account Number">
                                </div>
                            </div>
                            <div class="form-group col-sm-6">
                                <label for="">To Account Name</label>
                                <div class="input-group">
                                    <span class="input-group-addon" style="font-weight: bold;color:#ffffff;background:#850283 !important">@</span>
                                    <input type="text" id="to_account_name" name="to_account_name" class="form-control" placeholder="Account Number" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="form-group col-sm-6">
                            <label for="amount_deposit" class="col-form-label">Amount:</label>
                            <div class="input-group">
                                <span class="input-group-addon" style="font-weight: bold;color:#ffffff;background:#d86500 !important">$</span>
                                <input type="text" id="amount_deposit" name="amount_deposit" class="form-control number-only" placeholder="Amount" required>
                            </div>
                            <span id="span-error" style="display:none;color: red;">dd</span>
                        </div>
                        <div class="form-group col-sm-6" style="display: none">
                            <div class="col-sm-12">
                                <label for="remark" class="col-form-label">Reference:</label>
                                <div class="imageupload panel panel-default">
                                    <div class="file-tab panel-body">
                                        <label class="btn button_warning btn-file">
                                            <span>Browse</span>
                                            <input type="file" name="image">
                                        </label>
                                        <button type="button" class="btn button_danger">Remove</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group col-sm-6">
                            <label for="remark" class="col-form-label">Remark:</label>
                            <textarea class="form-control" id="remark" name="remark"></textarea>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="col-sm-12">
                        <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
                        <button type="button" class="btn btn-warning btn-withdraw" onclick="submitaction()">Save</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>