SIGNALS Docs
Exit Reader View
100%
Theme

Scan module embedding

How a host page embeds the scan module in docked presentation, and the props and actions the host must supply.

Overview

This is a developer reference for Scan Console. The scan module is the composer, feed and prompts the console renders; other pages can embed it.

Docked presentation

The rental scanning page (/rentals/{rental}/scanning) embeds the scan module for contexts its desk does not serve. The host includes the composer and supplies the same Livewire props and actions the console owns — it does not include the page header, context picker, or session history:

@include('livewire.scanning.partials.module', ['presentation' => 'docked'])

The host owns Alpine scanConsole($startedAtIso) and the session actions: submitScan, closeSession, abandonSession, newSession, setFeedFilter, submitQtyPrompt, cancelQtyPrompt. Required props are documented on resources/views/livewire/scanning/partials/module.blade.php.