snipe-it/resources/views/emails/accept-asset.blade.php

92 lines
1.6 KiB
PHP
Executable file

@extends('emails/layouts/default')
@section('content')
<p>{{ trans('mail.hello') }} {{ $first_name }},</p>
<p>{{ trans('mail.new_item_checked') }}</p>
<table>
<tr>
<td>
{{ trans('mail.asset_name') }}
</td>
<td>
<strong>{{ $item_name }}</strong>
</td>
</tr>
@if (isset($item_tag))
<tr>
<td>
{{ trans('mail.asset_tag') }}
</td>
<td>
<strong>{{ $item_tag }}</strong>
</td>
</tr>
@endif
@if (isset($item_serial))
<tr>
<td>
{{ trans('mail.serial') }}
</td>
<td>
<strong>{{ $item_serial }}</strong>
</td>
</tr>
@endif
<tr>
<td>
{{ trans('mail.checkout_date') }}
</td>
<td>
<strong>{{ $checkout_date }}</strong>
</td>
</tr>
@if (isset($expected_checkin))
<tr>
<td>
{{ trans('mail.expecting_checkin_date') }}
</td>
<td>
<strong>{{ $expected_checkin }}</strong>
</td>
</tr>
@endif
@if (isset($note))
<tr>
<td>
{{ trans('mail.additional_notes') }}
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
<p>
@if (($require_acceptance==1) && ($eula!=''))
{{ trans('mail.read_the_terms_and_click') }}
@elseif (($require_acceptance==1) && ($eula==''))
{{ trans('mail.click_on_the_link_asset') }}
@elseif (($require_acceptance==0) && ($eula!=''))
{{ trans('mail.read_the_terms') }}
@endif
</p>
<p><blockquote>{!! $eula !!}</blockquote></p>
@if ($require_acceptance==1)
<p><strong><a href="{{ URL::to('/') }}/account/accept-asset/{{ $log_id }}">{{ trans('mail.i_have_read') }}</a></strong></p>
@endif
<p>{{ $snipeSettings->site_name }}</p>
@stop