PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` @extends('layouts.app') @section('content')

Brief Details of: {{ $reference->name }}

@if(isset($total_sale))

{{$total_sale}}

@else

0

@endif

Total Sale

@if(isset($total_with))

{{$total_with}}

@else

0

@endif

Total withdraw

@if(isset($total_bal))

{{$total_bal}}

@else

0

@endif

Total income

@if(isset($due_amount))

{{$due_amount}}

@else

0

@endif

Due amount




Reference Information
Name {{ $reference->name }}
Father/Hus Name {{ $reference->father_name }}
Mother Name {{ $reference->mother_name }}
Profession {{ $reference->profession }}
Religion {{ $reference->religion }}
National ID {{ $reference->nid }}
Date Of Birth {{ Carbon\Carbon::parse( $reference->dob )->format('d-m-Y') }}
Present Address {{ $reference->present_address }}
Permanent Address {{ $reference->permanent_address }}
Signature Image

Balance Information
Total Withdraw Amount

{{ $total_with }}

Remain Amount

{{ $total_bal - $total_with }}


Sale List


@foreach ($sale as $sale ) member_id; $member= Member::where('id',$member_id) ->get(); $plot = App\Plot::where('id', $sale->plot_id)->first(); $company = Account::where('sell_id',$sale->id)->first(); $company_amount=$company->company_log; $ref_income=ReferenceIncome::where('sell_id', $sale->id)->sum('amount'); $total_wid = ReferenceWithdraw::where('sell_id', $sale->id)->sum('amount'); $incom = \App\ReferenceIncome::where('sell_id',$sale->id)->first(); if($company_amount- $ref_income>=50000) { $eiligible=$ref_income-$total_wid; } else if($company_amount>=50000) { $eiligible=($company_amount- 50000)-$total_wid; } else { $eiligible=0; } ?> @foreach ($member as $member )
Name Plot Details Commision plan Balance sheet Actions
{{ $member->name}} Block name: {{ $sale->block->title}}
File no: {{ $sale->sale_no }}
Plot no: {{ $sale->plot_no }}
Road no: {{ $plot->road }}
Booking amount: {{ $incom->booking_amount}}tk
এককালীন percentage: {{ $incom->ekkalin_per_amount}}%
Installment percentage: {{ $incom->installment_per_amount}}%
Total income: {{ $ref_income}}
Total withdraw: {{ $total_wid}}
Eligible withdraw amount: {{$eiligible}}
Veiw
@endforeach @endforeach
@endsection