@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @section('content') {{--

Printing Date & Time: {{ $extra['current_date_time'] }}

--}}

{{ config('settings.company_name')}}

{{ config('settings.address_1') }}

{{--

Receipt No.

{{ $items['item']->receipt_no }}

--}}

{{ $search_by['branch'] == 0 ? 'ALL PROJECTS' : $items[0]->branch->name }} REPORT

@if(!empty($search_by['from']) && !empty($search_by['to']))

From: {{ date(Config('settings.date_format'),strtotime(trim(str_replace('/', '-', $search_by['from'])))) }} To: {{ date(Config('settings.date_format'),strtotime(trim(str_replace('/', '-', $search_by['to'])))) }}

@else

{{ $search_by['upto'] }}

@endif @php $total_payable_amount= 0; $total_received_amount = 0; $total_balance_amount= 0; $total_internal_rebate= 0; @endphp @if( !empty($items) ) @foreach( $items as $item ) @php $total_payable_amount+=$item->payable_amount; $total_received_amount+=$item->total_received; $total_balance_amount+=$item->balance; $total_internal_rebate+=$item->internal_rebate; $total_external_rebate+=$item->external_rebate; $total_net_sale_amount = ($total_payable_amount - $total_internal_rebate - $total_external_rebate); @endphp @endforeach @endif
Total Receivable Customer : {{$transaction->convert_money_format($total_payable_amount)}}
Total Paid Amount {{$transaction->systemSettingCurrency()}} :
Total Receivable : {{$transaction->convert_money_format($total_balance_amount)}}
Total Internal Rebate : {{$transaction->convert_money_format($total_internal_rebate)}}
Total External Rebate : {{$transaction->convert_money_format($total_external_rebate)}}
Net Sale {{$transaction->systemSettingCurrency()}} : {{$transaction->convert_money_format($total_net_sale_amount)}}
@if ($params['block'] != '0' ) @endif @if ($params['floor_number'] != '0' ) @endif @if ($params['product_type'] != '0' ) @endif
Block : {{ $params['block'] }}
Floor : {{ $params['floor_number'] }}
{{__('lang.type')}} : {{App\Models\ProductType::find($params['product_type'])->name}}

{{ csrf_field() }}