A free open source IT asset/license management system
Added start_date and end_date to email notification
snipe48e58504f253
diff --git a/resources/views/notifications/markdown/asset-requested.blade.php b/resources/views/notifications/markdown/asset-requested.blade.phpindex 84aeca8a93..78f725d2d2 100644--- a/resources/views/notifications/markdown/asset-requested.blade.php+++ b/resources/views/notifications/markdown/asset-requested.blade.php@@ -22,7 +22,7 @@| **{{ trans('general.category') }}** | {{ $item->model->category->name }} |@endif@if ((isset($item->name)) && ($item->name!=''))-| **{{ trans('mail.asset_name') }}** | {{ $item->name }} |+| **{{ trans('general.item_name') }}** | {{ $item->name }} |@endif@if (isset($item->status))| **{{ trans('general.status') }}** | {{ $item->status->name }}@@ -48,6 +48,12 @@@if ((isset($expected_checkin)) && ($expected_checkin!=''))| **{{ trans('mail.expecting_checkin_date') }}** | {{ $expected_checkin }} |@endif+@if ((isset($start_date)) && ($start_date!=''))+| **{{ trans('general.start_date') }}** | {{ $start_date }} |+@endif+@if ((isset($end_date)) && ($end_date!=''))+| **{{ trans('general.end_date') }}** | {{ $end_date }} |+@endif@foreach($fields as $field)@if (($item->{ $field->db_column_name() }!='') && ($field->show_in_email) && ($field->field_encrypted=='0'))| **{{ $field->name }}** | {{ $item->{ $field->db_column_name() } }} |