diff --git a/resources/views/notifications/markdown/report-expiring-assets.blade.php b/resources/views/notifications/markdown/report-expiring-assets.blade.php index 11dd5bc534..de586bfd8c 100644 --- a/resources/views/notifications/markdown/report-expiring-assets.blade.php +++ b/resources/views/notifications/markdown/report-expiring-assets.blade.php @@ -9,15 +9,15 @@ $diff = round(abs(strtotime($asset->present()->warranty_expires) - strtotime(dat $icon = ($diff <= ($threshold / 2)) ? '🚨' : (($diff <= $threshold) ? '⚠️' : ' '); @endphp @component('mail::table') -| | | -| ------------- | ------------- | -| **{{ trans('mail.name') }}** | {{ $asset->present()->name }}
{{trans('mail.serial').': '.$asset->serial}} | -| **{{ trans('mail.expires') }}** | {{ !is_null($expires) ? $expires['formatted'] : '' }} ( {{ $icon }} {{ $diff }} {{ trans('mail.Days') }} ) | +| | | | +| ------------- | ------------- | ------------- | +| {{ $icon }} | **{{ trans('mail.name') }}** | {{ $asset->present()->name }}
{{trans('mail.serial').': '.$asset->serial}} | +| | **{{ trans('mail.expires') }}** | {{ !is_null($expires) ? $expires['formatted'] : '' }} ({{ $diff }} {{ trans('mail.Days') }}) | @if ($asset->supplier) -| **{{ trans('mail.supplier') }}** | {{ ($asset->supplier ? e($asset->supplier->name) : '') }} | +| | **{{ trans('mail.supplier') }}** | {{ ($asset->supplier ? e($asset->supplier->name) : '') }} | @endif @if ($asset->assignedTo) -| **{{ trans('mail.assigned_to') }}** | {{ e($asset->assignedTo->present()->display_name) }} | +| | **{{ trans('mail.assigned_to') }}** | {{ e($asset->assignedTo->present()->display_name) }} | @endif @endcomponent @endforeach