This commit is contained in:
snipe 2016-07-14 19:50:00 -07:00
parent c1d2be651a
commit 616f922306

View file

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