@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @php $is_official = userAllowedUnofficial(); $current_date = \Carbon\Carbon::now()->format('Y-m-d'); function branch($id) { $branch = App\Models\Branch::find($id); return $branch->name; } function block($id) { $block = App\Models\Block::find($id); return $block->name; } @endphp @section('content') {{--
Printing Date & Time: {{ $extra['current_date_time'] }}
--}}{{__('lang.serial_no')}} | {{__('lang.registration_no')}} | {{__('lang.product')}} | {{__('lang.customer_name')}} | {{__('lang.customer_contact')}} | {{__('lang.booking_date')}} | {{__('lang.last_payment_date')}} | {{--Block | --}} {{--Property Type | --}} {{--Total Receivable | Paid Amount {{$transaction->systemSettingCurrency()}} | Balance | Total collection percentage | Till Month balance | --}} @if($terms != null) @foreach($terms as $term_key => $term){{$term}} | @endforeach @endif|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$loop->iteration}} | {{$schedule->registration_no}} | {{$schedule->product}} | {{$schedule->customer}} | {{$schedule->phone}} | {{--{{$schedule->block}} | --}} {{--{{$schedule->type}} | --}}{{$schedule->sale_date}} | {{$schedule->last_payment_date}} | {{--{{$transaction->convert_money_format($schedule->total_receivable)}} | {{$transaction->convert_money_format($schedule->paid_amount)}} | {{$transaction->convert_money_format($schedule->balance)}} | {{$transaction->convert_money_format($total_collection_percentage)}} % | {{$transaction->convert_money_format($schedule->till_month_balance)}} | --}} @foreach($terms as $term_wise_key => $term_wise_data) @if($schedule_data[$term_wise_data][$schedule->sell_id] != null) @php $total_amount[$term_wise_key] += $schedule_data[$term_wise_data][$schedule->sell_id]; @endphp{{$transaction->convert_money_format($schedule_data[$term_wise_data][$schedule->sell_id])}} | @else0 | @endif @endforeach
{{__('lang.total')}}: | {{--{{ $transaction->convert_money_format($g_total_receivable)}} | {{ $transaction->convert_money_format($g_total_paid_amount)}} | {{ $transaction->convert_money_format($g_total_balance)}} | {{ $transaction->convert_money_format($g_total_till_month_balance)}} | --}} @if($terms != null) @foreach($terms as $term_wise_key => $term_wise_data){{$transaction->convert_money_format($total_amount[$term_wise_data])}} | @endforeach @endif
{{__('lang.from')}} : | {{ date('Y-m-d', strtotime(str_replace('-', '/', $search['from']))) }} | |
{{__('lang.to')}} : | {{ date('Y-m-d', strtotime(str_replace('-', '/', $search['to']))) }} | |
Search Till : | {{ $current_date }} | |
{{__('lang.from')}} : | {{ date('Y-m-d', strtotime(str_replace('-', '/', $search['from']))) . ' to ' . date('Y-m-d', strtotime(str_replace('/', '-', $search['to']))) }} | |
{{__('lang.project')}} : | {{ branch($search['project']) ?? 'All' }} | |
{{__('lang.block')}} : | @if($search['block'] != 0){{ block($search['block']) ?? 'All' }} | @else{{__('lang.all')}} | @endif
{{__('lang.mode_of_payment')}}: | @if($search['mode_of_Payment'] != 0){{ $search['mode_of_Payment'] }} | @else{{__('lang.all')}} | @endif
{{__('lang.registration_no')}}: | {{ $search['registeration'] ?? 'N/A' }} |
{{__('lang.registration_no')}} | {{__('lang.unit')}} | {{__('lang.customer')}} | {{__('lang.contact_no')}} | {{__('lang.booking_date')}} | {{__('lang.last_payment_date')}} | {{__('lang.total_dues')}} | @if($is_official){{__('lang.unofficial_received')}} | {{__('lang.official_received')}} | @endif{{__('lang.total_received')}} | {{__('lang.total_cost')}} | {{__('lang.booked_by')}} |
---|---|---|---|---|---|---|---|---|---|---|---|
{{$schedule->registration_no}} | {{$schedule->product}} | {{$schedule->customer}} | {{$schedule->phone}} | {{$schedule->sale_date}} | {{$schedule->last_payment_date}} | {{$transaction->convert_money_format($schedule->till_month_balance[$schedule->sell_id])}} | @if($is_official){{$transaction->convert_money_format($schedule->Official_payment_receive)}} | {{$transaction->convert_money_format($schedule->Un_official_payment_receive)}} | @endif{{$transaction->convert_money_format($schedule->Combine_payment_receive)}} | {{$transaction->convert_money_format($schedule->cost)}} | {{$schedule->created_by}} |