<div class="modal fade bs-modal-lg" id="change_client" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-dm modal-8">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h3 class="modal-title">Change Client</h3>
            </div>
            <div id="_div_paymentPopup" style="display:none;" class="alert alert-block alert-danger fade in">
                <h4 class="alert-heading">Warning!</h4>
                <p id="_msg_paymentPopup"></p>
            </div>

            <div style="display:none;" class="alert-message alert-success" role="alert" id="done">
                <h4 class="alert-heading">Successfully!</h4>
                <hr>
                <p class="mb-0">Data has been saved successfully!</p>
            </div>
            <br />
            <form class="form-horizontal" role="form" action="{{route('add_change_client')}}" method="post" id="form-change-client">
                @csrf
                <br>
                <div class="row col-sm-12">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-md-5 required control-label">Date </label>
                            <div class="col-md-7">
                                <input type="date" name="date" class="form-control" value="{{date('Y-m-d')}}" id="date">
                                <input type="hidden" name="loan_id" class="loan_id">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-md-5 control-label">Client</label>
                            <div class="col-md-7">
                                {!! Form::select('client_fullname', $client, null, ['class' => 'form-control select2','id'=>'client_id']) !!}
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row"></div>
                <div class="modal-footer">
                    <button type="button" class="button_danger" data-dismiss="modal">Close</button>
                    <button type="submit" class="button_success btn-save-deposite" id="btn-submit">Change Client</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>