pdf wip
This commit is contained in:
1 parent
48af0fd6c8
commit
d827231e92
7 files changed
+54
-19
No files matched your search
@@ -3,13 +3,28 @@
|
||||
namespace App\Actions\Generate\Gutachten;
|
||||
|
||||
use App\Actions\Generate\MakeGutachten;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
class Deckblatt
|
||||
{
|
||||
public static function create()
|
||||
{
|
||||
dd(MakeGutachten::$gutachter);
|
||||
// GUTACHTER
|
||||
|
||||
switch (MakeGutachten::$gutachter['kopf']) {
|
||||
case 'logo':
|
||||
$filepath = Storage::disk('public')->path("/download/$projekts_id/gutachter-logo/");
|
||||
->directory('gutachter-logo')
|
||||
break;
|
||||
case 'firma':
|
||||
|
||||
break;
|
||||
case 'gutachter':
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
$html = '<div class="right">';
|
||||
$html .= '<p class="big">'.MakeGutachten::$gutachter->company.'</p>';
|
||||
$html .= '<p class="gray small">'.nl2br(MakeGutachten::$gutachter->address).'</p>';
|
||||
|
||||
Reference in new issue
Block a user