snipe-it/resources/views/emails/accept-asset.blade.php
2016-07-14 19:50:00 -07:00

92 lines
1.7 KiB
PHP
Executable file

@extends('emails/layouts/default')
@section('content')
<p>Hello {{ $first_name }},</p>
<p>A new item has been checked out under your name, details are below.</p>
<table>
<tr>
<td>
Asset Name:
</td>
<td>
<strong>{{ $item_name }}</strong>
</td>
</tr>
@if (isset($item_tag))
<tr>
<td>
Asset Tag:
</td>
<td>
<strong>{{ $item_tag }}</strong>
</td>
</tr>
@endif
@if (isset($item_serial))
<tr>
<td>
Serial:
</td>
<td>
<strong>{{ $item_serial }}</strong>
</td>
</tr>
@endif
<tr>
<td>
Checkout Date:
</td>
<td>
<strong>{{ $checkout_date }}</strong>
</td>
</tr>
@if (isset($expected_checkin))
<tr>
<td>
Expected Checkin Date:
</td>
<td>
<strong>{{ $expected_checkin }}</strong>
</td>
</tr>
@endif
@if (isset($note))
<tr>
<td>
Additional Notes:
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
@if (($require_acceptance==1) && ($eula!=''))
Please read the terms of use below, and click on the link at the bottom to confirm that you read and agree to the terms of use, and have received the asset.
@elseif (($require_acceptance==1) && ($eula==''))
Please click on the link at the bottom to confirm that you have received the asset.
@elseif (($require_acceptance==0) && ($eula!=''))
Please read the terms of use below.
@endif
</p>
<p><blockquote>{!! $eula !!}</blockquote></p>
@if ($require_acceptance==1)
<p><strong><a href="{{ config('app.url') }}/account/accept-asset/{{ $log_id }}">I have read and agree to the terms of use, and have received this item.</a></strong></p>
@endif
<p>{{ \App\Models\Setting::getSettings()->site_name }}</p>
@stop