| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | @if (!GROCY_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-05 22:49:51 +02:00
										 |  |  | @once | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | @push('componentScripts') | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | <script src="{{ $U('/viewjs/components/barcodescanner.js', true) }}?v={{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | @endpush | 
					
						
							| 
									
										
										
										
											2021-07-05 22:49:51 +02:00
										 |  |  | @endonce | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-05 22:49:51 +02:00
										 |  |  | @once | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | @push('pageScripts') | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | <script src="{{ $U('/node_modules/@ericblade/quagga2/dist/quagga.min.js?v=', true) }}{{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | @endpush | 
					
						
							| 
									
										
										
										
											2021-07-05 22:49:51 +02:00
										 |  |  | @endonce | 
					
						
							| 
									
										
										
										
											2019-09-19 12:48:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-21 20:01:49 +02:00
										 |  |  | @push('pageStyles') | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | <style> | 
					
						
							|  |  |  | 	#barcodescanner-start-button {
 | 
					
						
							|  |  |  | 		position: absolute; | 
					
						
							|  |  |  | 		right: 0; | 
					
						
							|  |  |  | 		margin-top: 4px; | 
					
						
							|  |  |  | 		margin-right: 5px; | 
					
						
							|  |  |  | 		cursor: pointer; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2019-09-21 20:01:49 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	.combobox-container #barcodescanner-start-button {
 | 
					
						
							|  |  |  | 		margin-right: 36px !important; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2021-07-05 22:49:51 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | </style> | 
					
						
							| 
									
										
										
										
											2019-09-21 20:01:49 +02:00
										 |  |  | @endpush | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-24 22:46:47 +02:00
										 |  |  | @endif |