{#if $events_slct.exhibit_id && $event_exhibit_obj} Main Manage Add/Scan {#if $events_loc.leads.tab[$events_slct.exhibit_id] === 'start'}

{$event_exhibit_obj?.name ?? 'Welcome to Leads for Exhibits!'} {$event_exhibit_obj?.code ?? ''}

{#if $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key} {$events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key} {:else} No license key selected. {/if}

{#if $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}

You are logged in using the shared exhibit staff passcode and are using the license key for {$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}. Any leads you collect will be associated with this license key (email address).

{:else if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id]}

To use the lead retrieval service, please select a license from the list below.

{:else}

To access this exhibit you must enter the shared staff passcode that you were given. You will then be able to select a license and use the lead retrieval service from your device.

{/if} {#if $events_loc?.leads.auth_exhibit_kv && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id]} {#if $event_exhibit_obj?.license_max }

License List (max {$event_exhibit_obj?.license_max})

{#if $event_exhibit_obj?.license_li_json && $event_exhibit_obj?.license_li_json.length < $event_exhibit_obj?.license_max} {:else} {/if}
Use the "Sign In" or "Email" option buttons below to log in using one of the available licenses. If you select a license that is already in use on another device, it will be logged out. The "Sign In" option will use the license selected with your browser. The "Email" option will send an email with a link to log in.
{ console.log('Save License List'); handle_submit_form(event); }} id="form__license_table" class="p-0 m-0" > {#if $events_loc.show_details} {/if} {#each $event_exhibit_obj?.license_li_json as license, index} {#if $events_loc.show_details} {/if} {/each}
License Info Save { $events_loc.leads.show_meta__event_exhibit_obj = !$events_loc.leads.show_meta__event_exhibit_obj; }} >Meta
{#if index < $event_exhibit_obj?.license_max}
{:else}
Disabled license
{/if}
{license.full_name} {license.email}
{license.passcode}
Updated On: {license.updated_on}
Created On: {license.created_on}
Expires On: {license.expires_on}
{/if} {/if}
{:else if $events_loc.leads.tab[$events_slct.exhibit_id] == 'manage'}

Login and License

{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
Logged in and using license for: {#if $event_exhibit_obj?.license_li_json} {#each $event_exhibit_obj?.license_li_json as license, index} {#if license.email === $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
Name: {license.full_name}
{/if} {/each} {/if}
Email: {$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
Started: {ae_util.iso_datetime_formatter($events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].updated_on, 'datetime_long')}
{:else if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id]}
You are logged in using the shared passcode for the exhibit. You will want to select a license to fully use this lead retrieval service. Please go to the Main tab and select a license to use.
{:else}
Please go to the Main tab to login using the shared staff passcode for this exhibit. Then select a license to use.
{/if} {#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}

Export Data

Use this to export the leads data for this exhibit to an Excel file format. The data can be downloaded at anytime using the export button below.

{/if}

Additional Settings

{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id]} Turn on iframe mode: Show or hide additional details: {:else}
You must be logged in to view this tab.
{/if}
{:else if $events_loc.leads.tab[$events_slct.exhibit_id] == 'add_scan'}
{#if $events_loc?.leads.auth_exhibit_kv && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id]} {#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
Scanning for: {$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
{:else}
Please go to the Main tab and select a license to use.
{/if}
{@html $events_sess.leads.qr_scan_result ?? 'No results yet'}
{:else}
Not logged in. Please log in and select a user license.
{/if}
{/if} {/if}
{#if $events_sess.leads.show_form__license}

Edit License

{#if $ae_loc.trusted_access} {/if}
Something text {#await license_submit_results} {:then license_submit_results} {#if license_submit_results}
Saved
{/if} {/await}
submit: {$events_sess?.leads.submit_status__license}
{/if}