@extends('layouts.popup.small') @section('content')

{{ trans('messages.automation.add_an_action') }}

{{ trans('messages.automation.action.intro') }}

@foreach ($types as $type) @php $disabled = ($type == 'condition' && $hasChildren == "true") ? 'd-disabled' : ''; @endphp
@if ($type == 'send-an-email') @elseif ($type == 'wait') @elseif ($type == 'condition') @elseif ($type == 'operation') @endif
{{ trans('messages.automation.action.' . $type) }}

{{ trans('messages.automation.action.' . $type . '.desc') }}

@if ($type == 'condition' && $hasChildren == "true")

warning {{ trans('messages.automation.action.can_not_add_condition') }}

@endif
@endforeach
@endsection