@extends('voyager::master') @section('page_title', __('voyager::generic.viewing').' '.__('voyager::generic.settings')) @section('css') @stop @section('page_header')

{{ __('voyager::generic.settings') }}

@stop @section('content')
@if(isset($storageErrorMessage) && $storageErrorMessage !== false)
{{__("Warning!")}} {{__("The last storage settings you provided are invalid. Storage driver will reverted to local storage.")}}
{{__("Last error received:")}}
{{$storageErrorMessage}}
@endif @if(isset($emailsErrorMessage) && $emailsErrorMessage !== false)
{{__("Warning!")}} {{__("The email driver settings you provided are invalid. Email driver will reverted to logs.")}}
{{__("Last error received:")}}
{{$emailsErrorMessage}}
@endif
{{ method_field("PUT") }} {{ csrf_field() }}

{{__('Product license code')}}

{{__('Your product license key. Can be taken out of your')}} Codecanyon {{__('downloads')}} {{__('page')}}.
{{__('Few general notes about generating themes.')}}
  • {{__('The themes are generated on a remote server. Timings may vary but it might take between 20-40s for a run.')}}
  • {{__('Regular license holders can generate 5 themes per day.')}}
  • {{__('If')}} {{__('zip')}} {{__('extension is available on the server, the theme will be updated automatically.')}}
  • {{__("If the extension is not available, you will need to upload the archive you'll be getting onto the following directory :")}} public/css/theme.
  • {{__('When updating your site, remember to backup your')}} public/css/theme {{__('folder and restore it after the update.')}}

{{__('License code')}}

{{__('Your product license key. Can be taken out of your')}} Codecanyon {{__('downloads')}} {{__('page')}}.

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

{{__('Theme primary color hex code. EG: #cb0c9f')}}

{{__('Gradient color start from')}}

{{__("Theme's primary gradient - start from, color hex code. EG: #7928CA")}}

{{__('Gradient color ends on')}}

{{__("Theme's primary gradient - ends on, color hex code. EG: #FF0080")}}

{{__('Include RTL versions')}}

{{__('Choose if RTL version of the theme should be generated or not. If enabled, theme generation time will increase.')}}
@foreach($settings as $group => $group_settings)
@if($group == 'Emails')
{{__('You can use any SMTP you have access to or mailgun API. Full info can be found over')}} {{__('the documentation')}} .
@endif @if($group == 'Social login') @endif
@if($group == 'ReCaptcha')
{{__('You can get your API Keys from')}} {{__('this link')}}. {{__('More info at')}} {{__('the documentation')}} .
@endif @if($group == 'Payments')
@if(!file_exists(storage_path('logs/cronjobs.log')))
{{__("The payment system requires cronjobs so you can easily setup them by using the following line")}}:
  • * * * * * cd {{base_path()}} && php artisan schedule:run >> /dev/null 2>&1
{{__('Before setting up the payment processors, please also give the')}} {{__("docs section")}} {{__('a read')}}.
@endif
{{__('In order to be able to receive payment updates from :provider, please use these webhooks endpoints', ['provider' => 'Paypal'])}}:
  • {{route('paypal.payment.update')}}
{{__("In order to be able to receive payment updates from :provider, please use these webhooks endpoints", ['provider' => 'Stripe'])}}:
  • {{route('stripe.payment.update')}}
{{__("In order to be able to receive payment updates from :provider, please use these webhooks endpoints", ['provider' => 'Coinbase'])}}:
  • {{route('coinbase.payment.update')}}
{{__("In order to use :provider as payment provider you'll need the following endpoints", ['provider' => 'CCBill'])}}:
  • {{__('Webhook URL')}}: {{route('ccBill.payment.update')}}
  • {{__('Approval & Denial URL')}}: {{route('payment.checkCCBillPaymentStatus')}}
{{__("In order to use :provider as payment provider you'll need the following endpoints", ['provider' => 'Paystack'])}}:
  • {{__('Webhook URL')}}: {{route('paystack.payment.update')}}
  • {{__('Callback URL')}}: {{route('payment.checkPaystackPaymentStatus')}}

{{__('Payment processor')}}

@endif @foreach($group_settings as $setting)
key}}>

{{ $setting->display_name }} @if(config('voyager.show_dev_tips'))getSetting('{{ $setting->key }}')@endif

key}}>
@if ($setting->type == "text") @elseif($setting->type == "text_area") @elseif($setting->type == "rich_text_box") @elseif($setting->type == "code_editor")
{{ $setting->value ?? '' }}
@elseif($setting->type == "image" || $setting->type == "file") @if(isset( $setting->value ) && !empty( $setting->value ) && Storage::disk(config('voyager.storage.disk'))->exists($setting->value))
@elseif($setting->type == "file" && isset( $setting->value )) @if(json_decode($setting->value) !== null) @foreach(json_decode($setting->value) as $file) @endforeach @endif @endif @elseif($setting->type == "select_dropdown") @elseif($setting->type == "radio_btn")
    @if(isset($options->options)) @foreach($options->options as $index => $option)
  • @endforeach @endif
@elseif($setting->type == "checkbox") @if (isset($options->on) && isset($options->off)) @else @endif @endif
@if($hasDescription)
key}}> {{$settingDetails->description}}
@endif @if(!$loop->last)
key}}> @endif @endforeach
@endforeach
@stop @section('javascript')
{{ csrf_field() }}
@stop