@php $afterSetup = old('after_setup_channel', $setupChannel ?? null); if (! in_array($afterSetup, ['mail', 'line'], true)) { $afterSetup = null; } $inSetupFlow = $afterSetup !== null; @endphp @extends($inSetupFlow ? 'layouts.setup' : 'layouts.app') @php $listActiveQuery = array_filter(['setup_channel' => $afterSetup]); $listArchivedQuery = array_filter(['archived' => 1, 'setup_channel' => $afterSetup]); @endphp @section('title') @if($afterSetup === 'mail') メール設定 @elseif($afterSetup === 'line') LINE設定 @else メール・LINE配信 - 送信用アカウントを追加 @endif @endsection @if(! $inSetupFlow) @section('delivery-primary-tabs') @include('account.partials.mail-delivery-primary-tabs', ['mailDeliveryTab' => 'accounts']) @endsection @endif @section('page-title') @if($afterSetup === 'mail') メール設定 @elseif($afterSetup === 'line') LINE設定 @else 送信用アカウントを追加 @endif @endsection @if(! $inSetupFlow) @section('page-subtitle') @if($afterSetup === 'mail') 初期設定の「メール設定」向けです。ここではメールのみの送信用アカウントを作成します。メールと LINE の併用(メール+LINE)が必要なときは、送信用アカウント一覧の通常の「追加」から作成してください。 @elseif($afterSetup === 'line') 初期設定の「LINE設定」向けです。作成後はシナリオ一覧の「LINEアカウント」で Messaging API(Channel ID / secret 等)を入力してください。 @else 送信用アカウントを新しく作成します。作成後は一覧の「各種設定」でメール(SMTP)、シナリオ一覧の「LINEアカウント設定」で LINE を入力してください。タブにマウスを乗せると「送信用アカウント」と「送信ドメイン認証」の違いが出ます。 @endif @endsection @endif @push('styles') @endpush @if($inSetupFlow) @section('setup_body') @else @section('content') @endif @if($inSetupFlow)
@else @endif