{{ __('whatsapp.gateway.header-edit') }}
{!! Form::model($data, ['method' => 'PATCH', 'route' => ['whatsappgateway.update_number', $data->slug]]) !!}
{!! Form::text('country_code', null, [ 'placeholder' => __('whatsapp.gateway.ph.country_code'), 'class' => 'form-control', ]) !!} @if ($errors->has('country_code')) {{ $errors->first('country_code') }} @endif
{!! trans('whatsapp.gateway.day') !!}
@if ($errors->has('remaining_day')) {{ $errors->first('remaining_day') }} @endif
{!! trans('whatsapp.gateway.schedule-every') !!} {!! trans('whatsapp.gateway.schedule-time') !!}
@if ($errors->has('schedule-time')) {{ $errors->first('schedule-time') }} @endif
@if ($errors->has('default_number')) {{ $errors->first('default_number') }} @endif
{!! Form::text('description', null, [ 'placeholder' => __('whatsapp.gateway.ph.description'), 'class' => 'form-control', ]) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::close() !!}
@section('custom_scripts') @if ($data->disabled) @else @endif @endsection