refactor - moved exports to report service
This commit is contained in:
parent
eb99cabec9
commit
827e3c3ce7
@ -6,7 +6,7 @@
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\StudyReport;
|
||||
use App\Services\Export\Exporters;
|
||||
use App\Services\Report\Export\Exporters;
|
||||
use App\Services\Report\ReportStorage;
|
||||
|
||||
final class ReportDownloadController extends Controller
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Export;
|
||||
namespace App\Services\Report\Export;
|
||||
|
||||
use App\Models\Study;
|
||||
use App\Models\StudyReport;
|
@ -1,14 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Export;
|
||||
namespace App\Services\Report\Export;
|
||||
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Models\Study;
|
||||
use App\Models\StudyReport;
|
||||
use app\Services\Export\Formats\HtmlExport;
|
||||
use app\Services\Export\Formats\PdfExport;
|
||||
use app\Services\Export\Formats\Word2003Export;
|
||||
use app\Services\Export\Formats\Word2007Export;
|
||||
use App\Services\Report\Export\Formats\HtmlExport;
|
||||
use App\Services\Report\Export\Formats\PdfExport;
|
||||
use App\Services\Report\Export\Formats\Word2003Export;
|
||||
use App\Services\Report\Export\Formats\Word2007Export;
|
||||
|
||||
final readonly class Exporters
|
||||
{
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace app\Services\Export\Formats;
|
||||
namespace App\Services\Report\Export\Formats;
|
||||
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Services\Export\ExportDocumentBase;
|
||||
use App\Services\Report\Export\ExportDocumentBase;
|
||||
use App\Services\Report\ReportStorage;
|
||||
use Illuminate\Support\Facades\Blade;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace app\Services\Export\Formats;
|
||||
namespace App\Services\Report\Export\Formats;
|
||||
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Services\Report\ReportStorage;
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace app\Services\Export\Formats;
|
||||
namespace App\Services\Report\Export\Formats;
|
||||
|
||||
use App\Services\Export\ExportDocumentBase;
|
||||
use App\Services\Report\Export\ExportDocumentBase;
|
||||
use App\Services\Report\StampService;
|
||||
use CreateDocx;
|
||||
use CreateDocxFromTemplate;
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace app\Services\Export\Formats;
|
||||
namespace App\Services\Report\Export\Formats;
|
||||
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Services\Export\ExportDocumentBase;
|
||||
use App\Services\Report\Export\ExportDocumentBase;
|
||||
use App\Services\Report\ReportStorage;
|
||||
use CreateDocx;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace app\Services\Export\Formats;
|
||||
namespace App\Services\Report\Export\Formats;
|
||||
|
||||
use App\Domain\Report\ExportFormat;
|
||||
use App\Services\Report\ReportStorage;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Export;
|
||||
namespace App\Services\Report\Export;
|
||||
|
||||
use App\Models\Study;
|
||||
use App\Models\StudyReport;
|
Loading…
Reference in New Issue
Block a user