Merge pull request #17436 from Godmartinz/fix-acceptance-markdown

Fixed #17394 - Changes the acceptance letter salutation to target
This commit is contained in:
snipe
2025-07-23 22:55:05 +01:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
@component('mail::message')
# {{ trans('mail.hello') }} {{ $target->present()->fullName() }},
# {{ trans('mail.hello') }}{{ $target->assignedto?->present()->fullName() ? ' ' . $target->assignedto->present()->fullName() . ',' : ',' }}
{{ trans('mail.new_item_checked') }}

View File

@@ -1,7 +1,10 @@
@component('mail::message')
# {{ trans('mail.hello') }} {{ $target->present()->fullName() }},
@php
$target->assignedto = null;
@endphp
# {{ trans('mail.hello') }}{{ $target->assignedto?->present()->fullName() ? ' ' . $target->assignedto->present()->fullName() . ',' : ',' }}
{{ $introduction_line }}
{{ $introduction_line }}
@if (($snipeSettings->show_images_in_email =='1') && $item->getImageUrl())
<center><img src="{{ $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>