diff --git a/CHANGELOG.md b/CHANGELOG.md index be569813..c2653f1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Letzte Ă„nderungen +### 1.12.2 + +- Zuschussliste Gallier + ### 1.12.1 - In Teilnehmer-Liste von Veranstaltungen kann nun sortiert und gefiltert werden. diff --git a/app/Contribution/ContributionFactory.php b/app/Contribution/ContributionFactory.php index 983b75ac..ceae2e63 100644 --- a/app/Contribution/ContributionFactory.php +++ b/app/Contribution/ContributionFactory.php @@ -8,7 +8,7 @@ use App\Contribution\Documents\RdpNrwDocument; use App\Contribution\Documents\CityRemscheidDocument; use App\Contribution\Documents\CitySolingenDocument; use App\Contribution\Documents\CityFrankfurtMainDocument; -use App\Contribution\Documents\GallierDocument; +use App\Contribution\Documents\WuppertalDocument; use Illuminate\Support\Collection; use Illuminate\Validation\Rule; @@ -23,7 +23,7 @@ class ContributionFactory CityRemscheidDocument::class, CityFrankfurtMainDocument::class, BdkjHesse::class, - GallierDocument::class, + WuppertalDocument::class, ]; /** diff --git a/app/Contribution/Documents/GallierDocument.php b/app/Contribution/Documents/WuppertalDocument.php similarity index 96% rename from app/Contribution/Documents/GallierDocument.php rename to app/Contribution/Documents/WuppertalDocument.php index 46be4f95..54d45ce1 100644 --- a/app/Contribution/Documents/GallierDocument.php +++ b/app/Contribution/Documents/WuppertalDocument.php @@ -8,7 +8,7 @@ use App\Contribution\Traits\HasPdfBackground; use App\Country; use Illuminate\Support\Collection; -class GallierDocument extends ContributionDocument +class WuppertalDocument extends ContributionDocument { use HasPdfBackground; @@ -62,7 +62,7 @@ class GallierDocument extends ContributionDocument public static function getName(): string { - return 'Gallier'; + return 'Wuppertal'; } /** diff --git a/resources/views/tex/contribution/gallier.tex b/resources/views/tex/contribution/wuppertal.tex similarity index 98% rename from resources/views/tex/contribution/gallier.tex rename to resources/views/tex/contribution/wuppertal.tex index bd35c06e..c4cb6f2e 100644 --- a/resources/views/tex/contribution/gallier.tex +++ b/resources/views/tex/contribution/wuppertal.tex @@ -8,7 +8,7 @@ \pagestyle{empty} \setlength{\parindent}{0cm} -\backgroundsetup{scale = 1, angle = 0, opacity = 1, color=black, contents = {\includegraphics[width = \paperwidth, height = \paperheight] {gallier.pdf}}} +\backgroundsetup{scale = 1, angle = 0, opacity = 1, color=black, contents = {\includegraphics[width = \paperwidth, height = \paperheight] {wuppertal.pdf}}} \begin{document} \noindent \sffamily diff --git a/resources/views/tex/templates/contribution/gallier.pdf b/resources/views/tex/templates/contribution/wuppertal.pdf similarity index 100% rename from resources/views/tex/templates/contribution/gallier.pdf rename to resources/views/tex/templates/contribution/wuppertal.pdf diff --git a/tests/Feature/Contribution/StoreTest.php b/tests/Feature/Contribution/StoreTest.php index 50a5af2d..f78353f6 100644 --- a/tests/Feature/Contribution/StoreTest.php +++ b/tests/Feature/Contribution/StoreTest.php @@ -4,7 +4,7 @@ namespace Tests\Feature\Contribution; use App\Contribution\Documents\RdpNrwDocument; use App\Contribution\Documents\CitySolingenDocument; -use App\Contribution\Documents\GallierDocument; +use App\Contribution\Documents\WuppertalDocument; use App\Country; use App\Gender; use App\Invoice\InvoiceSettings; @@ -87,17 +87,17 @@ dataset('validation', function () { ], [ ['zipLocation' => ''], - GallierDocument::class, + WuppertalDocument::class, 'zipLocation', ], [ ['dateFrom' => ''], - GallierDocument::class, + WuppertalDocument::class, 'dateFrom', ], [ ['dateUntil' => ''], - GallierDocument::class, + WuppertalDocument::class, 'dateUntil', ], ]; @@ -130,7 +130,7 @@ it('compiles documents via api', function (string $type, array $bodyChecks) { ["App\\Contribution\\Documents\\CityRemscheidDocument", ["Max", "Muster", "Jane"]], ["App\\Contribution\\Documents\\CityFrankfurtMainDocument", ["Max", "Muster", "Jane"]], ["App\\Contribution\\Documents\\BdkjHesse", ["Max", "Muster", "Jane"]], - ["App\\Contribution\\Documents\\GallierDocument", ["Max", "Muster", "Jane", "42777 SG", "15.06.1991", "16.06.1991"]], + ["App\\Contribution\\Documents\\WuppertalDocument", ["Max", "Muster", "Jane", "42777 SG", "15.06.1991", "16.06.1991"]], ]); it('testItCompilesGroupNameInSolingenDocument', function () {