Bug gefixed
This commit is contained in:
parent
0f5b04a704
commit
b6ef6fb4be
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@ uploads/
|
|||
backups/
|
||||
.env
|
||||
*.log
|
||||
.claude/
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ class BelegController
|
|||
'beleg_datum' => $_POST['beleg_datum'] ?? null,
|
||||
'eingangs_datum'=> $_POST['eingangs_datum'] ?? date('Y-m-d'),
|
||||
'rechnungs_nr' => $filenameWithoutExt,
|
||||
'betrag_brutto' => $_POST['betrag_brutto'] !== '' ? $_POST['betrag_brutto'] : null,
|
||||
'betrag_brutto' => ($_POST['betrag_brutto'] ?? '') !== '' ? $_POST['betrag_brutto'] : null,
|
||||
'belegtyp' => $_POST['belegtyp'] ?? 'Eingangsrechnung',
|
||||
'notes' => $_POST['notes'] ?? null,
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue