@extends('layouts.back-end.app') @section('title', \App\CPU\translate('general_settings')) @push('css_or_js') @endpush @section('content')

{{\App\CPU\translate('Business_Setup')}}

@include('admin-views.business-settings.business-setup-inline-menu')
@php($config=\App\CPU\Helpers::get_business_settings('maintenance_mode'))
{{\App\CPU\translate('maintenance_mode')}}

*{{\App\CPU\translate('By_turning_on_maintaince_mode,_all_your_app_and_customer_side_website_will_be_off._Only_admin_panel_and_seller_panel_will_be_functional')}}

@csrf
{{\App\CPU\translate('Company_Information')}}
@php($companyName=\App\Model\BusinessSetting::where('type','company_name')->first())
@php($company_phone=\App\Model\BusinessSetting::where('type','company_phone')->first())
@php($company_email=\App\Model\BusinessSetting::where('type','company_email')->first())
@php($shop_address=\App\CPU\Helpers::get_business_settings('shop_address'))
@php($default_location=\App\CPU\Helpers::get_business_settings('default_location'))
@php($tz=\App\Model\BusinessSetting::where('type','timezone')->first()) @php($tz=$tz?$tz->value:0)
@php($cc=\App\Model\BusinessSetting::where('type','country_code')->first()) @php($cc=$cc?$cc->value:0)
{{\App\CPU\translate('business_Information')}}
@php($config=\App\CPU\Helpers::get_business_settings('currency_symbol_position'))
@php($fpv=\App\CPU\Helpers::get_business_settings('forgot_password_verification'))
@php($pv=\App\CPU\Helpers::get_business_settings('phone_verification'))
@php($ev=\App\CPU\Helpers::get_business_settings('email_verification'))
@php($order_verification=\App\CPU\Helpers::get_business_settings('order_verification'))
@php($company_copyright_text=\App\Model\BusinessSetting::where('type','company_copyright_text')->first())
@php($pagination_limit=\App\CPU\Helpers::get_business_settings('pagination_limit'))
@php($decimal_point=\App\Model\BusinessSetting::where('type','decimal_point_settings')->first())
@php($pv=\App\CPU\Helpers::get_business_settings('alert_on_order'))
{{\App\CPU\translate('Website_Color')}}
@php($colors=\App\Model\BusinessSetting::where(['type'=>'colors'])->first()) @if(isset($colors)) @php($data=json_decode($colors['value'])) @else @php(\Illuminate\Support\Facades\DB::table('business_settings')->insert([ 'type'=>'colors', 'value'=>json_encode( [ 'primary'=>null, 'secondary'=>null, ]) ])) @php($colors=\App\Model\BusinessSetting::where(['type'=>'colors'])->first()) @php($data=json_decode($colors['value'])) @endif
{{ strtoupper($data->primary) }}
{{ strtoupper($data->secondary) }}
@if(theme_root_path() == 'theme_aster')
#CFDFFB
@endif
{{\App\CPU\translate('Website Header Logo')}}
( 250x60 px )
{{\App\CPU\translate('Website_Footer_Logo')}}
( {{\App\CPU\translate('250x60 px')}})
{{\App\CPU\translate('Website Favicon')}}
( {{\App\CPU\translate('ratio 1:1 ')}})
{{\App\CPU\translate('Loading Gif')}}
( {{\App\CPU\translate('ratio 1:1 ')}} )
{{\App\CPU\translate('App_Logo')}}
( 100X60 px )
@endsection @push('script') @endpush