@extends('admin.layouts.master') @section('title') {{ translate('App Setting') }} @endsection @php $admin = auth('admin')->user(); $permissionForGeneralSettings = $admin->role->permissions->firstWhere('module_name', 'General Settings'); $permissionForPreferences = $admin->role->permissions->firstWhere('module_name', 'Preferences'); $permissionForAnalytic = $admin->role->permissions->firstWhere('module_name', 'Analytic'); $permissionForSEOSettings= $admin->role->permissions->firstWhere('module_name', 'SEO Settings'); $permissionForLanguage = $admin->role->permissions->firstWhere('module_name', 'Language'); $permissionForCurrency = $admin->role->permissions->firstWhere('module_name', 'Currency'); $permissionForPaymentMethods = $admin->role->permissions->firstWhere('module_name', 'Payment Methods'); $permissionForSMTPSettings = $admin->role->permissions->firstWhere('module_name', 'SMTP Settings'); $permissionForEmailTemplates = $admin->role->permissions->firstWhere('module_name', 'Email Templates'); $permissionForThirdPartySettings = $admin->role->permissions->firstWhere('module_name', 'Third Party Settings'); $permissionForCookie = $admin->role->permissions->firstWhere('module_name', 'Cookie'); $permissionForSocialMediaLogin = $admin->role->permissions->firstWhere('module_name', 'Social Media Login'); $permissionForAbuseWordFiltering = $admin->role->permissions->firstWhere('module_name', 'Abuse Word Filtering'); $permissionForPushNotification = $admin->role->permissions->firstWhere('module_name', 'Push Notification'); $permissionForStaffs = $admin->role->permissions->firstWhere('module_name', 'Staffs'); $permissionForSystem = $admin->role->permissions->firstWhere('module_name', 'System'); $permissionForFooter = $admin->role->permissions->firstWhere('module_name', 'Footer'); $permissionForFooterSection = $admin->role->permissions->firstWhere('module_name', 'Footer Section'); @endphp @section('content')
{{--
App Setting
--}} {{-- --}}
{{ translate('App Setting') }}

{{ translate('General Settings') }}

@csrf
@error('system_name') {{ $message }} @enderror
@if($general_setting->system_logo)
Banner
@endif {{-- --}}
@error('date_format') {{ $message }} @enderror
{{--
@error('system_timezone') {{ $message }} @enderror
--}}
@if($general_setting->admin_login_page_background)
Banner
@endif
@error('member_code_prefix') {{ $message }} @enderror
@error('admin_page_title') {{ $message }} @enderror
@error('admin_page_paragraph') {{ $message }} @enderror
@error('system_name') {{ $message }} @enderror
{{--
@error('member_profile_picture_privacy') {{ $message }} @enderror
@error('member_gallery_image_privacy') {{ $message }} @enderror
--}}
@if($permissionForGeneralSettings !== null && $permissionForGeneralSettings->can_edit == '1') @endif
@php // dd($activeTab = session('active_tab', 'defaultTab')); @endphp {{-- Edit Language Modal --}} @endsection @section('scripts') @endsection @section('styles') {{-- --}} {{-- Edit Footer Section Modal --}} @endsection