@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @section('content')
@include('admin.partials.header', ['extra' => $extra]) @foreach ($cancel_sells as $cancel_sell ) @php $total_due_amount = []; $total_due_amount = $cancel_sell->due_terms->sum('payable_amount'); $total_dues = count($cancel_sell->due_terms); $total_amount += $total_due_amount; @endphp @endforeach
{{__('lang.serial_no')}} {{__('lang.registration_no')}} {{__('lang.project')}} {{__('lang.customer')}} {{__('lang.phone')}} {{__('lang.property_unit_id')}} {{__('lang.block')}} {{__('lang.category')}} {{__('lang.size')}} {{__('lang.total_due_till_month')}} {{__('lang.total_dues')}} {{__('lang.sale_status')}}
{{ $loop->iteration }} {{ $cancel_sell->registration_no }} {{ $cancel_sell->branch->name}} {{ $cancel_sell->customer->name }} {{ $cancel_sell->customer->phone }} {{ $cancel_sell->product->product_unique_id }} {{ $cancel_sell->product->block->name ?? '-'}} {{ $cancel_sell->product->category->name ?? '-'}} {{ $cancel_sell->product->flat_size }} {{ $cancel_sell->product->size_in }} {{ $transaction->convert_money_format($total_due_amount ?? 0) }} {{ $total_dues }} {{ $cancel_sell->status }}
{{__('lang.total')}} {{ $transaction->convert_money_format($total_amount,2) }}
@stop