Skip to content

A free open source IT asset/license management system

Move expected checking and only show once

Marcus Moored3a7e25b8639
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 1d41c8c939..16c21e4d08 100644
--- a/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php
+++ b/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php
@@ -23,6 +23,10 @@ One or more items require acceptance.<br>
**{{ trans('general.administrator') }}**: {{ $admin->display_name }}
+@if ((isset($expected_checkin)) && ($expected_checkin!=''))
+**{{ trans('mail.expecting_checkin_date') }}**: {{ Helper::getFormattedDateObject($expected_checkin, 'date', false) }}
+@endif
+
<x-mail::table>
| | |
| ------------- | ------------- |
@@ -43,9 +47,6 @@ One or more items require acceptance.<br>
@if (isset($asset->assetstatus))
| **{{ trans('general.status') }}** | {{ $asset->assetstatus->name }} |
@endif
-@if ((isset($asset->expected_checkin)) && ($asset->expected_checkin!=''))
-| **{{ trans('mail.expecting_checkin_date') }}** | {{ $asset->expected_checkin }} |
-@endif
| <hr> | <hr> |
@endforeach
</x-mail::table>