Merge pull request #16375 from snipe/fixes_16371_name_not_included_in_reminder_emails

Fixed #16371 - incorrect count and missing name in acceptance reminder email
This commit is contained in:
snipe
2025-02-27 15:00:04 +00:00
committed by GitHub
2 changed files with 10 additions and 6 deletions
+3 -2
View File
@@ -19,9 +19,10 @@ class UnacceptedAssetReminderMail extends Mailable
*/
public function __construct($checkout_info, $count)
{
$this->count = $count;
$this->target = $checkout_info['acceptance']?->assignedTo;
$this->acceptance = $checkout_info['acceptance'];
$this->target = $checkout_info?->assignedTo;
$this->acceptance = $checkout_info;
}
/**