@extends('layouts.app') @section('content')
@if ($message = Session::get('success')) @endif

Account Details

Account Name: {{ $account->first_name . ' ' . $account->last_name }}
Phone: {{ $account->primary_phone_no }}
Email: {{ strtolower($account->primary_email) }}
Address: {{ $account->address }}

Site Beneficiary Details

@if($beneficiary)
SITE ID: {{ $beneficiary->lead_id }}
GSTIN: {{ $beneficiary->gstin }}
Business Type: {{ $beneficiary->business_type }}
Name: {{ $beneficiary->name }}
Address: {{ $beneficiary->address }}
Billing Address: {{ $beneficiary->billing_address }}
Shipping Address: {{ $beneficiary->shipping_address }}
Contact Person Name: {{ $beneficiary->contact_person_name }}
Contact Person Phone: {{ $beneficiary->contact_person_phone }}
Contact Person Email: {{ strtolower($beneficiary->contact_person_email) }}
@else

No beneficiary details available.

@endif

Comments

{{ Form::open(['url' => '/lead/comment/store']) }} @csrf {{ Form::hidden('lead_id_fk', $data->id) }}
{{ Form::textarea('comment', '', ['class' => 'form-control', 'required' => '', 'placeholder' => 'Leave Your Comment', 'rows' => 3]) }}
{{ Form::submit('Submit', ['class' => 'btn btn-dark']) }} {{ Form::close() }}
  • Comments @foreach ($comments as $row)

       Comment {{ date('d M, Y H:i', strtotime($row->created_at)) }}

    {{ $row->comment }} - By {{ $row->user->name }}

    @endforeach

Roof Inspection Images

@foreach ([ 'facing_south' => 'Facing South', 'facing_north' => 'Facing North', 'facing_west' => 'Facing West', 'roof_layout' => 'Roof Layout' ] as $field => $label) @if (!empty($sitedetail->$field))
{{ $label }} {{ $label }}
@endif @endforeach
×
@endsection @section('scripting') @endsection