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

View file

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