1. Audience

@if($audience == 'push-notification-audience-specific-users')

Quali gruppi di utenti dovrebbero ricevere la notifica?

@foreach ($groupsSaved as $i => $group)

{{ $group }}

@endforeach

Aggiungi gruppo

Quali segmenti di utenti dovrebbero ricevere la notifica?

@foreach ($segmentsSaved as $i => $segment)

{{ $segment }}

@endforeach

Aggiungi segmento

@endif

La notifica sarĂ  inviata agli utenti:

@error('title')
{{ $message }}
@enderror

Stima notifiche da inviare

{{ $estimateUsersNotificationsSent }}

utenti

{{ $estimateDevicesNotificationsSent }}

dispositivi

{{ $estimateDevicesNotificationsActivatedSent }}

con notifiche attivate

@if($modalTitle == 'Aggiungi Gruppo')

{{ $modalTitle }}

@elseif($modalTitle == 'Aggiungi Segmento')

{{ $modalTitle }}

@if(!$segmentValue)

Nessun segmento nell'elenco

@endif @foreach ($segmentValue as $segmentSlug => $segment)
{{ $segment }}
@endforeach
@if($segmentValueSelected == 'custom-query') @endif
@else

{{ $modalTitle }}

{{-- @if($this->hasOtherConnections())
Attenzione! Altre notifiche sono programmate con questo segmento, modificandolo altererai anche i loro destinatari
@endif--}}
@error('segmentName')
{{ $message }}
@enderror
@if($subsegmentsAddedList == [])
@foreach($subsegments as $i => $subsegment)

{{ $subsegment->name }}

+
@endforeach
@else
@foreach($subsegmentsAddedList as $i => $subsegment)
@if($i != 0)
AND
@endif

{{ $subsegment['name'] }}

@php $filterPosition = -1; @endphp @foreach($this->getSubsegmentFilters($subsegment['id']) as $j => $filter) @php $filterPosition++ @endphp @if($filter->id == 1 || $filter->id == 3)
@if($filter->id == 1) @else
@php $datePickerId++ @endphp @endif
@elseif($filter->id == 2)
@elseif($filter->id == 4)
@if(count($selects[$i][$filterPosition]) == 0) @endif
@foreach($selects[$i][$filterPosition] as $index => $select)
@if($index == count($selects[$i][$filterPosition]) - 1)
@endif
@endforeach
@elseif($filter->id == 5)
@foreach($this->getSubsegmentList($subsegment['catalog_customer_has_feature']) as $groupListValue => $groupListDescription)

{{ $groupListDescription }}:

@if(count($selects[$i][$filterPosition]) == 0) @endif
@foreach($selects[$i][$filterPosition] as $index => $select)
@if($index == count($selects[$i][$filterPosition]) - 1)
@endif
@endforeach
@php $filterPosition++ @endphp @endforeach @php $filterPosition-- @endphp
@endif @endforeach
@endforeach
@endif
@if($subsegmentsAddedList && count($subsegmentsAddedList) > 0)
@foreach($subsegments as $subsegment)

{{ $subsegment->name }}

+
@endforeach
@endif
@if($modalTitle == 'Modifica Segmento') @else @endif
@endif