Fixed audit email template (applies #10592 to master)

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-02-01 17:27:32 -08:00
parent 2e998b110f
commit 2815e0d36e

View file

@ -4,7 +4,7 @@
@component('mail::table')
| |{{ trans('mail.name') }}|{{ trans('general.last_audit') }}|{{ trans('general.next_audit_date') }}|{{ trans('mail.Days') }}|{{ trans('mail.supplier') }} | {{ trans('mail.assigned_to') }}
| |:------------- |:-------------|:---------|:---------|:---------|:---------|
|-|:------------- |:-------------|:---------|:---------|:---------|:---------|
@foreach ($assets as $asset)
@php
$next_audit_date = \App\Helpers\Helper::getFormattedDateObject($asset->next_audit_date, 'date', false);