@extends('layouts/contentLayoutMaster') @section('title', __('locale.phone_numbers.update_number')) @section('vendor-style') @endsection @section('content') {{ __('locale.phone_numbers.update_number') }} {!! __('locale.description.phone_number') !!} {{ method_field('PUT') }} @csrf {{ __('locale.labels.number') }} @error('number') {{ $message }} @enderror {{ __('locale.labels.status') }} status) && $number->status == 'available' ? 'selected' : null)}}>{{ __('locale.labels.available') }} status) && $number->status == 'assigned' ? 'selected' : null)}}>{{ __('locale.labels.assigned')}} @error('status') {{ $message }} @enderror {{ __('locale.labels.capabilities') }} {{ __('locale.labels.sms') }} {{ __('locale.labels.voice')}} {{ __('locale.labels.mms')}} {{ __('locale.labels.whatsapp')}} @error('capabilities') {{ $message }} @enderror {{ __('locale.plans.price') }} @error('price') {{ $message }} @enderror {{__('locale.plans.billing_cycle')}} @foreach (\App\Enums\BillingCycleEnum::getAllValues() as $cycle) billing_cycle == $cycle ? 'selected': null }}> {{__('locale.labels.'.$cycle)}} @endforeach @error('billing_cycle') {{ $message }} @enderror {{__('locale.plans.frequency_amount')}} @error('frequency_amount') {{ $message }} @enderror {{__('locale.plans.frequency_unit')}} frequency_unit == 'day' ? 'selected': null }}> {{__('locale.labels.day')}} frequency_unit == 'week' ? 'selected': null }}> {{__('locale.labels.week')}} frequency_unit == 'month' ? 'selected': null }}> {{__('locale.labels.month')}} frequency_unit == 'year' ? 'selected': null }}> {{__('locale.labels.year')}} @error('frequency_unit') {{ $message }} @enderror {{__('locale.labels.select_customer')}} @foreach($customers as $customer) user_id) && $number->user_id == $customer->id ? 'selected' : null }}>{{$customer->displayName()}} @endforeach @error('user_id') {{ $message }} @enderror {{__('locale.labels.currency')}} @foreach($currencies as $currency) currency_id) && $number->currency_id == $currency->id ? 'selected' : null }} value="{{$currency->id}}"> {{ $currency->name }} ({{$currency->code}}) @endforeach @error('currency_id') {{ $message }} @enderror {{ __('locale.buttons.save') }} @endsection @section('vendor-script') @endsection @section('page-script') @endsection
{!! __('locale.description.phone_number') !!}
{{ $message }}