@extends('app.dashboard') @section('content')
{{-- show history modal --}}
{{-- end show history modal --}}
@if(in_array($orderData[0]->status_id, [4, 5, 6, 10, 12, 13]))
Status: {{$orderData[0]->status_type}}
Reason:   {!! $statusHistory[count($statusHistory) - 1]->comments !!}
@endif
@foreach ($supportingdocs as $index => $linked_pdf) @if(!str_starts_with($linked_pdf->pdf_file, "Certificate") && !str_starts_with($linked_pdf->pdf_file, "Merged")) @if ($index % 4 === 0) @if ($index > 0) @endif @endif @endif @endforeach
{{$linked_pdf->pdf_file}}
{{-- Status indicater --}}
Product Type: Default {{-- {{$orderData[0]->product_type}} --}} Status: {{$orderData[0]->status_type}}
{{-- --}}
{{--
--}}
@csrf
@if(isset($orderData[0]->completion_date)) @else @endif
App #: {{$orderData[0]->app_number}} Property Address: {{$orderData[0]->property_addressline1}}
Ref #: {{$orderData[0]->plxrefno}} {{$orderData[0]->property_addressline2}}
Loan Ref #1: {{$orderData[0]->loan_ref_1}} # of Parcel(s): {{$orderData[0]->parcel_count}}
Loan Ref #2: {{$orderData[0]->loan_ref_2}} State: {{$orderData[0]->state}}
Applicants: {{$orderData[0]->buyer_name}} County: {{$orderData[0]->county}}
Completion Date: {!! date("m/d/Y", strtotime($orderData[0]->completion_date)) !!} Branch: @foreach ($CustomerList as $Customer) @if ($orderData[0]->customer_id == $Customer->id) @php $customerName = $Customer->branch_name @endphp @endif @endforeach
{!! isset($customerName) ? $customerName : '' !!}
{{-- Parcel Info Div --}}
{{-- Parcel Input --}}
Parcel Information
@csrf
@forelse ($parcels as $parcel) @if($tempid == 0)
Parcel - {{ $parcel->parcel_number }} @if(!(Session::get('user_type') == 'Client')) @endif
@else
Parcel - {{ $parcel->parcel_number }}
@endif
Legal Description: {{ $parcel->legal_description }}
@if(!(Session::get('user_type') == 'Client')) @endif
@empty
Parcel Number: Legal Description:
@if(!(Session::get('user_type') == 'Client')) @endif
@endforelse
@forelse ($parcels as $parcel) @if ($loop->iteration == 1) @endif @empty
Cancel
@endforelse
{{--
--}}
@foreach($orderData as $data)
Parcel# {{$data->parcel_number}}
{{-- water info --}}
Water Information
Water Status: {{$data->water_status}} Water Due Date: {{$data->water_due_date}}
Water Past Due: ${{$data->water_past_due}} Water Amt Due: ${{$data->water_amt_due}}
Water Summary: {!! nl2br($data->water_summary)!!}
@if(!(Session::get('user_type') == 'Client')) @endif

{{-- Sewer Info --}}
Sewer Information
Sewer Status: {{$data->sewer_status}} Sewer Due Date: {{$data->sewer_due_date}}
Sewer Past Due: ${{$data->sewer_past_due}} Sewer Amt Due: ${{$data->sewer_amt_due}}
Sewer Summary: {!! nl2br($data->sewer_summary)!!}
@if(!(Session::get('user_type') == 'Client')) @endif

{{-- Garbage Info --}}
Garbage Information
Garbage Status: {{$data->garbage_status}} Garbage Due Date: {{$data->garbage_due_date}}
Garbage Past Due: ${{$data->garbage_past_due}} Garbage Amt Due: ${{$data->garbage_amt_due}}
Garbage Summary: {!! nl2br($data->garbage_summary)!!}
@if(!(Session::get('user_type') == 'Client')) @endif

{{-- Utility Info --}}
Utility Information
Utility Status: {{$data->utility_status}} Utility Due Date: {{$data->utility_due_date}}
Utility Past Due: ${{$data->utility_past_due}} Utility Amt Due: ${{$data->utility_amt_due}}
Utility Summary: {!! nl2br($data->other_utility_summary)!!}
@if(!(Session::get('user_type') == 'Client')) @endif

{{-- other Info --}}
Other Information
Code Amt Due: ${{$data->code_amt_due}} Special Amt Due: ${{$data->special_amt_due}} Demolition: {{$data->demolition}}
Code Summary: {!! nl2br($data->code_summary) !!}
Special Summary: {!! nl2br($data->special_summary) !!}
Demolition Summary: {!! nl2br($data->demolition_summary) !!}
Permit Summary: {!! nl2br($data->permit_summary) !!}
@if(!(Session::get('user_type') == 'Client')) @endif
{{--
--}}
@endforeach {{-- Notes Info --}}
@if(!(Session::get('user_type') == 'Client')) @endif
@foreach($orderData as $data)
Notes# {{ $data->parcel_number }}
{{-- --}}
Code Violation
{!! $data->code_violation !!}
Permits
{!! $data->permits !!}
Special Assessment
{!! $data->special_assessment !!}
Demolition
{!! $data->demolition_permit !!}
Utilities
{!! $data->utility !!}
{{--
--}}
@endforeach
{{-- Additonal Fee info --}}
Additional Fee Information
@if(isset($additional_fee[0]->id)) @for ($i = 0; $i < count($additional_fee); $i++) @endfor @else @endif
Fee Description Fees Amount
@if(!(Session::get('user_type') == 'Client')) @endif

{{--ETA info --}}
Other Info
@csrf
@foreach ($statusHistory as $history) @if($history->status_id == 4 || $history->status_id == 12) @endif
User:{!! ucfirst($history->first_name) !!} {!! ucfirst($history->last_name) !!} Status: {{$history->status_type}} Follow Up: {!! isset($history->followup_date) ? date("m/d/Y", strtotime($history->followup_date)) : "" !!} ETA: {!! isset($history->eta_date) ? date("m/d/Y", strtotime($history->eta_date)) : "" !!} Date: {!! isset($history->updated_at) ? date("m/d/Y h:i:s A", strtotime($history->updated_at)) : "" !!}
{{$history->comments}}

@endforeach

{{-- supporting_docs --}}
Supporting Docs
Select All PDF's
    @foreach ($supportingdocs as $linked_pdf) @if(!str_starts_with($linked_pdf->pdf_file, "Certificate"))
  • {{$linked_pdf->pdf_file}}  
  • @endif @endforeach
@foreach ($supportingdocs as $linked_pdf) @if (str_starts_with($linked_pdf->pdf_file, "Merged")) @endif @endforeach
@csrf
@if(!(Session::get('user_type') == 'Client') || $orderData[0]->status_id == 8)
@endif
{{-- Test Shortcut submit --}} @endsection