A few more tweaks to PDFs

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-17 07:27:03 -07:00
parent b7eb72fe49
commit 2bd0679a81
2 changed files with 25 additions and 16 deletions

View file

@ -4,6 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
@ -15,22 +20,31 @@
@endif
<br>
<p>Date: {{ date($date_settings) }} </p><br>
<p>Asset Tag: {{ $item_tag }}</p>
<p>Asset Model: {{ $item_model }}</p>
<p>
{{ trans('general.date') }}: {{ date($date_settings) }} <br>
{{ trans('general.asset_tag') }}: {{ $item_tag }}<br>
{{ trans('general.asset_model') }}: {{ $item_model }}<br>
{{ trans('general.serial') }}: {{ $item_serial }}</p>
@if ($eula)
<hr>
{!! $eula !!}
<hr>
@endif
<br>
<p>Assigned on: {{$check_out_date}}</p>
<p>Accepted on: {{$accepted_date}}</p>
<p>Assigned to: {{$assigned_to}}</p>
<p>
Assigned on: {{$check_out_date}}<br>
Assigned to: {{$assigned_to}}
</p>
@if ($signature)
<center>
<img src="{{ $signature }}" style="max-width: 50%">
</center>
<div style="width: 60%; float:left">
<img src="{{ $signature }}" style="max-width: 100%; border-bottom: black solid 1px;"><br>
{{ trans('general.signature') }}: {{$accepted_date}}
</div>
@endif
</body>
</html>

View file

@ -36,7 +36,6 @@
<p>
Assigned on: {{$check_out_date}}<br>
Accepted on: {{$accepted_date}}<br>
Assigned to: {{$assigned_to}}
</p>
@ -44,11 +43,7 @@ Assigned to: {{$assigned_to}}
@if ($signature)
<div style="width: 60%; float:left">
<img src="{{ $signature }}" style="max-width: 100%; border-bottom: black solid 1px;"><br>
{{ trans('general.signature') }}
</div>
<div style="width: 40%; float:left">
{{$accepted_date}}
{{ trans('general.signature') }}: {{$accepted_date}}
</div>
@endif
</body>