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

67 lines
1.2 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('emails/layouts/default')
@section('content')
<p>{{ trans('mail.hello') }} {{ $first_name }},</p>
2016-03-25 01:18:05 -07:00
<p>{{ trans('mail.new_item_checked') }}</p>
2016-03-25 01:18:05 -07:00
<table>
<tr>
<td>
{{ trans('mail.accessory_name') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $item_name }}</strong>
</td>
</tr>
<tr>
<td>
{{ trans('mail.checkout_date') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $checkout_date }}</strong>
</td>
</tr>
@if ($note)
<tr>
<td>
{{ trans('mail.additional_notes') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
<p>
2016-03-25 01:18:05 -07:00
@if (($require_acceptance==1) && ($eula!=''))
{{ trans('mail.read_the_terms_and_click') }}
2016-03-25 01:18:05 -07:00
@elseif (($require_acceptance==1) && ($eula==''))
{{ trans('mail.click_on_the_link_accessory') }}
2016-03-25 01:18:05 -07:00
@elseif (($require_acceptance==0) && ($eula!=''))
{{ trans('mail.read_the_terms') }}
2016-03-25 01:18:05 -07:00
@endif
</p>
<p><blockquote>{!! $eula !!}</blockquote></p>
@if ($require_acceptance==1)
2016-12-15 16:41:36 -08:00
<p><strong><a href="{{ url('/') }}/account/accept-asset/{{ $log_id }}">{{ trans('mail.i_have_read') }}</a></strong></p>
2016-03-25 01:18:05 -07:00
@endif
@if ($snipeSettings->show_url_in_emails=='1')
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
@else
<p>{{ $snipeSettings->site_name }}</p>
@endif
2016-03-25 01:18:05 -07:00
@stop