{{-- @extends('layouts.admin') @section('page-title') {{ __('Settings') }} @endsection @section('breadcrumb') @endsection --}} @extends('super_admin.layouts.admin') @section('page-title') {{ __('Settings') }} @endsection @section('breadcrumb') @endsection @php $lang = \App\Models\Utility::getValByName('default_language'); // $logo=asset(Storage::url('uploads/logo/')); $logo = \App\Models\Utility::get_file('uploads/logo'); $logo_light = \App\Models\Utility::getValByName('logo_light'); $logo_dark = \App\Models\Utility::getValByName('logo_dark'); $company_favicon = \App\Models\Utility::getValByName('company_favicon'); $setting = \App\Models\Utility::colorset(); $mode_setting = \App\Models\Utility::mode_layout(); $color = !empty($setting['color']) ? $setting['color'] : 'theme-3'; $SITE_RTL = isset($setting['SITE_RTL']) ? $setting['SITE_RTL'] : 'off'; @endphp {{-- Storage setting --}} @php $file_type = config('files_types'); $setting = App\Models\Utility::settings(); $local_storage_validation = $setting['local_storage_validation']; $local_storage_validations = explode(',', $local_storage_validation); $s3_storage_validation = $setting['s3_storage_validation']; $s3_storage_validations = explode(',', $s3_storage_validation); $wasabi_storage_validation = $setting['wasabi_storage_validation']; $wasabi_storage_validations = explode(',', $wasabi_storage_validation); @endphp {{-- end Storage setting --}} @push('css-page') @if ($color == 'theme-3') @endif @if ($color == 'theme-2') @endif @if ($color == 'theme-4') @endif @if ($color == 'theme-1') @endif @endpush @push('script-page') @endpush @section('breadcrumb') @endsection @section('content')
{{ __('Brand Settings') }}
{{-- {{ Form::model($settings, ['url' => 'systems', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} --}}
@csrf
{{ __('Logo dark') }}
@error('logo_dark')
@enderror
{{ __('Logo Light') }}
@error('logo_light')
@enderror
{{ __('Favicon') }}
@error('favicon')
@enderror
@error('title_text') {{ $message }} @enderror
@error('footer_text') {{ $message }} @enderror

{{ __('Theme Customizer') }}

{{ __('Primary color settings') }}

@foreach (['theme-1', 'theme-2', 'theme-3', 'theme-4'] as $color) @endforeach
{{ __('Sidebar settings') }}

{{ __('Layout settings') }}

{{--
{{ __('Email Settings') }}
{{ Form::open(['route' => 'email.settings', 'method' => 'post']) }} @csrf
{{ Form::label('mail_driver', __('Mail Driver'), ['class' => 'form-label']) }} {{ Form::text('mail_driver', env('MAIL_DRIVER'), ['class' => 'form-control', 'placeholder' => __('Enter Mail Driver')]) }} @error('mail_driver') {{ $message }} @enderror
{{ Form::label('mail_host', __('Mail Host'), ['class' => 'form-label']) }} {{ Form::text('mail_host', env('MAIL_HOST'), ['class' => 'form-control ', 'placeholder' => __('Enter Mail Host')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('mail_port', __('Mail Port'), ['class' => 'form-label']) }} {{ Form::text('mail_port', env('MAIL_PORT'), ['class' => 'form-control', 'placeholder' => __('Enter Mail Port')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::label('mail_username', __('Mail Username'), ['class' => 'form-label']) }} {{ Form::text('mail_username', env('MAIL_USERNAME'), ['class' => 'form-control', 'placeholder' => __('Enter Mail Username')]) }} @error('mail_username') {{ $message }} @enderror
{{ Form::label('mail_password', __('Mail Password'), ['class' => 'form-label']) }} {{ Form::text('mail_password', env('MAIL_PASSWORD'), ['class' => 'form-control', 'placeholder' => __('Enter Mail Password')]) }} @error('mail_password') {{ $message }} @enderror
{{ Form::label('mail_encryption', __('Mail Encryption'), ['class' => 'form-label']) }} {{ Form::text('mail_encryption', env('MAIL_ENCRYPTION'), ['class' => 'form-control', 'placeholder' => __('Enter Mail Encryption')]) }} @error('mail_encryption') {{ $message }} @enderror
{{ Form::label('mail_from_address', __('Mail From Address'), ['class' => 'form-label']) }} {{ Form::text('mail_from_address', env('MAIL_FROM_ADDRESS'), ['class' => 'form-control', 'placeholder' => __('Enter Mail From Address')]) }} @error('mail_from_address') {{ $message }} @enderror
{{ Form::label('mail_from_name', __('Mail From Name'), ['class' => 'form-label']) }} {{ Form::text('mail_from_name', env('MAIL_FROM_NAME'), ['class' => 'form-control', 'placeholder' => __('Enter Mail From Name')]) }} @error('mail_from_name') {{ $message }} @enderror
{{ Form::close() }}
--}}
{{ __('Email Settings') }}
{{-- --}} @csrf
@error('mail_driver') {{ $message }} @enderror
@error('mail_host') {{ $message }} @enderror
@error('mail_port') {{ $message }} @enderror
@error('mail_username') {{ $message }} @enderror
@error('mail_password') {{ $message }} @enderror
@error('mail_encryption') {{ $message }} @enderror
@error('mail_from_address') {{ $message }} @enderror
@error('mail_from_name') {{ $message }} @enderror
{{--
--}}
{{ __('Payment Settings') }}
{{ __('These details will be used to collect subscription plan payments.Each subscription plan will have a payment button based on the below configuration.') }}
{{-- --}} @csrf
@error('currency_symbol') {{ $message }} @enderror
{{ __('Note: Add currency code as per three-letter ISO code.') }}
{{ __('You can find out how to do that here.') }}

@error('currency') {{ $message }} @enderror



@if ($errors->has('mercado_secret_key')) {{ $errors->first('mercado_access_token') }} @endif



{{--
{{ __('Pusher Settings') }}
{{ Form::model($settings, ['route' => 'pusher.setting', 'method' => 'post']) }} @csrf
{{ Form::label('pusher_app_id', __('Pusher App Id'), ['class' => 'form-label']) }} {{ Form::text('pusher_app_id', env('PUSHER_APP_ID'), ['class' => 'form-control font-style']) }} @error('pusher_app_id') {{ $message }} @enderror
{{ Form::label('pusher_app_key', __('Pusher App Key'), ['class' => 'form-label']) }} {{ Form::text('pusher_app_key', env('PUSHER_APP_KEY'), ['class' => 'form-control font-style']) }} @error('pusher_app_key') {{ $message }} @enderror
{{ Form::label('pusher_app_secret', __('Pusher App Secret'), ['class' => 'form-label']) }} {{ Form::text('pusher_app_secret', env('PUSHER_APP_SECRET'), ['class' => 'form-control font-style']) }} @error('pusher_app_secret') {{ $message }} @enderror
{{ Form::label('pusher_app_cluster', __('Pusher App Cluster'), ['class' => 'form-label']) }} {{ Form::text('pusher_app_cluster', env('PUSHER_APP_CLUSTER'), ['class' => 'form-control font-style']) }} @error('pusher_app_cluster') {{ $message }} @enderror
{{ Form::close() }}
--}}
{{ __('Pusher Settings') }}
{{-- --}} @csrf
@error('pusher_app_id') {{ $message }} @enderror
@error('pusher_app_key') {{ $message }} @enderror
@error('pusher_app_secret') {{ $message }} @enderror
@error('pusher_app_cluster') {{ $message }} @enderror
{{--
@csrf
{{ Form::close() }}
--}}
--}} @csrf
@error('google_recaptcha_key')
{{ $message }}
@enderror
@error('google_recaptcha_secret')
{{ $message }}
@enderror
{{-- --}} @csrf
{{ __('Storage Settings') }}
{{--
{{ Form::open(['route' => 'storage.setting.store', 'enctype' => 'multipart/form-data']) }}
{{ __('Storage Settings') }}

{{ __('Local Settings') }}

{{ Form::label('local_storage_validation', __('Only Upload Files'), ['class' => ' form-label']) }}
{{ Form::label('s3_storage_validation', __('Only Upload Files'), ['class' => ' form-label']) }}
{{ Form::label('wasabi_storage_validation', __('Only Upload Files'), ['class' => 'form-label']) }}
{{ Form::close() }}
--}}
@endsection