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

47 lines
1.2 KiB
PHP
Raw Normal View History

@component('mail::message')
This is a reminder of the items currently checked out to you. If you feel this list is inaccurate (something is missing, or something appears here that you believe you never received), please email {{ config('mail.reply_to.name') }} at {{ config('mail.reply_to.address') }}.
@component('mail::table')
@if ($assets->count() > 0)
2020-12-08 20:04:01 -08:00
## {{ $assets->count() }} 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></tr>
@foreach($assets as $asset)
2020-12-08 20:04:01 -08:00
<tr><td>{{ $asset->present()->name }}</td><td> {{ $asset->asset_tag }} </td></tr>
@endforeach
2020-12-08 20:04:01 -08:00
</table>
@endif
@if ($accessories->count() > 0)
## {{ $accessories->count() }} 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() }} 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