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

85 lines
1.5 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.the_following_item') }}
2016-03-25 01:18:05 -07:00
<table>
<tr>
<td style="background-color:#ccc">
{{ trans('mail.asset_name') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $item_name }}</strong>
</td>
</tr>
@if ($item_tag)
<tr>
<td style="background-color:#ccc">
{{ trans('mail.asset_tag') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $item_tag }}</strong>
</td>
</tr>
@endif
@if (isset($manufacturer_name))
<tr>
<td style="background-color:#ccc">
{{ trans('general.manufacturer') }}
</td>
<td>
<strong>{{ $manufacturer_name }}</strong>
</td>
</tr>
@endif
@if (isset($model_number))
<tr>
<td style="background-color:#ccc">
{{ trans('general.model_no') }}:
</td>
<td>
<strong>{{ $model_number }}</strong>
</td>
</tr>
@endif
@if (isset($model_name))
<tr>
<td style="background-color:#ccc">
{{ trans('general.asset_model') }}:
</td>
<td>
<strong>{{ $model_name }}</strong>
</td>
</tr>
@endif
2016-03-25 01:18:05 -07:00
<tr>
<td style="background-color:#ccc">
{{ trans('mail.checkin_date') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $checkin_date }}</strong>
</td>
</tr>
@if ($note)
<tr>
<td style="background-color:#ccc">
{{ trans('mail.additional_notes') }}
2016-03-25 01:18:05 -07:00
</td>
<td>
<strong>{{ $note }}</strong>
</td>
</tr>
@endif
</table>
@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