<div class="modal inmodal" id="receiveAssetModal" tabindex="-1" role="dialog"  style="margin-top:5%;">

    <div class="modal-dialog">

        <div class="modal-content animated fadeIn">

            <div class="modal-header">

                <button type="button" class="close" data-dismiss="modal"><span>×</span><span class="sr-only">Close</span></button>

                <h4 class="modal-title">Receive Asset</h4>

            </div>
            <form class="form-horizontal" action="/" method="post" id="receive-asset-form">
                <div class="modal-body">

                    {{csrf_field()}}

                    <input type="hidden" name="asset_id" id="modal_asset_id" value="">

                    <div class="form-group">

                        <label class="col-lg-4 control-label">Ticket #</label>

                        <div class="col-lg-8">

                            <input type="text" class="form-control" name="ticket_no" id="ticket_no" value="">

                        </div>

                    </div>

                    <div class="form-group">

                        <label class="col-lg-4 control-label">User</label>

                        <div class="col-lg-8">

                            <select name="user_id" class="assigned-user-ajax" id="modal_user_id">

                            </select>

                        </div>

                    </div>
                    <div class="col-lg-12">
                        <h4 class="text-center" style="margin-bottom: 15px;">OR</h4>
                    </div>
                    <div class="form-group">

                        <label class="col-lg-4 control-label">Location</label>

                        <div class="col-lg-8">
                            @include('partials.dropdowns.asn-recieve-location-search-input', ['filterClass' =>'filter-field-storage-location','required'=>'required'])

                        </div>

                    </div>
                    <div class="form-group">
                        <label class="col-lg-4 control-label"></label>
                        <div class="col-lg-8" id="error_message" style="margin-top: 20px;"></div>
                    </div>


                </div>

                <div class="modal-footer">

                    <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>

                    <button type="submit" class="btn btn-primary" id="receive-asset-submit">Save</button>

                </div>
            </form>
        </div>

    </div>

</div>