@csrf
File No : {{ isset($booking)?$booking->file_no:'' }}
Customer Name : @if(isset($booking) && isset($booking->customer)) {{ $booking->customer->firstname??'' }} {{ $booking->customer->lastname??'' }} @endif
Project Name : @if(isset($booking) && isset($booking->project)) {{ $booking->project->project_name??'' }} @endif
Block Name : @if(isset($booking) && isset($booking->block)) {{ $booking->block->block_name??'' }} @endif
Road Name : @if(isset($booking) && isset($booking->road)) {{ $booking->road->road_name??'' }} @endif
{{ __('cruds.plot_name') }} : @if(isset($booking) && isset($booking->plot)) {{ $booking->plot->plot_name??'' }} @endif
{{ __('cruds.plot_size') }} : @if(isset($booking) && isset($booking->plot)) {{ $booking->plot->plot_size??'' }} @endif
{{ __('cruds.plot_price') }} : @if(isset($booking)) {{ money_format_bd($booking->plot_price ?? 0) }} @endif
{{-- payment date & payment mode --}} {{-- 06Nov2025 Html starts (Shakib) --}}
@if($errors->has('collection_date')) {{ $errors->first('collection_date') }} @endif
@php $modes = ['Cash','Cheque','Direct Deposit (Cash)','Direct Deposit (Cheque)', 'Fund Transfer', 'Pay Order', 'Demand Draft']; @endphp @if($errors->has('collection_mode')) {{ $errors->first('collection_mode') }} @endif
{{--
 
--}} {{-- Direct Deposite Cash Starts --}} {{-- Direct Deposite Cheque Starts --}} {{-- Fund Transfer Starts --}} {{-- Pay Order Starts --}} {{-- Deman Draft Starts --}}
{{-- 06Nov2025 Html ends (Shakib) --}} {{-- cheque no --}}
{{-- pyment collection head --}}
{{-- 10Nov2025 Frontend Work Starts(Shakib) --}} {{-- 10Nov2025 Frontend Work Ends(Shakib) --}} @php $total_due_amount = 0; @endphp @foreach ($payment_schedule_details as $details) @php $collection_details = $collection_details ?? collect([]); $previous_collection = $collection_details->where('payment_schedule_detail_id', $details->id)->sum('schedule_amount'); $due_amount = $details->payment_amount - $previous_collection; // total due if($due_amount > 0) { $total_due_amount += $due_amount; } @endphp @if($due_amount > 0) @endif @endforeach
{{ __('cruds.collection_head') }} {{ __('cruds.schedule_date') }}Previous Balance{{ __('cruds.due_collection') }} {{ __('cruds.current_collection') }}
{{ $details->payment_name ?? '' }} {{ $details->payment_date ?? '' }} {{ money_format_bd($previous_collection ?? 0) }} {{ money_format_bd($due_amount ?? 0) }}
Total : {{ $total_due_amount }}