refactor - moved exports to report service

This commit is contained in:
Dr Masroor Ehsan 2025-01-13 17:52:04 +06:00
parent eb99cabec9
commit 827e3c3ce7
9 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\Models\StudyReport; use App\Models\StudyReport;
use App\Services\Export\Exporters; use App\Services\Report\Export\Exporters;
use App\Services\Report\ReportStorage; use App\Services\Report\ReportStorage;
final class ReportDownloadController extends Controller final class ReportDownloadController extends Controller

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Services\Export; namespace App\Services\Report\Export;
use App\Models\Study; use App\Models\Study;
use App\Models\StudyReport; use App\Models\StudyReport;

View File

@ -1,14 +1,14 @@
<?php <?php
namespace App\Services\Export; namespace App\Services\Report\Export;
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Models\Study; use App\Models\Study;
use App\Models\StudyReport; use App\Models\StudyReport;
use app\Services\Export\Formats\HtmlExport; use App\Services\Report\Export\Formats\HtmlExport;
use app\Services\Export\Formats\PdfExport; use App\Services\Report\Export\Formats\PdfExport;
use app\Services\Export\Formats\Word2003Export; use App\Services\Report\Export\Formats\Word2003Export;
use app\Services\Export\Formats\Word2007Export; use App\Services\Report\Export\Formats\Word2007Export;
final readonly class Exporters final readonly class Exporters
{ {

View File

@ -1,9 +1,9 @@
<?php <?php
namespace app\Services\Export\Formats; namespace App\Services\Report\Export\Formats;
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Services\Export\ExportDocumentBase; use App\Services\Report\Export\ExportDocumentBase;
use App\Services\Report\ReportStorage; use App\Services\Report\ReportStorage;
use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Blade;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace app\Services\Export\Formats; namespace App\Services\Report\Export\Formats;
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Services\Report\ReportStorage; use App\Services\Report\ReportStorage;

View File

@ -1,8 +1,8 @@
<?php <?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 App\Services\Report\StampService;
use CreateDocx; use CreateDocx;
use CreateDocxFromTemplate; use CreateDocxFromTemplate;

View File

@ -1,9 +1,9 @@
<?php <?php
namespace app\Services\Export\Formats; namespace App\Services\Report\Export\Formats;
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Services\Export\ExportDocumentBase; use App\Services\Report\Export\ExportDocumentBase;
use App\Services\Report\ReportStorage; use App\Services\Report\ReportStorage;
use CreateDocx; use CreateDocx;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace app\Services\Export\Formats; namespace App\Services\Report\Export\Formats;
use App\Domain\Report\ExportFormat; use App\Domain\Report\ExportFormat;
use App\Services\Report\ReportStorage; use App\Services\Report\ReportStorage;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Services\Export; namespace App\Services\Report\Export;
use App\Models\Study; use App\Models\Study;
use App\Models\StudyReport; use App\Models\StudyReport;