|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
@props([
|
|
|
|
|
'contact' => null,
|
|
|
|
|
'infoPanelObj' => null,
|
|
|
|
|
'img_path' => null,
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
@@ -7,23 +7,23 @@
|
|
|
|
|
|
|
|
|
|
<div class="box-header with-border" style="padding-top: 0;">
|
|
|
|
|
<h3 class="box-title side-box-header" style="line-height: 20px">
|
|
|
|
|
{{ $contact->display_name }}
|
|
|
|
|
{{ $infoPanelObj->display_name }}
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="box-body box-profile side-box expanded">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if (($contact->image) && ($img_path))
|
|
|
|
|
<a href="{{ Storage::disk('public')->url($img_path.e($contact->image)) }}" data-toggle="lightbox" data-type="image">
|
|
|
|
|
<img src="{{ Storage::disk('public')->url($img_path.e($contact->image)) }}" class="profile-user-img img-responsive img-thumbnail" alt="{{ $contact->name }}" style="margin-bottom: 10px;">
|
|
|
|
|
@if (($infoPanelObj->image) && ($img_path))
|
|
|
|
|
<a href="{{ Storage::disk('public')->url($img_path.e($infoPanelObj->image)) }}" data-toggle="lightbox" data-type="image">
|
|
|
|
|
<img src="{{ Storage::disk('public')->url($img_path.e($infoPanelObj->image)) }}" class="profile-user-img img-responsive img-thumbnail" alt="{{ $infoPanelObj->name }}" style="margin-bottom: 10px;">
|
|
|
|
|
</a>
|
|
|
|
|
<br>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->present()->displayAddress)
|
|
|
|
|
{!! nl2br($contact->present()->displayAddress) !!}
|
|
|
|
|
@if ($infoPanelObj->present()->displayAddress)
|
|
|
|
|
{!! nl2br($infoPanelObj->present()->displayAddress) !!}
|
|
|
|
|
<br><br>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@@ -38,14 +38,14 @@
|
|
|
|
|
{{ $slot }}
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="notes" title="{{ trans('general.notes') }}">
|
|
|
|
|
{!! nl2br(Helper::parseEscapedMarkedownInline($contact->notes)) !!}
|
|
|
|
|
{!! nl2br(Helper::parseEscapedMarkedownInline($infoPanelObj->notes)) !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
@if ($contact->serial)
|
|
|
|
|
@can('viewKeys', $contact)
|
|
|
|
|
@if ($infoPanelObj->serial)
|
|
|
|
|
@can('viewKeys', $infoPanelObj)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<x-copy-to-clipboard copy_what="license_key">
|
|
|
|
|
<code>{{ $contact->serial }}</code>
|
|
|
|
|
<code>{{ $infoPanelObj->serial }}</code>
|
|
|
|
|
</x-copy-to-clipboard>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@else
|
|
|
|
|
@@ -54,174 +54,174 @@
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->license_name)
|
|
|
|
|
@if ($infoPanelObj->license_name)
|
|
|
|
|
<x-info-element icon_type="contact-card" title="{{ trans('admin/licenses/form.to_name') }}">
|
|
|
|
|
{{ trans('admin/licenses/form.to_name') }}
|
|
|
|
|
{{ $contact->license_name }}
|
|
|
|
|
{{ $infoPanelObj->license_name }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->license_email)
|
|
|
|
|
@if ($infoPanelObj->license_email)
|
|
|
|
|
<x-info-element icon_type="email" title="{{ trans('admin/licenses/form.to_email') }}">
|
|
|
|
|
{{ trans('admin/licenses/form.to_email') }}
|
|
|
|
|
<x-info-element.email>
|
|
|
|
|
{{ $contact->license_email }}
|
|
|
|
|
{{ $infoPanelObj->license_email }}
|
|
|
|
|
</x-info-element.email>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->termination_date)
|
|
|
|
|
@if ($infoPanelObj->termination_date)
|
|
|
|
|
<x-info-element icon_type="terminates" title="{{ trans('general.termination_date') }}">
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->termination_date, 'date', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->termination_date, 'date', false) }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->expiration_date)
|
|
|
|
|
@if ($infoPanelObj->expiration_date)
|
|
|
|
|
<x-info-element icon_type="expiration" title="{{ trans('general.expires') }}">
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->expiration_date, 'date', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->expiration_date, 'date', false) }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->model_number)
|
|
|
|
|
@if ($infoPanelObj->model_number)
|
|
|
|
|
<x-info-element icon_type="number" title="{{ trans('general.model_number') }}">
|
|
|
|
|
{{ $contact->model_number }}
|
|
|
|
|
{{ $infoPanelObj->model_number }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->order_number)
|
|
|
|
|
@if ($infoPanelObj->order_number)
|
|
|
|
|
<x-info-element icon_type="order" title="{{ trans('general.order_number') }}">
|
|
|
|
|
{{ $contact->order_number }}
|
|
|
|
|
{{ $infoPanelObj->order_number }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->purchase_order)
|
|
|
|
|
@if ($infoPanelObj->purchase_order)
|
|
|
|
|
<x-info-element icon_type="purchase_order" title="{{ trans('admin/licenses/form.purchase_order') }}">
|
|
|
|
|
{{ $contact->purchase_order }}
|
|
|
|
|
{{ $infoPanelObj->purchase_order }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (function_exists('numRemaining'))
|
|
|
|
|
<x-info-element icon_type="available" title="{{ trans('general.remaining') }}">
|
|
|
|
|
{{ $contact->numRemaining() }}
|
|
|
|
|
{{ $infoPanelObj->numRemaining() }}
|
|
|
|
|
{{ trans('general.remaining') }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="checkedout" title="{{ trans('general.available') }}">
|
|
|
|
|
{{ $contact->checkouts_count }}
|
|
|
|
|
{{ $infoPanelObj->checkouts_count }}
|
|
|
|
|
{{ trans('general.checked_out') }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->company)
|
|
|
|
|
<x-info-element icon_type="company" icon_color="{{ $contact->company->tag_color }}" title="{{ trans('general.company') }}">
|
|
|
|
|
{!! $contact->company->present()->nameUrl !!}
|
|
|
|
|
@if ($infoPanelObj->company)
|
|
|
|
|
<x-info-element icon_type="company" icon_color="{{ $infoPanelObj->company->tag_color }}" title="{{ trans('general.company') }}">
|
|
|
|
|
{!! $infoPanelObj->company->present()->nameUrl !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->category)
|
|
|
|
|
<x-info-element icon_type="category" icon_color="{{ $contact->category->tag_color }}" title="{{ trans('general.category') }}">
|
|
|
|
|
{!! $contact->category->present()->nameUrl !!}
|
|
|
|
|
@if ($infoPanelObj->category)
|
|
|
|
|
<x-info-element icon_type="category" icon_color="{{ $infoPanelObj->category->tag_color }}" title="{{ trans('general.category') }}">
|
|
|
|
|
{!! $infoPanelObj->category->present()->nameUrl !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->category_type)
|
|
|
|
|
<x-info-element icon_type="{{ $contact->category_type }}" title="{{ trans('general.type') }}">
|
|
|
|
|
{{ $contact->category_type }}
|
|
|
|
|
@if ($infoPanelObj->category_type)
|
|
|
|
|
<x-info-element icon_type="{{ $infoPanelObj->category_type }}" title="{{ trans('general.type') }}">
|
|
|
|
|
{{ $infoPanelObj->category_type }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->location)
|
|
|
|
|
<x-info-element icon_type="location" icon_color="{{ $contact->location->tag_color }}" title="{{ trans('general.location') }}">
|
|
|
|
|
{!! $contact->location->present()->nameUrl !!}
|
|
|
|
|
@if ($infoPanelObj->location)
|
|
|
|
|
<x-info-element icon_type="location" icon_color="{{ $infoPanelObj->location->tag_color }}" title="{{ trans('general.location') }}">
|
|
|
|
|
{!! $infoPanelObj->location->present()->nameUrl !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->manager)
|
|
|
|
|
@if ($infoPanelObj->manager)
|
|
|
|
|
<x-info-element icon_type="manager" title="{{ trans('admin/users/table.manager') }}">
|
|
|
|
|
{!! $contact->manager->present()->nameUrl !!}
|
|
|
|
|
{!! $infoPanelObj->manager->present()->nameUrl !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->fieldset)
|
|
|
|
|
@if ($infoPanelObj->fieldset)
|
|
|
|
|
<x-info-element icon_type="fieldset" title="{{ trans('admin/custom_fields/general.fieldset_name') }}">
|
|
|
|
|
{!! $contact->fieldset->present()->nameUrl !!}
|
|
|
|
|
{!! $infoPanelObj->fieldset->present()->nameUrl !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->manufacturer)
|
|
|
|
|
@if ($infoPanelObj->manufacturer)
|
|
|
|
|
<x-info-element icon_type="manufacturer" title="{{ trans('general.manufacturer') }}">
|
|
|
|
|
<strong>{{ trans('general.manufacturer') }}</strong>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element class="subitem">
|
|
|
|
|
{!! $contact->manufacturer->present()->formattedNameLink !!}
|
|
|
|
|
{!! $infoPanelObj->manufacturer->present()->formattedNameLink !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="phone" class="subitem" title="{{ trans('general.phone') }}">
|
|
|
|
|
<x-info-element.phone>
|
|
|
|
|
{{ $contact->manufacturer->support_phone }}
|
|
|
|
|
{{ $infoPanelObj->manufacturer->support_phone }}
|
|
|
|
|
</x-info-element.phone>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="email" class="subitem" title="{{ trans('general.email') }}">
|
|
|
|
|
<x-info-element.email>
|
|
|
|
|
{{ $contact->manufacturer->support_email }}
|
|
|
|
|
{{ $infoPanelObj->manufacturer->support_email }}
|
|
|
|
|
</x-info-element.email>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="external-link" class="subitem" title="{{ trans('general.url') }}">
|
|
|
|
|
<x-info-element.url>
|
|
|
|
|
{{ $contact->manufacturer->url }}
|
|
|
|
|
{{ $infoPanelObj->manufacturer->url }}
|
|
|
|
|
</x-info-element.url>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="external-link" class="subitem" title="{{ trans('general.url') }}">
|
|
|
|
|
<x-info-element.url>
|
|
|
|
|
{{ $contact->manufacturer->support_url }}
|
|
|
|
|
{{ $infoPanelObj->manufacturer->support_url }}
|
|
|
|
|
</x-info-element.url>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->supplier)
|
|
|
|
|
@if ($infoPanelObj->supplier)
|
|
|
|
|
<x-info-element icon_type="manufacturer" title="{{ trans('general.supplier') }}">
|
|
|
|
|
<strong>{{ trans('general.supplier') }}</strong>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element class="subitem">
|
|
|
|
|
{!! $contact->supplier->present()->formattedNameLink !!}
|
|
|
|
|
{!! $infoPanelObj->supplier->present()->formattedNameLink !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="contact-card" class="subitem" title="{{ trans('admin/suppliers/table.contact') }}">
|
|
|
|
|
{{ $contact->supplier->contact }}
|
|
|
|
|
{{ $infoPanelObj->supplier->contact }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
@if ($contact->supplier->present()->displayAddress)
|
|
|
|
|
@if ($infoPanelObj->supplier->present()->displayAddress)
|
|
|
|
|
<x-info-element class="subitem">
|
|
|
|
|
{!! nl2br($contact->supplier->present()->displayAddress) !!}
|
|
|
|
|
{!! nl2br($infoPanelObj->supplier->present()->displayAddress) !!}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="phone" class="subitem" title="{{ trans('general.phone') }}">
|
|
|
|
|
<x-info-element.phone title="{{ trans('general.phone') }}">
|
|
|
|
|
{{ $contact->supplier->phone }}
|
|
|
|
|
{{ $infoPanelObj->supplier->phone }}
|
|
|
|
|
</x-info-element.phone>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="email" class="subitem" title="{{ trans('general.email') }}">
|
|
|
|
|
<x-info-element.email>
|
|
|
|
|
{{ $contact->supplier->email }}
|
|
|
|
|
{{ $infoPanelObj->supplier->email }}
|
|
|
|
|
</x-info-element.email>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="external-link" class="subitem" title="{{ trans('general.url') }}">
|
|
|
|
|
<x-info-element.url>
|
|
|
|
|
{{ $contact->supplier->url }}
|
|
|
|
|
{{ $infoPanelObj->supplier->url }}
|
|
|
|
|
</x-info-element.url>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
@@ -229,82 +229,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->parent)
|
|
|
|
|
@if ($infoPanelObj->parent)
|
|
|
|
|
<x-info-element icon_type="parent" title="{{ trans('admin/locations/table.parent') }}">
|
|
|
|
|
{{ $contact->parent->display_name }}
|
|
|
|
|
{{ $infoPanelObj->parent->display_name }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->depreciation && $contact->purchase_date)
|
|
|
|
|
@if ($infoPanelObj->depreciation && $infoPanelObj->purchase_date)
|
|
|
|
|
<x-info-element icon_type="depreciation" title="{{ trans('general.depreciation') }}">
|
|
|
|
|
{!! $contact->depreciation->present()->nameUrl !!}
|
|
|
|
|
({{ $contact->depreciation->months.' '.trans('general.months')}})
|
|
|
|
|
{!! $infoPanelObj->depreciation->present()->nameUrl !!}
|
|
|
|
|
({{ $infoPanelObj->depreciation->months.' '.trans('general.months')}})
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="depreciation-calendar" title="{{ trans('general.depreciates') }}">
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->depreciated_date(), 'date', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->depreciated_date(), 'date', false) }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->eol)
|
|
|
|
|
@if ($infoPanelObj->eol)
|
|
|
|
|
<x-info-element icon_type="eol" title="{{ trans('general.eol') }}">
|
|
|
|
|
{{ $contact->eol .' '.trans('general.months') }}
|
|
|
|
|
{{ $infoPanelObj->eol .' '.trans('general.months') }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="email" title="{{ trans('general.email') }}">
|
|
|
|
|
<x-info-element.email title="{{ trans('general.email') }}">
|
|
|
|
|
{{ $contact->email }}
|
|
|
|
|
{{ $infoPanelObj->email }}
|
|
|
|
|
</x-info-element.email>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
@if ($contact->phone)
|
|
|
|
|
@if ($infoPanelObj->phone)
|
|
|
|
|
<x-info-element icon_type="phone" title="{{ trans('general.phone') }}">
|
|
|
|
|
<x-info-element.phone>
|
|
|
|
|
{{ $contact->phone }}
|
|
|
|
|
{{ $infoPanelObj->phone }}
|
|
|
|
|
</x-info-element.phone>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->fax)
|
|
|
|
|
@if ($infoPanelObj->fax)
|
|
|
|
|
<x-info-element icon_type="fax" title="{{ trans('general.fax') }}">
|
|
|
|
|
<x-info-element.phone>
|
|
|
|
|
{{ $contact->fax }}
|
|
|
|
|
{{ $infoPanelObj->fax }}
|
|
|
|
|
</x-info-element.phone>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="external-link" title="{{ trans('general.url') }}">
|
|
|
|
|
<x-info-element.url>
|
|
|
|
|
{{ $contact->url }}
|
|
|
|
|
{{ $infoPanelObj->url }}
|
|
|
|
|
</x-info-element.url>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
<x-info-element icon_type="external-link" title="{{ trans('admin/manufacturers/table.support_url') }}">
|
|
|
|
|
<x-info-element.url>
|
|
|
|
|
{{ $contact->support_url }}
|
|
|
|
|
{{ $infoPanelObj->support_url }}
|
|
|
|
|
</x-info-element.url>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if (($contact->present()->displayAddress) && (config('services.google.maps_api_key')))
|
|
|
|
|
@if (($infoPanelObj->present()->displayAddress) && (config('services.google.maps_api_key')))
|
|
|
|
|
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
<img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($contact->address.','.$contact->city.' '.$contact->state.' '.$contact->country.' '.$contact->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-thumbnail img-responsive" style="width: 100%" alt="Map">
|
|
|
|
|
<img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($infoPanelObj->address.','.$infoPanelObj->city.' '.$infoPanelObj->state.' '.$infoPanelObj->country.' '.$infoPanelObj->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-thumbnail img-responsive" style="width: 100%" alt="Map">
|
|
|
|
|
</div>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ((($contact->address!='') && ($contact->city!='')) || ($contact->state!='') || ($contact->country!=''))
|
|
|
|
|
@if ((($infoPanelObj->address!='') && ($infoPanelObj->city!='')) || ($infoPanelObj->state!='') || ($infoPanelObj->country!=''))
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<a class="btn btn-sm btn-theme" href="https://maps.google.com/?q={{ urlencode($contact->address.','. $contact->city.','.$contact->state.','.$contact->country.','.$contact->zip) }}" target="_blank">
|
|
|
|
|
<a class="btn btn-sm btn-theme" href="https://maps.google.com/?q={{ urlencode($infoPanelObj->address.','. $infoPanelObj->city.','.$infoPanelObj->state.','.$infoPanelObj->country.','.$infoPanelObj->zip) }}" target="_blank">
|
|
|
|
|
{!! trans('admin/locations/message.open_map', ['map_provider_icon' => '<i class="fa-brands fa-google" aria-hidden="true"></i>']) !!}
|
|
|
|
|
<x-icon type="external-link"/>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<a class="btn btn-sm btn-theme" href="https://maps.apple.com/?q={{ urlencode($contact->address.','. $contact->city.','.$contact->state.','.$contact->country.','.$contact->zip) }}" target="_blank">
|
|
|
|
|
<a class="btn btn-sm btn-theme" href="https://maps.apple.com/?q={{ urlencode($infoPanelObj->address.','. $infoPanelObj->city.','.$infoPanelObj->state.','.$infoPanelObj->country.','.$infoPanelObj->zip) }}" target="_blank">
|
|
|
|
|
{!! trans('admin/locations/message.open_map', ['map_provider_icon' => '<i class="fa-brands fa-apple" aria-hidden="true"></i>']) !!}
|
|
|
|
|
<x-icon type="external-link"/>
|
|
|
|
|
</a>
|
|
|
|
|
@@ -312,43 +312,43 @@
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->months)
|
|
|
|
|
@if ($infoPanelObj->months)
|
|
|
|
|
<x-info-element title="{{ trans('general.months') }}">
|
|
|
|
|
{{ $contact->months }}
|
|
|
|
|
{{ $infoPanelObj->months }}
|
|
|
|
|
{{ trans('general.months') }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->depreciation_type)
|
|
|
|
|
@if ($infoPanelObj->depreciation_type)
|
|
|
|
|
<x-info-element title="{{ trans('general.depreciation_type') }}">
|
|
|
|
|
@if ($contact->depreciation_type == 'amount')
|
|
|
|
|
@if ($infoPanelObj->depreciation_type == 'amount')
|
|
|
|
|
{{ trans('general.depreciation_options.amount') }}
|
|
|
|
|
@elseif ($contact->depreciation_type == 'percent')
|
|
|
|
|
@elseif ($infoPanelObj->depreciation_type == 'percent')
|
|
|
|
|
{{ trans('general.depreciation_options.amount') }}
|
|
|
|
|
@endif
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->purchase_cost)
|
|
|
|
|
@if ($infoPanelObj->purchase_cost)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<x-icon type="cost" class="fa-fw" title="{{ trans('general.purchase_cost') }}" />
|
|
|
|
|
{{ Helper::formatCurrencyOutput($contact->purchase_cost) }}
|
|
|
|
|
{{ Helper::formatCurrencyOutput($infoPanelObj->purchase_cost) }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->purchase_date)
|
|
|
|
|
@if ($infoPanelObj->purchase_date)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<x-icon type="calendar" class="fa-fw" title="{{ trans('general.purchase_date') }}" />
|
|
|
|
|
{{ trans('general.purchased_plain') }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->purchase_date, 'datetime', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->purchase_date, 'datetime', false) }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->maintained))
|
|
|
|
|
@if (isset($infoPanelObj->maintained))
|
|
|
|
|
<x-info-element title="{{ trans('general.maintained') }}">
|
|
|
|
|
@if ($contact->maintained == 1)
|
|
|
|
|
@if ($infoPanelObj->maintained == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" />
|
|
|
|
|
{{ trans('admin/licenses/form.maintained') }}
|
|
|
|
|
@else
|
|
|
|
|
@@ -358,9 +358,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->reassignable))
|
|
|
|
|
@if (isset($infoPanelObj->reassignable))
|
|
|
|
|
<x-info-element title="{{ trans('admin/licenses/form.reassignable') }}">
|
|
|
|
|
@if ($contact->reassignable == 1)
|
|
|
|
|
@if ($infoPanelObj->reassignable == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" />
|
|
|
|
|
{{ trans('admin/licenses/form.reassignable') }}
|
|
|
|
|
@else
|
|
|
|
|
@@ -370,9 +370,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->requestable))
|
|
|
|
|
@if (isset($infoPanelObj->requestable))
|
|
|
|
|
<x-info-element title="{{ trans('general.requestable') }}">
|
|
|
|
|
@if ($contact->requestable == 1)
|
|
|
|
|
@if ($infoPanelObj->requestable == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" />
|
|
|
|
|
{{ trans('admin/hardware/general.requestable') }}
|
|
|
|
|
@else
|
|
|
|
|
@@ -382,9 +382,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->use_default_eula))
|
|
|
|
|
@if (isset($infoPanelObj->use_default_eula))
|
|
|
|
|
<x-info-element>
|
|
|
|
|
@if ($contact->eula_text=='')
|
|
|
|
|
@if ($infoPanelObj->eula_text=='')
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" title="{{ trans('general.yes') }}" />
|
|
|
|
|
{{ trans('admin/settings/general.default_eula_text') }}
|
|
|
|
|
@else
|
|
|
|
|
@@ -395,9 +395,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->require_acceptance))
|
|
|
|
|
@if (isset($infoPanelObj->require_acceptance))
|
|
|
|
|
<x-info-element>
|
|
|
|
|
@if ($contact->require_acceptance == 1)
|
|
|
|
|
@if ($infoPanelObj->require_acceptance == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" title="{{ trans('general.yes') }}" />
|
|
|
|
|
@else
|
|
|
|
|
<x-icon type="x" class="fa-fw text-danger" title="{{ trans('general.no') }}" />
|
|
|
|
|
@@ -406,9 +406,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->checkin_email))
|
|
|
|
|
@if (isset($infoPanelObj->checkin_email))
|
|
|
|
|
<x-info-element>
|
|
|
|
|
@if ($contact->checkin_email == 1)
|
|
|
|
|
@if ($infoPanelObj->checkin_email == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" title="{{ trans('general.yes') }}" />
|
|
|
|
|
@else
|
|
|
|
|
<x-icon type="x" class="fa-fw text-danger" title="{{ trans('general.no') }}" />
|
|
|
|
|
@@ -417,9 +417,9 @@
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (isset($contact->alert_on_response))
|
|
|
|
|
@if (isset($infoPanelObj->alert_on_response))
|
|
|
|
|
<x-info-element>
|
|
|
|
|
@if ($contact->require_acceptance == 1)
|
|
|
|
|
@if ($infoPanelObj->require_acceptance == 1)
|
|
|
|
|
<x-icon type="checkmark" class="fa-fw text-success" title="{{ trans('general.yes') }}"/>
|
|
|
|
|
@else
|
|
|
|
|
<x-icon type="x" class="fa-fw text-danger" title="{{ trans('general.no') }}"/>
|
|
|
|
|
@@ -429,22 +429,22 @@
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->tag_color)
|
|
|
|
|
@if ($infoPanelObj->tag_color)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<x-icon type="square" class="fa-fw" style="color: {{ $contact->tag_color }}" title="{{ trans('general.tag_color') }}"/>
|
|
|
|
|
{{ $contact->tag_color }}
|
|
|
|
|
<x-icon type="square" class="fa-fw" style="color: {{ $infoPanelObj->tag_color }}" title="{{ trans('general.tag_color') }}"/>
|
|
|
|
|
{{ $infoPanelObj->tag_color }}
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->adminuser)
|
|
|
|
|
@if ($infoPanelObj->adminuser)
|
|
|
|
|
<x-info-element title="{{ trans('general.created_by') }}">
|
|
|
|
|
<span class="text-muted">
|
|
|
|
|
<x-icon type="user" class="fa-fw" title="{{ trans('general.created_by') }}" />
|
|
|
|
|
{{ trans('general.created_by') }}
|
|
|
|
|
@can('view', $contact->adminuser)
|
|
|
|
|
<a href="{{ route('users.show', $contact->adminuser) }}"> {{ $contact->adminuser->display_name }}</a>
|
|
|
|
|
@can('view', $infoPanelObj->adminuser)
|
|
|
|
|
<a href="{{ route('users.show', $infoPanelObj->adminuser) }}"> {{ $infoPanelObj->adminuser->display_name }}</a>
|
|
|
|
|
@else
|
|
|
|
|
{{ $contact->adminuser->display_name }}
|
|
|
|
|
{{ $infoPanelObj->adminuser->display_name }}
|
|
|
|
|
@endcan
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
@@ -452,32 +452,32 @@
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if ($contact->created_at)
|
|
|
|
|
@if ($infoPanelObj->created_at)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<span class="text-muted">
|
|
|
|
|
<x-icon type="calendar" class="fa-fw" title="{{ trans('general.created_at') }}" />
|
|
|
|
|
{{ trans('general.created_plain') }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->created_at, 'datetime', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->created_at, 'datetime', false) }}
|
|
|
|
|
</span>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->updated_at)
|
|
|
|
|
@if ($infoPanelObj->updated_at)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<span class="text-muted">
|
|
|
|
|
<x-icon type="calendar" class="fa-fw" title="{{ trans('general.updated_at') }}" />
|
|
|
|
|
{{ trans('general.updated_plain') }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->updated_at, 'datetime', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->updated_at, 'datetime', false) }}
|
|
|
|
|
</span>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($contact->deleted_at)
|
|
|
|
|
@if ($infoPanelObj->deleted_at)
|
|
|
|
|
<x-info-element>
|
|
|
|
|
<span class="text-muted">
|
|
|
|
|
<x-icon type="deleted-date" class="fa-fw" title="{{ trans('general.deleted_at') }}" />
|
|
|
|
|
{{ trans('general.deleted_plain') }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($contact->deleted_at, 'datetime', false) }}
|
|
|
|
|
{{ Helper::getFormattedDateObject($infoPanelObj->deleted_at, 'datetime', false) }}
|
|
|
|
|
</span>
|
|
|
|
|
</x-info-element>
|
|
|
|
|
@endif
|
|
|
|
|
|