FIX: saving new invoices was broken because changing a customer would only store billingData, but not a customerId

This commit is contained in:
2025-10-22 16:13:01 +02:00
parent 3087e5fcd4
commit abda810df2
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -77,7 +77,11 @@
<tr>
<th>Rechnungs-Nr.</th>
<td>
@if($invoice['paymentStatus'] == 'draft')
Entwurf
@else
{{ $invoice['nr'] }}
@endif
</td>
</tr>
@if($invoice['customer']['customerNr'])
@@ -127,7 +131,7 @@
@if($invoice['text'])
<div class="text">
{{ $invoice['text'] }}
{!! nl2br(e($invoice['text'])) !!}
</div>
@endif