@extends('admin::layouts.master') @section('page_title') {{ $lead->title }} @stop @section('css') @stop @section('content-wrapper')
{!! view_render_event('admin.leads.view.header.before', ['lead' => $lead]) !!} {!! view_render_event('admin.leads.view.header.after', ['lead' => $lead]) !!} {!! view_render_event('admin.leads.view.informations.before', ['lead' => $lead]) !!}
{!! view_render_event('admin.leads.view.informations.details.before', ['lead' => $lead]) !!}
{{ __('admin::app.leads.details') }} @if (($days = $lead->rotten_days) > 0) {{ __('admin::app.leads.rotten-info', ['days' => $days]) }} @endif
@include('admin::common.custom-attributes.view', [ 'customAttributes' => app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([ 'entity_type' => 'leads', ]), 'entity' => $lead, ]) @if ($lead->stage->code == 'lost')
{{ __('admin::app.leads.lost-reason') }}
{{ $lead->lost_reason }}
@endif
{!! view_render_event('admin.leads.view.informations.details.after', ['lead' => $lead]) !!} {!! view_render_event('admin.leads.view.informations.contact_person.before', ['lead' => $lead]) !!}
{{ __('admin::app.leads.contact-person') }}
Email
@include ('admin::common.custom-attributes.view.email', ['value' => $lead->person->emails])
Contact Numbers
@include ('admin::common.custom-attributes.view.phone', ['value' => $lead->person->contact_numbers])
Organization
@if ($lead->person->organization) {{ $lead->person->organization->name }} @else {{ __('admin::app.common.not-available') }} @endif
{!! view_render_event('admin.leads.view.informations.contact_person.after', ['lead' => $lead]) !!} {!! view_render_event('admin.leads.view.informations.products.before', ['lead' => $lead]) !!}
{{ __('admin::app.leads.products') }}
@if ($lead->products->count())
@foreach ($lead->products as $product)
{{ $product->name }}
{{ $product->price }}
{{ $product->quantity }}
{{ $product->price * $product->quantity }}
@endforeach
@else
{{ __('admin::app.common.no-records-found') }}
@endif
{!! view_render_event('admin.leads.view.informations.products.after', ['lead' => $lead]) !!}
@include('admin::leads.view.stage') @include('admin::leads.view.activity-action') @include('admin::leads.view.activity-list')
{!! view_render_event('admin.leads.view.informations.after', ['lead' => $lead]) !!}
@stop @push('scripts') @endpush