<div class="modal inmodal" id="editModal" tabindex="-1" role="dialog" aria-hidden="true">

    <div class="modal-dialog">

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

            <div class="modal-header">

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

                <h4 class="modal-title">Edit ASN-Presidio</h4>

            </div>

            <div class="modal-body">

                @include('settings.partials.delete-message')

                <form class="form-horizontal" action="/presidio-asset-update" method="post" id="edit-asset-form">

                    {{csrf_field()}}

                    <input type="hidden" name="id" id="modal_asset_id">
                    
                    <div class="form-group">

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

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

                            <input type="text" class="form-control" name="serial_no" id="asset_serial_no" value="" required>

                        </div>

                    </div>

                    <div class="form-group">

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

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

                            <input type="text" class="form-control" name="po_id" id="asset_po_no" value="" required>
                        </div>

                    </div>

                    <div class="form-group">

                        <label class="col-lg-4 control-label">Manufacturer Part # (Presidio)</label>

                        <label class="col-lg-8 control-label asset_description" id="asset_description"></label>

                    </div>

                    <div class="form-group">

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

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

                            <select class="form-control chosen-select" id="modal_asset_type" name="asset_type_id" required>
                                <option value="">Select</option>
                                @foreach(\App\Models\AssetType::orderBy('slug')->get() as $assettype)
                                    @if($assettype->name!='Computer Accessories')
                                        <option value="{{$assettype->id}}">{{$assettype->name}}</option>
                                    @endif
                                @endforeach
                            </select>

                        </div>

                    </div>

                    <div class="form-group">

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

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

                            <select class="form-control chosen-select modal_hardware" id="modal_hardware" name="make_and_model_id" required>
                                <option value="">Select</option>
                            </select>

                        </div>

                    </div>

                    <div class="form-group">
                        <label class="col-lg-4 control-label">Tech Specs</label>

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

                            <select class="form-control chosen-select modal_tech_spec" id="modal_tech" name="technical_spec" required>
                                <option value="">Select</option>
                                
                            </select>

                        </div>
                    </div>

                </form>

            </div>

            <div class="modal-footer">

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

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

            </div>

        </div>

    </div>

</div>