Перевод на доменную архитектуру

This commit is contained in:
brusnitsyn
2026-04-26 23:37:50 +09:00
parent 75ca01ffd8
commit f107ebd167
70 changed files with 4656 additions and 2070 deletions

View File

@@ -128,7 +128,7 @@ return [
'enclosure' => '"',
'escape_character' => '\\',
'contiguous' => false,
'input_encoding' => Csv::GUESS_ENCODING,
'input_encoding' => class_exists(Csv::class) ? Csv::GUESS_ENCODING : 'UTF-8',
],
/*
@@ -178,21 +178,21 @@ return [
|
*/
'extension_detector' => [
'xlsx' => Excel::XLSX,
'xlsm' => Excel::XLSX,
'xltx' => Excel::XLSX,
'xltm' => Excel::XLSX,
'xls' => Excel::XLS,
'xlt' => Excel::XLS,
'ods' => Excel::ODS,
'ots' => Excel::ODS,
'slk' => Excel::SLK,
'xml' => Excel::XML,
'gnumeric' => Excel::GNUMERIC,
'htm' => Excel::HTML,
'html' => Excel::HTML,
'csv' => Excel::CSV,
'tsv' => Excel::TSV,
'xlsx' => 'Xlsx',
'xlsm' => 'Xlsx',
'xltx' => 'Xlsx',
'xltm' => 'Xlsx',
'xls' => 'Xls',
'xlt' => 'Xls',
'ods' => 'Ods',
'ots' => 'Ods',
'slk' => 'Slk',
'xml' => 'Xml',
'gnumeric' => 'Gnumeric',
'htm' => 'Html',
'html' => 'Html',
'csv' => 'Csv',
'tsv' => 'Csv',
/*
|--------------------------------------------------------------------------
@@ -203,7 +203,7 @@ return [
| Available options: Excel::MPDF | Excel::TCPDF | Excel::DOMPDF
|
*/
'pdf' => Excel::DOMPDF,
'pdf' => 'Dompdf',
],
/*

View File

@@ -73,6 +73,14 @@ return [
'replace_placeholders' => true,
],
'reports_audit' => [
'driver' => 'daily',
'path' => storage_path('logs/reports_audit.log'),
'level' => env('LOG_LEVEL', 'info'),
'days' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),

10
config/reports.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
return [
'use_new_arch' => [
'report_types' => array_values(array_filter(
array_map('trim', explode(',', (string) env('REPORTS_USE_NEW_ARCH_TYPES', '')))
)),
'compare_before_cutover' => (bool) env('REPORTS_COMPARE_BEFORE_CUTOVER', true),
],
];