mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
5516978f2e
* Another 'or' caught in a blade template * Added the requireAcceptance() method in LicenseSeat.php. Changed the permission in checkout-license mail to view. * Getting right the permission in the view checkout-license
55 lines
1.3 KiB
PHP
55 lines
1.3 KiB
PHP
@component('mail::message')
|
|
# {{ trans('mail.hello') }} {{ $target->present()->fullName() }},
|
|
|
|
{{ trans('mail.new_item_checked') }}
|
|
|
|
@component('mail::table')
|
|
| | |
|
|
| ------------- | ------------- |
|
|
@if (isset($checkout_date))
|
|
| **{{ trans('mail.checkout_date') }}** | {{ $checkout_date }} |
|
|
@endif
|
|
| **{{ trans('general.license') }}** | {{ $item->name }} |
|
|
@if (isset($item->manufacturer))
|
|
| **{{ trans('general.manufacturer') }}** | {{ $item->manufacturer->name }} |
|
|
@endif
|
|
@if (isset($item->category))
|
|
| **{{ trans('general.category') }}** | {{ $item->category->name }} |
|
|
@endif
|
|
@if ($target->can('view', $item))
|
|
| **Key** | {{ $item->serial }} |
|
|
@endif
|
|
@if ($note)
|
|
| **{{ trans('mail.additional_notes') }}** | {{ $note }} |
|
|
@endif
|
|
@if ($admin)
|
|
| **{{ trans('general.administrator') }}** | {{ $admin->present()->fullName() }} |
|
|
@endif
|
|
@endcomponent
|
|
|
|
|
|
@if (($req_accept == 1) && ($eula!=''))
|
|
{{ trans('mail.read_the_terms_and_click') }}
|
|
@elseif (($req_accept == 1) && ($eula==''))
|
|
{{ trans('mail.click_on_the_link_asset') }}
|
|
@elseif (($req_accept == 0) && ($eula!=''))
|
|
{{ trans('mail.read_the_terms') }}
|
|
@endif
|
|
|
|
@if ($eula)
|
|
@component('mail::panel')
|
|
{!! $eula !!}
|
|
@endcomponent
|
|
@endif
|
|
|
|
@if ($req_accept == 1)
|
|
**[✔ {{ trans('mail.i_have_read') }}]({{ $accept_url }})**
|
|
@endif
|
|
|
|
|
|
Thanks,
|
|
|
|
{{ $snipeSettings->site_name }}
|
|
|
|
@endcomponent
|