@extends('layouts.core.backend', [ 'menu' => 'plan', ]) @section('title', $plan->name) @section('page_header')

{{ $plan->name }}

@endsection @section('content') @include('admin.plans._menu', [ 'menu' => 'sending_server', ])
{{ csrf_field() }}
subtitles

{{ trans('messages.plan_option.sub_account') }}

{{ trans('messages.plan_option.sub_account.intro') }}

{{ trans('messages.plan.sending_servers.sub_account.setting') }}

{{ trans('messages.plan.sending_servers.sub_account.setting.intro') }}

@if (Auth()->user()->admin->getSubaccountSendingServers()->count())
@include('helpers.form_control', [ 'type' => 'select', 'class' => 'numeric', 'name' => 'plan[options][sending_server_subaccount_uid]', 'value' => $plan->getOption('sending_server_subaccount_uid'), 'label' => '', 'help_class' => 'plan', 'include_blank' => trans('messages.select_sending_server_with_subaccount'), 'options' => Auth()->user()->admin->getSubaccountSendingServersSelectOptions(), 'rules' => $plan->validationRules()['options'], ])
@else
{!! trans('messages.plan_option.there_no_subaccount_sending_server') !!}
@endif
@endsection