@extends('layouts/contentLayoutMaster') @if(isset($keyword)) @section('title', __('locale.keywords.update_keyword')) @else @section('title', __('locale.keywords.create_new_keyword')) @endif @section('vendor-style') @endsection @section('content') @if(isset($keyword)) {{ __('locale.keywords.update_keyword') }} @else {{ __('locale.keywords.create_new_keyword') }} @endif {!! __('locale.description.keywords') !!} {{config('app.name')}} @if(isset($keyword)) {{ method_field('PUT') }} @endif @csrf {{ __('locale.labels.title') }} @error('title') {{ $message }} @enderror {{ __('locale.labels.keyword') }} @error('keyword_name') {{ $message }} @enderror {{ __('locale.labels.sender_id') }} @error('sender_id') {{ $message }} @enderror {{__('locale.keywords.reply_text_recipient')}} {{old('reply_text', $keyword->reply_text ?? null)}} @error('reply_text') {{ $message }} @enderror {{__('locale.keywords.reply_voice_recipient')}} {{old('reply_voice', $keyword->reply_voice ?? null)}} @error('reply_voice') {{ $message }} @enderror @if(isset($keyword->reply_mms)) {{ __('locale.labels.mms_file') }} {{$keyword->reply_mms}} @endif {{ __('locale.keywords.reply_mms_recipient') }} @error('reply_mms') {{ $message }} @enderror {{ __('locale.labels.status') }} status) && $keyword->status == 'available' ? 'selected' : null)}}>{{ __('locale.labels.available') }} status) && $keyword->status == 'assigned' ? 'selected' : null)}}>{{ __('locale.labels.assigned')}} @error('status') {{ $message }} @enderror {{__('locale.labels.select_customer')}} user_id) && $keyword->user_id == '0' ? 'selected' : null)}}>{{__('locale.labels.none')}} @foreach($customers as $customer) user_id) && $keyword->user_id == $customer->id ? 'selected' : null)}}>{{$customer->displayName()}} @endforeach @error('user_id') {{ $message }} @enderror {{ __('locale.plans.price') }} @error('price') {{ $message }} @enderror {{__('locale.labels.currency')}} @foreach($currencies as $currency) currency_id) && $keyword->currency_id == $currency->id ? 'selected' : null) }} value="{{$currency->id}}"> {{ $currency->name }} ({{$currency->code}}) @endforeach @error('currency_id') {{ $message }} @enderror {{__('locale.plans.billing_cycle')}} @foreach (\App\Enums\BillingCycleEnum::getAllValues() as $cycle) billing_cycle) && $keyword->billing_cycle == $cycle ? 'selected' : 'monthly')}}> {{__('locale.labels.'.$cycle)}} @endforeach @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 {{ __('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')}}
{{ $message }}
{{$keyword->reply_mms}}