{{-- @extends('docs.master', ['title' => 'Payment Schedule '.$model->number]) --}} @extends(($model->value_master == 2) ? 'docs.mastertwo' : 'docs.master', ['title'=> 'Payment Schedule '.$model->number]) @section('content')
{{-- logo

Empire Developments


Customer Statment

{{-- Customer Details --}}


PDS/ALLOTMENT NO.:
{{$model->allotment_no}},
@foreach($model->clients as $client)
{{--
customer Name:
--}}
{{$client->client->person}}({{$client->client->id}}),
@endforeach {{-- @if($model->client != null)
Address:
{{($model->client->billing_address) ? $model->client->billing_address : '-'}},
Work Phone:
{{($model->client->work_phone) ? $model->client->work_phone : '-'}},
Mobile Number:
{{($model->client->mobile_number)?$model->client->mobile_number:'-'}},
@endif --}}
 
{{--
Unit Details
--}}

Block:
{{($model->buildingname)?$model->buildingname:'-'}}
Unit No:
{{($model->unitname)?$model->unitname:'-'}}
Category:
{{($model->classname)}}
{{--
Gross Area:
{{($model->area)?$model->area .'Sqr. Ft.':'-'}},
--}}
Booking Date:
{{ date('d-M-y', strtotime($model->booking_date)) }}
{{--
Unit Price
{{($model->price)?number_format($model->price,0):'-'}},
--}} {{-- @if($model->discount > 0 )
Discount
{{($model->discount)?number_format($model->discount,0):'0'}},
@endif --}} {{--
Total Extra Charges
{{($model->total_extra_charges!=0)? number_format($model->total_extra_charges,0): '-'}},
--}} {{--
Net Payable
{{number_format(($model->net_payable),0)}}
--}} {{--
Receipts
{{number_format(collect($model->installments)->sum('mount_received'),0)}}
--}} {{--
Balance
{{number_format(($model->net_payable- collect($model->installments)->sum('mount_received')),0)}}
--}}

@section('heading')

Statement Of Account

@endsection {{--

Statement Of Account

--}}

{{-- --}} @php ($totaldue = 0) @php ($totalreceived = 0) {{-- @php ($sr =1) --}} @foreach($model->installments as $item) @if($item->IsInstallment) @else {{-- --}} @endif @endforeach {{-- --}}
Sr.Description Due Date Due Amount Paid On Recieved Amount Balance
{{$item->paymenttypedetail}}
{{ date('d-M-y', strtotime($item->date1)) }}
@php ($totaldue += $item->due) {{number_format($item->due,2)}}   @php ($totalreceived += $item->mount_received) - {{number_format($totaldue-$totalreceived,2)}}
{{$sr++}} {{-- {{$item->paymenttypedetail}} --}} Receipt   @if($item->chq_no) CHQ#{{$item->chq_no}} @endif {{--
{{ date('d-M-y', strtotime($item->date1)) }}
--}}
{{--
{{ date('d-M-y', strtotime($item->date1)) }}
--}}
{{ date('d-M-y', strtotime($item->date1)) }}
@php ($totaldue += $item->due) @php ($totalreceived += $item->mount_received) {{-- @dd($item->mount_received); --}} {{number_format($item->mount_received,2)}} {{number_format($totaldue-$totalreceived,2)}}
  Total {{number_format(collect($model->installments)->sum('due'),2)}}   {{number_format($totalreceived,2)}} {{number_format((collect($model->installments)->sum('due')-collect($model->installments)->sum('mount_received')),2)}}
Balance {{collect($model->installments)->sum('mount_received')}} {{number_format($totaldue)}}

Notes:

1.The Installment amount is the round-off figure, any extra/short amount paid shall be adjusted in the last installment.

2.You are requested to pay your outstanding dues in prescribe dates to avoid accumulation of surcharge/cancellation of allotment.

3.This is a system generated document, does not require signature.

4.In Case of any Query Please Contact Our Customer Care Department or email at info@empiredevelopments.pk.


Printed On: {{date('d-m-Y h:i:s A')}} by {{Auth::User()->name}}

@endsection