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

122 lines
2.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
2016-07-14 19:50:00 -07:00
<table>
2016-03-25 01:18:05 -07:00
<tr>
<td>
{{ trans('mail.asset_name') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
2016-07-14 19:50:00 -07:00
<strong>{{ $item_name }}</strong>
2016-03-25 01:18:05 -07:00
</td>
</tr>
2016-07-14 19:50:00 -07:00
@if (isset($item_tag))
<tr>
<td>
{{ trans('mail.asset_tag') }}
2016-07-14 19:50:00 -07:00
</td>
<td>
<strong>{{ $item_tag }}</strong>
</td>
</tr>
@endif
@if (isset($manufacturer_name))
<tr>
<td>
{{ trans('general.manufacturer') }}
</td>
<td>
<strong>{{ $manufacturer_name }}</strong>
</td>
</tr>
@endif
@if (isset($model_name))
<tr>
<td>
{{ trans('general.model_no') }}:
</td>
<td>
<strong>{{ $model_name }}</strong>
</td>
</tr>
@endif
@if (isset($model_number))
<tr>
<td>
{{ trans('general.asset_model') }}:
</td>
<td>
<strong>{{ $model_number }}</strong>
</td>
</tr>
@endif
2016-07-14 19:50:00 -07:00
@if (isset($item_serial))
<tr>
<td>
{{ trans('mail.serial') }}
2016-07-14 19:50:00 -07:00
</td>
<td>
<strong>{{ $item_serial }}</strong>
</td>
</tr>
@endif
2016-03-25 01:18:05 -07:00
<tr>
<td>
{{ trans('mail.checkout_date') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
2016-07-14 19:50:00 -07:00
<strong>{{ $checkout_date }}</strong>
2016-03-25 01:18:05 -07:00
</td>
</tr>
2016-07-14 19:50:00 -07:00
@if (isset($expected_checkin))
<tr>
<td>
{{ trans('mail.expecting_checkin_date') }}
2016-07-14 19:50:00 -07:00
</td>
<td>
<strong>{{ $expected_checkin }}</strong>
</td>
</tr>
@endif
@if (isset($note))
<tr>
<td>
{{ trans('mail.additional_notes') }}
2016-07-14 19:50:00 -07:00
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
<p>
2016-07-14 19:50:00 -07:00
@if (($require_acceptance==1) && ($eula!=''))
2016-03-25 01:18:05 -07:00
{{ trans('mail.read_the_terms_and_click') }}
2016-03-25 01:18:05 -07:00
2016-07-14 19:50:00 -07:00
@elseif (($require_acceptance==1) && ($eula==''))
2016-03-25 01:18:05 -07:00
{{ trans('mail.click_on_the_link_asset') }}
2016-03-25 01:18:05 -07:00
2016-07-14 19:50:00 -07:00
@elseif (($require_acceptance==0) && ($eula!=''))
2016-03-25 01:18:05 -07:00
{{ trans('mail.read_the_terms') }}
2016-03-25 01:18:05 -07:00
@endif
2016-03-25 01:18:05 -07:00
2016-07-14 19:50:00 -07:00
</p>
2016-03-25 01:18:05 -07:00
2016-07-14 19:50:00 -07:00
<p><blockquote>{!! $eula !!}</blockquote></p>
2016-03-25 01:18:05 -07:00
2016-07-14 19:50:00 -07:00
@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-07-14 19:50:00 -07:00
@endif
2016-03-25 01:18:05 -07:00
<p><a href="{{ url('/') }}">{{ $snipeSettings->site_name }}</a></p>
2016-03-25 01:18:05 -07:00
@stop