2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@push('componentScripts')
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								<script src="{{ $U('/viewjs/components/locationpicker.js', true) }}?v={{ $version }}"></script>
							 | 
						
					
						
							
								
									
										
										
										
											2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@endpush
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@php if(empty($prefillByName)) { $prefillByName = ''; } @endphp
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@php if(empty($prefillById)) { $prefillById = ''; } @endphp
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@php if(!isset($isRequired)) { $isRequired = true; } @endphp
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@php if(empty($hint)) { $hint = ''; } @endphp
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-14 17:48:37 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								@php if(empty($nextInputSelector)) { $nextInputSelector = ''; } @endphp
							 | 
						
					
						
							
								
									
										
										
										
											2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								<div class="form-group"
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-14 17:48:37 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									data-next-input-selector="{{ $nextInputSelector }}"
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									data-prefill-by-name="{{ $prefillByName }}"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									data-prefill-by-id="{{ $prefillById }}">
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-14 11:15:11 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									<label for="location_id">{{ $__t('Location') }}  <span @if(!empty($hintId))id="{{ $hintId }}" @endif
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											class="small text-muted">{{ $hint }}</span></label>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									<select class="form-control location-combobox"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										id="location_id"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										name="location_id"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										@if($isRequired)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										required
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										@endif>
							 | 
						
					
						
							
								
									
										
										
										
											2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										<option value=""></option>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										@foreach($locations as $location)
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										<option value="{{ $location->id }}">{{ $location->name }}</option>
							 | 
						
					
						
							
								
									
										
										
										
											2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										@endforeach
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									</select>
							 | 
						
					
						
							
								
									
										
										
										
											2019-05-01 20:19:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									<div class="invalid-feedback">{{ $__t('You have to select a location') }}</div>
							 | 
						
					
						
							
								
									
										
										
										
											2019-03-04 17:43:12 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</div>
							 |