snipe-it/resources/views/notifications/markdown/user-inventory.blade.php

46 lines
1.2 KiB
PHP
Raw Normal View History

@component('mail::message')
{{ trans('general.reminder_checked_out_items', array('reply_to_name' => config('mail.reply_to.name'), 'reply_to_address' => config('mail.reply_to.address')))}}
@component('mail::table')
@if ($assets->count() > 0)
2020-12-08 20:04:01 -08:00
## {{ $assets->count() }} {{ trans('general.assets') }}
2020-12-08 20:04:01 -08:00
<table width="100%">
<tr><th align="left">{{ trans('mail.name') }} </th><th align="left">{{ trans('mail.asset_tag') }}</th><th align="left">{{ trans('admin/hardware/table.serial') }}</th></tr>
@foreach($assets as $asset)
<tr><td>{{ $asset->present()->name }}</td><td> {{ $asset->asset_tag }} </td><td> {{ $asset->serial }} </td></tr>
@endforeach
2020-12-08 20:04:01 -08:00
</table>
@endif
@if ($accessories->count() > 0)
## {{ $accessories->count() }} {{ trans('general.accessories') }}
2020-12-08 20:04:01 -08:00
<table width="100%">
<tr><th align="left">{{ trans('mail.name') }} </th></tr>
@foreach($accessories as $accessory)
2020-12-08 20:04:01 -08:00
<tr><td>{{ $accessory->name }}</td></tr>
@endforeach
2020-12-08 20:04:01 -08:00
</table>
@endif
@if ($licenses->count() > 0)
## {{ $licenses->count() }} {{ trans('general.licenses') }}
2020-12-08 20:04:01 -08:00
<table width="100%">
<tr><th align="left"{{ trans('mail.name') }} </th></tr>
@foreach($licenses as $license)
2020-12-08 20:04:01 -08:00
<tr><td>{{ $license->name }}</td></tr>
@endforeach
2020-12-08 20:04:01 -08:00
</table>
@endif
@endcomponent
@endcomponent