{!! Form::label(
'data[Settings][content][guestmanager][url]',
t('Server URL')
) !!}
{!! Form::text(
'data[Settings][content][guestmanager][url]',
(
isset($data->Settings->content->guestmanager->url) ?
$data->Settings->content->guestmanager->url :
'https://app.guestmanager.com/api/public/v2'
),
[
'placeholder' => 'Full url to the server starting with https://...'
]
) !!}
{!! Form::label(
'data[Settings][content][guestmanager][token]',
t('API Key')
) !!}
{!! Form::text(
'data[Settings][content][guestmanager][token]',
(
isset($data->Settings->content->guestmanager->token) ?
$data->Settings->content->guestmanager->token : null
),
[
'autocomplete' => 'off'
]
) !!}
@if (isset($guest_manager_venues) && $guest_manager_venues)
{!! Form::label(
'data[Settings][content][guestmanager][venue_id]',
t('Venue ID')
) !!}
{!! Form::select(
'data[Settings][content][guestmanager][venue_id]',
oa($guest_manager_venues),
(
isset($data->Settings->content->guestmanager->venue_id) ?
$data->Settings->content->guestmanager->venue_id : null
),
['empty' => true]
) !!}
{!! Form::label(
'data[Settings][content][guestmanager][ticket_type]',
t('Ticket Type Format')
) !!}
{!! Form::select(
'data[Settings][content][guestmanager][ticket_type]',
[
'product' => __('Product Name'),
'category' => __('Category Name')
],
(
isset($data->Settings->content->guestmanager->ticket_type) ?
$data->Settings->content->guestmanager->ticket_type : null
)
) !!}
@endif