<div class="modal inmodal" id="end-of-life-data-wiped" 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 - Data Wiped</h4>

			</div>

			<div class="modal-body">

				<form class="form-horizontal" action="/update-asset-status" method="post"
					id="search-asset-end-of-life-data-wiped-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">

					<div class="form-group">

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

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

							<div class="fileinput fileinput-new input-group" data-provides="fileinput">

								<div class="form-control" data-trigger="fileinput">

									<i class="glyphicon glyphicon-file fileinput-exists"></i>

									<span class="fileinput-filename"></span>

								</div>

								<span class="input-group-addon btn btn-primary btn-file">

									<span class="fileinput-new">Select file</span>

									<span class="fileinput-exists">Change</span>

									<input type="file" name="ewaste_certificate" required />

								</span>

								<a href="#" class="input-group-addon btn btn-primary fileinput-exists"
									data-dismiss="fileinput">Remove</a>

							</div>

							<span class="text-danger errorTextFile"></span>

						</div>

					</div>

					<div class="form-group">
						<label class="col-lg-4 control-label">Vendor<span class="text-danger">*</span></label>
						<div class="col-lg-8">
							<select class="form-control chosen-select" name="vendor_id" required>
								<option value="">Select</option>
								@foreach(\App\Models\Vendor::orderBy('name')->pluck('name', 'id') as $key => $vendor)
									<option value="{{$key}}">{{$vendor}}</option>
								@endforeach
							</select>
							<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="text-danger errorText"></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="text-danger errorText"></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-data-wiped-form" id="asset-end-of-life-data-wiped-submit">Save</button>

			</div>

		</div>

	</div>

</div>