From 61eff02fcb64710fda8630e0481088138e807eed Mon Sep 17 00:00:00 2001 From: NebelKreis Date: Wed, 20 Nov 2024 10:27:22 +0100 Subject: [PATCH] Feature: Added category to asset checkout email --- resources/views/mail/markdown/checkout-asset.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/mail/markdown/checkout-asset.blade.php b/resources/views/mail/markdown/checkout-asset.blade.php index aae0b21584..72e5860e2c 100644 --- a/resources/views/mail/markdown/checkout-asset.blade.php +++ b/resources/views/mail/markdown/checkout-asset.blade.php @@ -16,6 +16,9 @@ @if (($item->name!=$item->asset_tag)) | **{{ trans('mail.asset_tag') }}** | {{ $item->asset_tag }} | @endif +@if (isset($item->model->category)) +| **{{ trans('general.category') }}** | {{ $item->model->category->name }} | +@endif @if (isset($item->manufacturer)) | **{{ trans('general.manufacturer') }}** | {{ $item->manufacturer->name }} | @endif