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 3c3bd2d commit 5511bd4Copy full SHA for 5511bd4
resources/views/default/invoice.blade.php
@@ -197,7 +197,7 @@
197
{{-- empty space --}}
198
<td class="py-2 pr-2"></td>
199
<td class="border-b p-2 text-xs" colspan="3">
200
- {{ __($discount->name) ?? __('invoices::invoice.discount_name') }}
+ {{ __($discount->name ?? $discount->code) ?? __('invoices::invoice.discount_name') }}
201
@if ($discount->percent_off)
202
({{ $discount->formatPercentage($discount->percent_off) }})
203
@endif
0 commit comments