@extends('layouts.app') @section('title', 'Generate QR - Tiqkets') @section('page-title', 'Generate QR') @section('content')
Restaurant QR
{!! $restaurantQrSvg !!}

Tiqkets

{{ $branch->branch_name }}

ID: {{ $branch->branch_code }}

Scan Me
QR Code URL: {{ $restaurantQrUrl }}
@if($isTakeawayEnabled)
Takeaway QR
{!! $takeawayQrSvg !!}

Takeaway

{{ $branch->branch_name }}

ID: {{ $branch->branch_code }}

Scan Me
QR Code URL: {{ $takeawayQrUrl }}
@else
Takeaway QR
Takeaway Not Enabled

Takeaway service is not enabled for this branch.

@endif
QR Code Instructions
Restaurant QR Code
  • Customers scan to join the dining queue
  • Display at restaurant entrance
  • Automatically generated when branch is created
  • Redirects to customer booking form
Takeaway QR Code
  • Customers scan to place takeaway orders
  • Display at takeaway counter
  • Available only if takeaway is enabled
  • Redirects to takeaway order form
Testing QR Codes

To test the QR codes:

  1. Open your phone camera
  2. Point it at the QR code on screen
  3. Tap the notification to open the link
  4. You should see the customer form

Note: Make sure your application is accessible from your phone's network. For local testing, use your local IP address (e.g., http://192.168.x.x:8000) instead of localhost.

@endsection @push('styles') @endpush @push('scripts') @endpush