@extends('layouts.app') @section('content')
Lead Request Details
Lead Details:
Name {{ $details->name }}
Email {{ $details->primary_email }}
Phone {{ $details->primary_phone }}
Created Date {{ date('d M, Y', strtotime($details->created_at)) }}
Current Status {{ $statuses['options'][$project->status] ?? 'NA' }}
Prospect Details:
Project Type {{ $project->project_type ? $project->project_type->title : 'NA' }}
Plant Type {{ ucwords(str_replace('_', ' ', $project->plant_type)); }}
Entity Type {{ ucwords($details->type) }}
Project Template {{ $project->project_template ? $project->project_template->title : "NA" }}
Capacity {{ $project->capacity ? $project->capacity : "NA" }}
Remarks: {{ $project->remarks }}

Exact Requirement:

@if($exact_requirement) {{ $exact_requirement->template ? $exact_requirement->template->title : '' }}
Description: {{$exact_requirement->description}} @else NA @endif

Site Survey Request:

@if($survey_details) Address: {{$survey_details->address}}, {{$survey_details->city}}
Date: {{ date('d M, Y', strtotime($survey_details->survey_date)) }} {{ date('h:i A', strtotime($survey_details->survey_time)) }}
Description: {{$survey_details->description}} @else NA @endif

Appliances Load Details:

@foreach($loads as $key => $row) @endforeach

Meter Reading Details:

{{ $project->units_based_capacity }} KWH
@foreach($months as $key => $row) @endforeach
@if(!$is_customer)
Communication History Create Comment
@foreach($comments as $key => $obj) @endforeach
Sr. Date Comment Priority User Comment Date
{{ $key+1 }} {{ $obj->act_time ? date('d M, Y, h:i A', strtotime($obj->act_time)) : '-' }} {{ $obj->comment }} {{ $obj->priority }} {{ $obj->user->name }} {{ date('d M, Y, h:i A', strtotime($obj->created_at)) }}
@endif
@include('view-modals/enquiry_comment_add') @include('view-modals/enquiry_change_status') @stop @section('scripting') @endsection