@extends('docs.master', [ 'title' => ($title ?? ($datas['title'] ?? 'Unit Ledger')) ]) @section('content')

Empire Developments


All Receipts

{{-- Customer Details --}}
Customer Name:
{{$model->customername}}
@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
Project:
{{($model->projectname)?$model->projectname:'-'}}
Building:
{{($model->buildingname)?$model->buildingname:'-'}}
Unit No:
{{($model->unitname)?$model->unitname:'-'}}
{{--
Gross Area:
{{($model->area)?$model->area .'Sqr. Ft.':'-'}},
--}}
Booking Date:
{{($model->booking_date)?$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 @if($model->discount > 0 )
Net Price
{{number_format(($model->net_price),0)}}
@endif
Total Extra Charges
{{($model->extra_charges>0)? number_format($model->extra_charges,0): '-'}}
@if($model->misc_charges > 0 )
Documentations Charges
{{($model->misc_charges >0)? number_format($model->misc_charges,0): '-'}}
@endif
Net Payable
{{number_format(($model->net_payable),0)}}
Receipts
{{number_format(collect($model->installments)->sum('mount_received'),0)}}
Balance
{{number_format(($model->net_price + $model->extra_charges+$model->misc_charges- collect($model->installments)->sum('mount_received')),0)}}

{{ $count=1 }} @php($Total = 0); @foreach( $model->receipts as $item) @php($Total += $item->amount_received) @endforeach
# Receipt# Mode Type Narration Chq# Payment Date EntryDate Amount
{{ $count++ }} {{ $item->number }} {{ $item->paymentmodedetail }} {{ $item->paymenttypedetail }} {{ $item->remarks }}  {{ $item->chq_no }}  {{$item->bankname }} {{$item->branch }} {{$item->cityname }} {{ $item->chq_no }} {{ date('d-m-Y', strtotime($item->payment_date)) }} {{ date('d-m-Y', strtotime($item->created_at)) }} {{ number_format($item->amount_received) }}

Notes:

1.Receipt Valid Subject to Realization of Cheque.


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


@endsection