Merge pull request #12636 from akemidx/feature/sc-20330/date-on-all-assigned-pdf

Datestamp on "Print All Assigned" generated form
This commit is contained in:
snipe 2023-03-15 11:31:52 -07:00 committed by GitHub
commit fdacd5d5b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -50,4 +50,5 @@ return [
'email_credentials' => 'Email credentials',
'email_credentials_text' => 'Email my credentials to the email address above',
'next_save_user' => 'Next: Save User',
'all_assigned_list_generation' => 'Generated on:'
];

View file

@ -2,7 +2,7 @@
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }}</title>
<title>{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }} - {{ date('Y-m-d H:i', time()) }}</title>
<style>
body {
font-family: "Arial, Helvetica", sans-serif;
@ -49,8 +49,8 @@
@endif
@endif
<h3>{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }} {{ ($show_user->jobtitle!='' ? ' - '.$show_user->jobtitle : '') }}</h3>
<h3>{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }} {{ ($show_user->jobtitle!='' ? ' - '.$show_user->jobtitle : '') }}
</h3>
@if ($assets->count() > 0)
@php
$counter = 1;
@ -243,6 +243,8 @@
<br>
<br>
{{ trans('admin/users/general.all_assigned_list_generation')}} {{ Helper::getFormattedDateObject(now(), 'datetime', false) }}
<br>
<br>
<table>
<tr>