We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e2bb9 commit d229465Copy full SHA for d229465
resources/views/default.blade.php
@@ -208,12 +208,14 @@
208
{{ $invoice->created_at?->format(config('invoices.date_format')) }}
209
</td>
210
</tr>
211
- <tr>
212
- <td class="pb-1 pr-2 nowrap">{{ __('invoices::invoice.due_at') }}</td>
213
- <td class="pb-1" width="100%">
214
- {{ $invoice->due_at?->format(config('invoices.date_format')) }}
215
- </td>
216
- </tr>
+ @if ($invoice->due_at)
+ <tr>
+ <td class="pb-1 pr-2 nowrap">{{ __('invoices::invoice.due_at') }}</td>
+ <td class="pb-1" width="100%">
+ {{ $invoice->due_at->format(config('invoices.date_format')) }}
+ </td>
217
+ </tr>
218
+ @endif
219
@if ($invoice->paid_at)
220
<tr>
221
<td class="pb-1 pr-2 nowrap">{{ __('invoices::invoice.paid_at') }}</td>
0 commit comments