Skip to content

A free open source IT asset/license management system

Readability

Marcus Moorebc5d6e89ba4c
diff --git a/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php b/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php
index 27d34f5510..808b6c8049 100644
--- a/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php
+++ b/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php
@@ -36,9 +36,12 @@
{{ $singular_eula }}
</x-mail::panel>
@endif
+
@foreach($assetsByCategory as $group)
<x-mail::panel>
+
{{ $group->first()->model->category->name }}
+
<x-mail::table>
| | |
| ------------- | ------------- |
@@ -69,9 +72,11 @@
| <hr> | <hr> |
@endforeach
</x-mail::table>
+
@if (!$singular_eula && $group->first()->eula)
{{ $group->first()->eula }}
@endif
+
</x-mail::panel>
@endforeach