@extends('settings.edit') @section('title') {{ __('messages.general') }} @endsection @section('section')
{{ Form::open(['route' => ['settings.update'], 'method' => 'post', 'files' => true, 'id' => 'createHospitalSetting']) }}
{{ Form::label('app_name', __('messages.setting.app_name').':', ['class' => 'form-label']) }} {{ Form::text('app_name', $settings['app_name'], ['class' => 'form-control', 'required']) }}
{{ Form::label('company_name', __('messages.setting.company_name').':', ['class' => 'form-label']) }} {{ Form::text('company_name', $settings['company_name'], ['class' => 'form-control', 'required']) }}
{{ Form::label('hospital_email', __('messages.setting.hospital_email').':', ['class' => 'form-label']) }} {{ Form::email('hospital_email', $settings['hospital_email'], ['class' => 'form-control', 'required']) }}
{{ Form::label('hospital_phone', __('messages.setting.hospital_phone').':', ['class' => 'form-label']) }}
{{ Form::tel('hospital_phone', $settings['hospital_phone'], ['class' => 'form-control','id' => 'phoneNumber', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")','required']) }} {!! Form::hidden('prefix_code',null,['class'=>'prefix_code']) !!} {{ Form::hidden('country_iso', null, ['class' => 'country_iso']) }} ✓   {{__('messages.valid')}}
{{ Form::label('hospital_from_day', __('messages.setting.hospital_from_day').':', ['class' => 'form-label']) }} {{ Form::text('hospital_from_day', $settings['hospital_from_day'], ['class' => 'form-control', 'required', 'onkeypress' => 'return avoidSpace(event);'])}}
{{ Form::label('hospital_from_time', __('messages.setting.hospital_from_time').':', ['class' => 'form-label']) }} {{ Form::text('hospital_from_time', $settings['hospital_from_time'], ['class' => 'form-control', 'required', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('hospital_address', __('messages.setting.address').':', ['class' => 'form-label']) }} {{ Form::text('hospital_address', $settings['hospital_address'], ['class' => 'form-control', 'required', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('current_currency', __('messages.setting.currency').':', ['class' => 'form-label']) }}
{{ Form::label('about_us', __('messages.about_us').':', ['class' => 'form-label']) }} {{ Form::textarea('about_us', $settings['about_us'], ['class' => 'form-control', 'required', 'rows' => 5, 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('app_logo', __('messages.setting.app_logo').(':'), ['class' => 'form-label']) }}
{{ Form::label('favicon', __('messages.setting.favicon').(':'), ['class' => 'form-label']) }}

{{ __('messages.setting.social_details') }}
{{ Form::label('facebook_url', __('messages.facebook_url').':', ['class' => 'form-label']) }} {{ Form::text('facebook_url', $settings['facebook_url'], ['class' => 'form-control','id'=>'generalFacebookUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('twitter_url', __('messages.twitter_url').':', ['class' => 'form-label']) }} {{ Form::text('twitter_url', $settings['twitter_url'], ['class' => 'form-control','id'=>'generalTwitterUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('instagram_url', __('messages.instagram_url').':', ['class' => 'form-label']) }} {{ Form::text('instagram_url', $settings['instagram_url'], ['class' => 'form-control', 'id'=>'generalInstagramUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('linkedIn_url', __('messages.linkedIn_url').':', ['class' => 'form-label']) }} {{ Form::text('linkedIn_url', $settings['linkedIn_url'], ['class' => 'form-control','id'=>'generalLinkedInUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ __('messages.setting.enable_google_reCAPTCHA') }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary']) }} {{ Form::reset(__('messages.common.cancel'), ['class' => 'btn btn-secondary ms-2']) }}
{{ Form::close() }}
@endsection