@extends('layout.app') @section('title','Settings') @section('settings','active') @section('css') @endsection @section('content')

{{__('messages.settings.company settings')}}

{{@csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('location')) {{ $errors->first('location') }} @endif

{{__('messages.settings.timezone_message')}}

@if ($errors->has('timezone')) {{ $errors->first('timezone') }} @endif
@if($settings->logo && Storage::disk('public')->exists($settings->logo))
@endif
{{__('messages.settings.logo')}}
@if ($errors->has('logo')) {{ $errors->first('logo') }} @endif
@if($settings->logo)
{{__('messages.common.delete')}}
@endif

{{__('messages.settings.change default language')}}

{{@csrf_field()}}
@if ($errors->has('language')) {{ $errors->first('language') }} @endif

{{__('messages.settings.notification')}}

{{__('messages.settings.Preview')}}:
{{$settings->display_notification ? $settings->display_notification : 'Hello'}}
{{@csrf_field()}}
@if ($errors->has('notification_text')) {{ $errors->first('notification_text') }} @endif
@if ($errors->has('font_size')) {{ $errors->first('font_size') }} @endif
@if ($errors->has('color')) {{ $errors->first('color') }} @endif
@if ($errors->has('display_voice')) {{ $errors->first('display_voice') }} @endif

{{__('messages.settings.display voice settings')}}

@if ($errors->has('token_translation')) {{ $errors->first('token_translation') }} @endif
@if ($errors->has('please_proceed_to_translation')) {{ $errors->first('please_proceed_to_translation') }} @endif
@endsection @section('js') @endsection