@extends('layouts.master') @section('title') @lang('translation.general-settings') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') @lang('translation.general-settings') @endslot @slot('title') @lang('translation.general-settings') @endslot @endcomponent @include('partials.session')
@csrf
@csrf
@php $assets = \App\Models\DigitalAsset::all(); @endphp
Get free api key from here
@if(auth()->user()->roles[0]->name == \App\Models\User::SuperAdmin)
@endif
Chat Background
@can('Edit General Settings')
@endcan
@csrf @can('Update Logo In General Settings')
@endcan @can('Update Login Image In General Settings')
*For best result upload PNG image with resolution: 462 x 540px or aspect ratio: 77:90
@endcan @can('Update Store Banner Image In General Settings')
@endcan @can('Update Cash Image In General Settings')
@endcan @can('Update Dashboard Image In General Settings')
@endcan @canany(['Update Logo In General Settings', 'Update Login Image In General Settings', 'Update Store Banner Image In General Settings', 'Update Cash Image In General Settings'])
@endcan
@can('View States')
@csrf
Manage States
Add States below to block thier access @php $states = \App\Models\State::all(); $blockedStates = DB::table('blocked_states')->pluck('state')->toArray(); @endphp
@canany(['Add States', 'Edit States', 'Delete States'])
@endcan
@endcan
@csrf
@php $key = App\Models\GeneralSettings::PURCHASE_SOUND; $settings = App\Models\GeneralSettings::where('key', $key)->first(); // If the sound is set in the settings table, use it, otherwise use the default sound $sound = $settings ? asset($settings->value) : asset('default_assets/sounds/coin.mp3'); @endphp
@csrf
@endsection @section('script') @endsection