@extends('layouts.app') @section('content')
@include('partials.header') @include('partials.sidebar')

Edit Facility

Edit Facility

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
QR Code
QR Code: Provide a URL to generate a QR code for easy access (optional).
Enter a valid URL. A QR code will be automatically generated for this URL.
@if ($facility->qr_img && $facility->qr_url)
Current QR Code:
Current QR Code
URL: {{ $facility->qr_url }}
QR code will be regenerated if you change the URL above.
@endif
Images
Image Requirements: At least one image is required. You can upload up to 4 images. Accepted formats: JPEG, PNG, JPG, GIF, WebP. Maximum size: 2MB per image.
@if ($facility->img_url)
Current Image 1
@else

No image uploaded

@endif
@if ($facility->img_url_2)
Current Image 2
@else

No image uploaded

@endif
@if ($facility->img_url_3)
Current Image 3
@else

No image uploaded

@endif
@if ($facility->img_url_4)
Current Image 4
@else

No image uploaded

@endif
Back
@endsection