@extends('layouts.adminapp') @section('title') {{ $Group }} {{ __('lng.Settings') }} @endsection @section('content')

{{ $Group }} {{ __('lng.Settings') }}

@foreach ($Settings as $Setting) @switch($Setting->group) {{-- General settings --}} @case('General') @if ($Setting->title == 'Paginate')
{{ $Setting->title }}
@elseif($Setting->title == 'financial_year')
{{ __('lng.FinancialYear') }} ({{ $Setting->value }})
@elseif($Setting->title == 'Subscription_month')
@php $Month = date('Y-m', strtotime($Setting->value)); @endphp {{ __('lng.SubscriptionMonth') }} ({{ $Month }})
@elseif($Setting->title == 'student_batch_year')
{{ __('lng.StudentBatchYear') }} ({{ $Setting->value }})
@else
@switch($Setting->title) @case('IsShowAbout') Show About @break @case('IsShowProduct') Show Product @break @case('IsShowSplash') Show Splash @break @case('IsShowService') Show Service @break @endswitch
@endif @break {{-- General settings close --}} {{-- Product settings --}} @case('Product')
@switch($Setting->title) @case('Product_IsShowActualPrice') Show Product MRP @break @case('Product_IsShowAmount') Show Product Amount @break @case('IsShowAbout') Show About @break @case('Product_IsShowOffer') Show Product Offer @break @endswitch
@break {{-- Product settings close --}} {{-- Product service --}} @case('Service')
@switch($Setting->title) @case('Service_IsShowOffer') Show Product Offer @break @case('Service_IsShowActualPric') Show Product Price @break @case('IsShowAbout') Show About @break @case('Service_IsShowAmount') Show Product Amount @break @default @endswitch
@break {{-- Product service close --}} {{-- Product loan --}} @case('Loan') @if ($Setting->title == 'IsInterestFreeLoanRegister')
{{ __('lng.InterestFreeLoanRegister') }}
@elseif ($Setting->title == 'RegisterFee')
{{ $Setting->title }}
@elseif($Setting->title == 'RenewalFee')
{{ $Setting->title }}
@endif @break {{-- Product loan close --}} {{-- Product appservice --}} @case('Appservice')
@switch($Setting->title) @case('IsShowSalahTime') {{ __('lng.SalahTime') }} @break @endswitch
value) checked @endif> {{ __('lng.ActivateSalahTime') }}
@break {{-- Product app service close --}} {{-- Product house --}} @case('House')
@switch($Setting->title) @case('reference') @break @case('author_relation') @break @endswitch
@switch($Setting->title) @case('reference') {{ __('lng.Reference') }} @break @case('author_relation') {{ __('lng.AuthorRelation') }} @break @endswitch
value) checked @endif> @switch($Setting->title) @case('reference') {{ __('lng.ActivateReference') }} @break @case('author_relation') {{ __('lng.ActivateAuthorRelation') }} @break @endswitch
@break {{-- Product house close --}} {{-- Product payment --}} @case('Payment')
@switch($Setting->title) @case('area_ward') @break @case('relative_name') @break @endswitch
@switch($Setting->title) @case('area_ward') {{ __('lng.Area/Ward') }} - ( {{ __('lng.Receipt') }} ) @break @case('relative_name') {{ __('lng.RelativeName') }} - ( {{ __('lng.Receipt') }} ) @break @endswitch
value) checked @endif> @switch($Setting->title) @case('area_ward') {{ __('lng.ActivateAreaWard') }} @break @case('relative_name') {{ __('lng.ActivateRelativeName') }} @break @endswitch
{{--
@switch($Setting->title) @case('area_ward') {{ __('lng.Area/Ward') }} - ( {{ __('lng.Receipt') }} ) @break @case('relative_name') {{ __('lng.RelativeName') }} - ( {{ __('lng.Receipt') }} ) @break @endswitch
--}} @break {{-- Product payment close --}} @endswitch @endforeach
@endsection