@extends('docs.master', ['title'=> 'Unit Ledger']) @section('content')
  {{-- --}}


AL GHURIAR GIGA


Unit Ledger

{{-- 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
Furnishing
{{($model->furnishing!=0)? number_format($model->furnishing_cost,0): '-'}},
Net Price
{{number_format(($model->net_price),0)}}
Receipts
{{number_format(collect($model->installments)->sum('mount_received'),0)}}
Balance
{{number_format(($model->net_price- collect($model->installments)->sum('mount_received')),0)}}

@section('heading')

Statement Of Account

@endsection {{--

Statement Of Account

--}}


{{-- --}} {{ $count=1 }} @php($Total = 0); @foreach( $model->receipts as $item) {{-- --}} ; @php($Total += $item->amount_received) @endforeach
# Unit# Building Mode Type NarrationAgentPayment Date EntryDate Amount
{{ $count++ }} {{ $item->unitname }} {{ $item->buildingname }} {{ $item->paymentmodedetail }} {{ $item->paymenttypedetail }} {{ $item->remarks }}  {{ $item->chq_no }}  {{$item->bankname }} {{$item->branch }} {{$item->cityname }}{{ $item->agentinfo }}{{ 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.

2.Bank Charges Deducted will be Recovered from Customer (if any).

3.Untility Charges will be Payables at the time of Unit Possession.

4.In Case of any Query Please Contact Customer Care Department.


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


@endsection