Skip to content

Commit 242162f

Browse files
committed
added item description to default template
1 parent fe8871b commit 242162f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

resources/views/templates/default.blade.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,12 @@
264264
{{-- Items --}}
265265
@foreach($invoice->items as $item)
266266
<tr>
267-
<td class="pl-0">{{ $item->title }}</td>
267+
<td class="pl-0">
268+
{{ $item->title }}
269+
@if($item->description)
270+
<p class="description">{{ $item->description }}</p>
271+
@endif
272+
</td>
268273
@if($invoice->hasItemUnits)
269274
<td class="text-center">{{ $item->units }}</td>
270275
@endif

0 commit comments

Comments
 (0)