pdf wip
This commit is contained in:
1 parent
c64634b3a1
commit
523e395064
36 files changed
+431
-635
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user