This commit is contained in:
salam committed 2025-10-31 15:25:16 +01:00
1 parent c64634b3a1
commit 523e395064
36 files changed
+431 -635

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Actions\Generate\Pdf;
use App\Actions\Generate\Utilities\Format;
class Ueberschrift
{
public static function create($inhalt)
{
if ($inhalt->ueberschrift_anzeigen) {
if ($inhalt->ordnungszahl * 1 > 0) {
return '<div class="header">'.Format::index($inhalt->ordnungszahl).' '.$inhalt->name.'</div>';
} else {
return '<div class="header">'.$inhalt->name.'</div>';
}
}
return false;
}
}