@extends('layouts/contentLayoutMaster') @section('title', __('locale.keywords.update_keyword')) @section('vendor-style') @endsection @section('page-style') @endsection @section('content') {{ __('locale.keywords.update_keyword') }} {!! __('locale.description.keywords') !!} {{config('app.name')}} {{ method_field('PUT') }} @csrf {{ __('locale.labels.title') }} user()->can('create_keywords')) required name="title" @else readonly @endif> {{ __('locale.labels.keyword') }} user()->can('create_keywords')) required name="keyword_name" @else readonly @endif> @if(auth()->user()->customer->getOption('sender_id_verification') == 'yes') {{ __('locale.labels.originator') }} @can('view_sender_id') {{ __('locale.labels.sender_id') }} sender_id) && !is_null($keyword->sender_id)) checked @endif value="sender_id" id="sender_id_check"/> sender_id) || is_null($keyword->sender_id)) disabled @endif> @foreach($sender_ids as $sender_id) sender_id == $keyword->sender_id ? 'selected': null }}> {{ $sender_id->sender_id }} @endforeach @endcan @can('view_numbers') {{ __('locale.menu.Phone Numbers') }} sender_id)) checked @endif value="phone_number" name="originator" id="phone_number_check"/> sender_id)) disabled @endif id="phone_number" name="phone_number"> @foreach($phone_numbers as $number) number == $keyword->sender_id ? 'selected': null }}> {{ $number->number }} @endforeach @endcan @else {{__('locale.labels.sender_id')}} @error('sender_id') {{ $message }} @enderror @endif @can('sms_quick_send') {{__('locale.keywords.reply_text_recipient')}} {{old('reply_text', $keyword->reply_text ?? null)}} @error('reply_text') {{ $message }} @enderror @endcan @can('voice_quick_send') {{__('locale.keywords.reply_voice_recipient')}} {{old('reply_voice', $keyword->reply_voice ?? null)}} @error('reply_voice') {{ $message }} @enderror @endcan @can('mms_quick_send') @if(isset($keyword->reply_mms)) {{ __('locale.labels.mms_file') }} {{$keyword->reply_mms}} @endif {{ __('locale.keywords.reply_mms_recipient') }} @error('reply_mms') {{ $message }} @enderror @endcan @can('create_keywords') {{__('locale.labels.renew')}} billing_cycle) && $keyword->billing_cycle == 'yearly' ? 'selected' : null)}}> {{__('locale.labels.yearly')}} billing_cycle) && $keyword->billing_cycle == 'daily' ? 'selected' : null)}}> {{__('locale.labels.daily')}} billing_cycle) && $keyword->billing_cycle == 'monthly' ? 'selected' : null)}}> {{__('locale.labels.monthly')}} billing_cycle) && $keyword->billing_cycle == 'custom' ? 'selected' : null)}}> {{__('locale.labels.custom')}} @error('billing_cycle') {{ $message }} @enderror {{__('locale.plans.frequency_amount')}} @error('frequency_amount') {{ $message }} @enderror {{__('locale.plans.frequency_unit')}} frequency_unit) && $keyword->frequency_unit == 'day' ? 'selected' : null)}}> {{__('locale.labels.day')}} frequency_unit) && $keyword->frequency_unit == 'week' ? 'selected' : null)}}> {{__('locale.labels.week')}} frequency_unit) && $keyword->frequency_unit == 'month' ? 'selected' : null)}}> {{__('locale.labels.month')}} frequency_unit) && $keyword->frequency_unit == 'year' ? 'selected' : null)}}> {{__('locale.labels.year')}} @error('frequency_unit') {{ $message }} @enderror @endcan firstOrFail()->id }}> {{ __('locale.buttons.save') }} @if( ! isset($keyword)) {{ __('locale.buttons.reset') }} @endif @endsection @section('vendor-script') @endsection @section('page-script') @endsection
{!! __('locale.description.keywords') !!} {{config('app.name')}}
{{ __('locale.labels.originator') }}
{{ $message }}
{{$keyword->reply_mms}}