<!-- Modal -->
<div class="modal" id="uploadFileModal" data-keyboard="false" data-backdrop="static">
    <div class="modal-dialog modal-lg">
        <div class="modal-content border-primary">
            <div class="modal-header bg-primary">
                <h5 class="modal-title text-white">Upload File</h5>
                <button type="button" class="close text-white" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-xs-12 col-lg-12">
                        <h6>Header for excel sheet should be like this</h6>
                        <h6>Project Name,Developer Number,Unit Type,Development Status,Sale Status,Unit Number,Floor,View,Price,Area,Unit Area,Beds,Parking,Completion Date</h6>
                    </div>
                </div>
                <hr>
                <form action="{{route('upload-offplan-file')}}" method="post" enctype="multipart/form-data" data-toggle="validator" autocomplete="off"
                      class="form-styled" id="upload_file_form">
                    @csrf
                    <div class="row">
                        <div class="col-xs-12 col-lg-4">
                            <div class="form-group has-feedback">
                                <label class="control-label">Upload File*</label>
                                <input style="padding: 3px" type="file" name="file" required class="form-control"><span
                                    class="help-block with-errors"></span>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12 col-lg-12">
                            <div class="form-group">
                                <button type="submit" id="submit_btn" name="submit" class="btn btn-success"><i
                                        class="fa fa-check fa-lg"> </i>&nbsp;Submit
                                </button>
                                <button type="button" class="btn btn-secondary" data-dismiss="modal"><i
                                        class="fa fa-times fa-lg"></i> Close
                                </button>
                                <div class="alert alert-danger add_errors" style="display: none">
                                    <ul></ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
