@include('helpers.form_control', [
'name' => 'mail_list_uid',
'include_blank' => trans('messages.automation.choose_list'),
'type' => 'select',
'label' => trans('messages.list'),
'value' => '',
'options' => Auth::user()->customer->readCache('MailListSelectOptions', []),
])
@php
$customer = Auth::user()->customer;
$time = $customer->getCurrentTime()->format(config('custom.time_format'));
@endphp
@include('helpers.form_control', [
'type' => 'time2',
'name' => 'options[at]',
'label' => trans('messages.automation.at'),
'value' => $time,
'help_class' => 'trigger'
])
@if (config('custom.japan'))
@else
@include('helpers.form_control', [
'type' => 'select',
'name' => 'timezone',
'value' => Auth::user()->customer->timezone ?? config('app.timezone'),
'options' => Tool::getTimezoneSelectOptions(),
'include_blank' => trans('messages.choose'),
'disabled' => true
])
@endif