@extends('layout.' . layout()) @section('subhead') @translate(SMS Settings) - {{ $sms }} @endsection @section('subcontent')
@translate(SMS List) @switch($sms) @case('viber') @translate(New Scenario Key) @break @case('whatsapp') @translate(New Scenario Key) @break @default @endswitch @switch($sms) @case('viber') @break @case('whatsapp') @break @case('infobip') @break @default @endswitch

{{ Str::upper($sms) }}

@translate(Sms Gateway Information)

@csrf
@can('Admin')
@switch($sms) @case('lao') @break @default @endswitch
@endcan
@if ($sms == 'lao') @endif
@can('Admin') @if ($sms == 'infobip' || $sms == 'nexmo' || ($sms = 'whatsapp')) @if ($sms != 'whatsapp')
@endif
@endif @endcan @can('Admin')
@if ($sms == 'twilio') @endif @endcan
@switch($sms) @case('viber')

@translate(Viber Flow List)

@forelse (scenarioes('viber') as $scenario) @empty @endforelse
# Key Name From Created At
{{ $loop->iteration }} {{ $scenario->key }} {{ $scenario->flow_name }} {{ $scenario->flow_from }} {{ $scenario->created_at->diffForHumans() }}
no scenarios
@break @case('whatsapp')

@translate(WhatsApp Flow List)

@forelse (scenarioes('whatsapp') as $scenario) @empty @endforelse
# Key Name From Created At
{{ $loop->iteration }} {{ $scenario->key }} {{ $scenario->flow_name }} {{ $scenario->flow_from }} {{ $scenario->created_at->diffForHumans() }}
no scenarios
@break @default @endswitch @endsection @section('script') @endsection