<div class="modal inmodal" id="end-of-life" tabindex="-1" role="dialog">

	<div class="modal-dialog">

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

			<div class="modal-header">

				<h4 class="modal-title">End of Life</h4>

			</div>

			<div class="modal-body">

				<form class="form-horizontal"  action="/update-asset-status" method="post" id="search-asset-end-of-life-form" enctype="multipart/form-data" >

					{{csrf_field()}}

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

					<input type="hidden" name="asset_status_id" id="status_id">

					<input type="hidden" name="end_of_life_date">

					<div class="form-group">

						<label class="col-lg-4 control-label">Location<span class="text-danger">*</span></label>

						<div class="col-lg-8">
							@include('partials.dropdowns.location-search-input', ['filterClass' => config('status-location-type.end_of_life') == 'install' ?'filter-field-install-building-location ':'filter-field-all-active-location','required'=>'required'])
							<span class="errorText text-danger"></span>
						</div>

					</div>

					<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">

							<span class="errorText text-danger"></span>
						</div>

					</div>

					<div class="form-group">

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

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

							<textarea cols="30" rows="10" class="form-control" name="comments"></textarea>

							<span class="errorText text-danger"></span>
						</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 status-form-submit-btn"  data-form="#search-asset-end-of-life-form" id="asset-end-of-life-submit">Save</button>

			</div>

		</div>

	</div>

</div>