@extends('layouts.app') @section('title', 'Configurações - Sistema de Gestão') @section('page-title', 'Configurações') @section('content')
@csrf @method('PUT')
Configurações Gerais
@if(isset($settings['general'])) @foreach($settings['general'] as $setting)
@if($setting['type'] === 'boolean')
@elseif($setting['options']) @elseif($setting['key'] === 'company_logo') @if($setting['value'])
Logo atual
@endif @else @endif @if($setting['description'] && $setting['type'] !== 'boolean')
{{ $setting['description'] }}
@endif
@endforeach @endif
Configurações Financeiras
@if(isset($settings['financial'])) @foreach($settings['financial'] as $setting)
@if($setting['type'] === 'boolean')
@else @endif @if($setting['description'] && $setting['type'] !== 'boolean')
{{ $setting['description'] }}
@endif
@endforeach @endif
Notificações
@if(isset($settings['notifications'])) @foreach($settings['notifications'] as $setting)
@if($setting['type'] === 'boolean')
@else @endif @if($setting['description'] && $setting['type'] !== 'boolean')
{{ $setting['description'] }}
@endif
@endforeach @endif
Relatórios
@if(isset($settings['reports'])) @foreach($settings['reports'] as $setting)
@if($setting['type'] === 'boolean')
@elseif($setting['options']) @else @endif @if($setting['description'] && $setting['type'] !== 'boolean')
{{ $setting['description'] }}
@endif
@endforeach @endif
Backup e Segurança
@if(isset($settings['backup'])) @foreach($settings['backup'] as $setting)
@if($setting['type'] === 'boolean')
@elseif($setting['options']) @else @endif @if($setting['description'] && $setting['type'] !== 'boolean')
{{ $setting['description'] }}
@endif
@endforeach @endif
Informações sobre Backup:
  • Backups automáticos são executados conforme a frequência configurada
  • Backups incluem todos os dados da empresa (exceto arquivos de upload)
  • Backups antigos são removidos automaticamente conforme retenção configurada
  • Recomendamos manter backups em local seguro e externo
Sistema
Informações do Sistema
Versão PHP: {{ PHP_VERSION }}
Versão Laravel: {{ app()->version() }}
Ambiente: {{ app()->environment() }}
Timezone: {{ config('app.timezone') }}
Estatísticas de Uso
Total de Usuários: {{ \App\Models\User::where('company_id', auth()->user()->company_id)->count() }}
Total de Clientes: {{ \App\Models\Customer::where('company_id', auth()->user()->company_id)->count() }}
Total de Fornecedores: {{ \App\Models\Supplier::where('company_id', auth()->user()->company_id)->count() }}
Total de Veículos: {{ \App\Models\Car::where('company_id', auth()->user()->company_id)->count() }}
Ações do Sistema:
Voltar ao Dashboard
@endsection @push('scripts') @endpush