@extends('layouts.app') @section('title') Detail of Customer Transfer Property Statement @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

{{env('APP_NAME')}}

Account Statement Before Transfer

  Member Information

@php $ownerArray[] =$transferproperty->owner->name; if(!empty($transferproperty->owner->first_owner)) { $ownerArray[] = $transferproperty->owner->first_owner; } if(!empty($transferproperty->owner->second_owner)) { $ownerArray[] = $transferproperty->owner->second_owner; } @endphp
Member Name: @if(count($ownerArray) > 1) {{$transferproperty->owner->name}}, {{$transferproperty->owner->first_owner}}, {{$transferproperty->owner->second_owner}} @else {{$transferproperty->owner->name}} @endif S/O: @if(count($ownerArray) > 1) {{$transferproperty->owner->father_name}}, {{$transferproperty->owner->first_owner_father}}, {{$transferproperty->owner->second_owner_father}} @else {{$transferproperty->owner->father_name}} @endif
Contact #: {{$transferproperty->owner ? $transferproperty->owner->mobile_number : ''}} Address: {{$transferproperty->owner->mailing_address}}
CNIC No. @if(count($ownerArray) > 1) {{str_replace('_' , '' , $transferproperty->owner->cnic)}}, {{$transferproperty->owner->first_owner_cnic}}, {{$transferproperty->owner->second_owner_cnic}} @else @if(($i == 5 || $i == 12) && $transferproperty->owner->type == 0) - @endif @endif
{{-- Unit Detail --}}

  Unit's Details

Floor / Street: {{$data['floor_street']}}
Block: {{$data['block']}}
Category: {{$data['category']}}
Size: {{$data['size']}}
Total Price: {{$data['total_price']}}
Net Amt.: {{$data['net_amt']}}
Schedule Start Date: {{$data['schedule_start_date'] }}
Unit/Plot No.: {{$data['unit_plot_no']}}
Unit Type: {{$data['unit_type']}}
Area: {{$data['area']}}
Discount: {{$data['discount']}}
Category Cost: {{$data['category_cost'] }}
Booking Type: {{$data['booking_type'] }}
Booking Date: {{$data['booking_date'] }}
{{-- End Unit Detail --}} {{-- Rebate's Info --}} {{--
  Rebate's Info +
--}} {{-- End Rebate's Info --}} {{-- Payment Detail --}}

  Payment Detail

Net Price: {{$data['net_amt']}} Received Amount: {{number_format($amount)}}    ({{number_format($receivedAmtPer , 2)}} % ) Outstanding Amt: {{number_format($outstandingAmt)}}    ({{number_format($outstandingAmtPer , 2)}} % )
PDC. {{number_format($pdc_receipt)}}    ({{number_format($pdcReceiptPer , 2)}} % ) Paid Surcharge {{number_format($paidSurcharge)}}
{{-- End Payment Detail --}}
@foreach($periorities as $periority) @foreach($transferproperty->transferhistory as $statement) @if($statement->due > 0 && ($statement->payment_head == $periority->payment_head ) || ($statement->payment_head == \App\CustomerStatement::other && !in_array($statement->payment_head , $otherArray))) @php if($statement->payment_head == \App\CustomerStatement::other) { $otherArray[] = $statement->payment_head; } @endphp @if($statement->balance > 0 && $statement->due_date < Carbon\Carbon::today()) @else @endif @if($statement->payment_head == \App\CustomerStatement::down_payment) @elseif($statement->payment_head == \App\CustomerStatement::possession) @elseif($statement->payment_head == \App\CustomerStatement::installment) @elseif($statement->payment_head == \App\CustomerStatement::other) @elseif($statement->payment_head == \App\CustomerStatement::allotment) @elseif($statement->payment_head == \App\CustomerStatement::confirmation) @elseif($statement->payment_head == \App\CustomerStatement::booking) @elseif($statement->payment_head == \App\CustomerStatement::development) @elseif($statement->payment_head == \App\CustomerStatement::file_processing) @elseif($statement->payment_head == \App\CustomerStatement::registration) @else @endif @if($statement->is_deleted == false) @if($statement->receipt) @if($statement->receipt->payment_method == \App\Receipt::cash) @elseif($statement->receipt->payment_method == \App\Receipt::bank) @elseif($statement->receipt->payment_method == \App\Receipt::adjustment) @elseif($statement->receipt->payment_method == \App\Receipt::cheque) @elseif($statement->receipt->payment_method == \App\Receipt::merging) @else @endif @else @endif @else @endif @if($statement->is_deleted == false) @if($statement->received) @else @endif @else @endif @endif @endforeach @endforeach
Payment Head Due Date Due Amt. Received Amt. Balance Payment Mode Receipt # Receipt Date Surcharge Amt Balance Amt.
@if( $property->booking_type == \App\CustomerProperty::full_payment) {{'Full Payment'}} @else {{'Down Payment'}} @endif Possession Fee @if (!str_contains($statement->inst_no , '-b')) Installment - {{str_replace('-a' , '' , $statement->inst_no)}} @else       Installment @endif OtherAllotmentConfirmationBookingDevelopmentFile ProcessingRegistration {{date('d-m-Y', strtotime($statement->due_date)) }} {{number_format($statement->due)}} @if($statement->is_deleted == false){{number_format($statement->received)}} @else 0 @endif @if($statement->is_deleted == false){{number_format($statement->balance)}} @else {{number_format($statement->due)}} @endif CashBankAdjustmentChequeMerging@if($statement->is_deleted == false) {{$statement->rcpt_no}} @endif @if($statement->is_deleted == false) {{ $statement->rcpt_date ? date('d-m-Y', strtotime($statement->rcpt_date)) : '' }} @endif {{number_format($statement->surcharge)}} {{number_format($total)}}
Total {{number_format($due)}} {{number_format($received)}} Total WaveOff ({{$waiveOff}}) {{number_format($surcharge - $waiveOff)}} {{number_format($total)}}

@if($property->booking_type == \App\CustomerProperty::full_payment ) @if($property->fullPayment)

Discount Payment Terms


Total Amount : {{number_format($property->fullPayment->total_amount)}}
Discount Percentage : {{$property->fullPayment->discount_percentage}} %
Discount Amount {{number_format($property->fullPayment->discount_amount)}}
Net Amount {{number_format($property->fullPayment->discount_amount - $property->fullPayment->deduction_amount)}}
@if($property->fullPayment->return_tenure == \App\CustomerProperty::monthly) @elseif($property->fullPayment->return_tenure == \App\CustomerProperty::quarterly) @elseif($property->fullPayment->return_tenure == \App\CustomerProperty::semi_annually) @elseif($property->fullPayment->return_tenure == \App\CustomerProperty::annually) @else @endif
Total Tenure : {{$property->fullPayment->total_tenure}} months
Return Tenure : Monthly Quarterly Semi Annually Annually
Deduction Amount : {{number_format($property->fullPayment->deduction_amount)}}
@foreach($property->fullPaymentStatement as $statement) @endforeach
inst # Due Date Due Amount Paid Amount Receipt # Receipt Date Balance Amount
{{$count++}} {{date('d-m-Y', strtotime($statement->due_date)) }} {{number_format($statement->due)}} {{number_format($statement->received)}} {{$statement->receipt_no}} {{ $statement->receipt_date ? date('d-m-Y', strtotime($statement->receipt_date)) : '' }} {{number_format($statement->due - $statement->received)}}
Total {{number_format($due)}} {{number_format($received)}} {{number_format($balance)}}
@endif @endif @if($taxs)

Property Tax Record

@foreach($taxs as $tax) @if($tax->statement->payment_head == \App\CustomerStatement::down_payment) @elseif($tax->statement->payment_head == \App\CustomerStatement::possession) @elseif($tax->statement->payment_head == \App\CustomerStatement::installment) @elseif($tax->statement->payment_head == \App\CustomerStatement::other) @elseif($tax->statement->payment_head == \App\CustomerStatement::allotment) @elseif($tax->statement->payment_head == \App\CustomerStatement::confirmation) @elseif($tax->statement->payment_head == \App\CustomerStatement::booking) @elseif($tax->statement->payment_head == \App\CustomerStatement::development) @elseif($tax->statement->payment_head == \App\CustomerStatement::file_processing) @elseif($tax->statement->payment_head == \App\CustomerStatement::registration) @else @endif @endforeach
Sr # inst # Tax Pay By Payment Received Status CPR
{{$sr++}}Down PaymentPossession FeeInstallment - {{$tax->statement->inst_no}}OtherAllotmentConfirmationBookingDevelopmentFile ProcessingRegistration {{number_format($tax->tax)}} @if($tax->tax_pay_by == \App\Receipt::customer) Customer @else Company @endif {{$tax->tax_payment_received == \App\CustomerPropertyTax::paid ? 'YES' : 'NO'}} {{$tax->status == \App\CustomerPropertyTax::paid ? 'Paid' : 'UnPaid'}} @if($tax->status)
Reference # {{$tax->reference}} @endif
@if($tax->cpr)  Download @endif
Total {{number_format($sum)}}
@endif
@stop @section('js') @stop