@extends('layouts.pdf') @section('title') {{ $extra['module_name'] }} @endsection @section('content') {{--
Printing Date & Time: {{ $extra['current_date_time'] }}
--}}{{__('lang.serial_no')}} | {{__('lang.registration_no')}} | {{__('lang.unit_no')}} | {{__('lang.customer')}} | {{__('lang.internal_dealer')}} | {{--Internal Rebate | --}}{{__('lang.external_dealer')}} | {{--External Rebate | --}}{{__('lang.schedule')}} {{$transaction->systemSettingCurrency()}} | {{__('lang.total_collection')}} | {{__('lang.total_collection')}} (%) | {{__('lang.receipts')}} | {{__('lang.collected_terms')}} | {{__('lang.collected_terms')}} {{$transaction->systemSettingCurrency()}} | {{__('lang.till_month_balance')}} | {{__('lang.total_outstanding_balance')}} | {{__('lang.sale_status')}} | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $sell->registration_no}} | {{ $sell->product_id }} | {{ $sell->customer->name }} | @php $int_name = ""; if(!empty($sell->sell_internal_dealer_rebate)){ foreach($sell->sell_internal_dealer_rebate as $key_I => $int_emp){ $int_name .= $int_emp->DealerName->name . ',' . "\r\n"; } }else{ $int_name = "-"; } @endphp@php $ext_name = ""; if(!empty($sell->sell_external_dealer_rebate)){ foreach($sell->sell_external_dealer_rebate as $key_I => $ext_emp){ $ext_name .= $ext_emp->DealerName->name . ',' . "\r\n"; } }else{ $ext_name = "-"; } @endphp | {{-- | {{ $transaction->convert_money_format($sell->employee_rebate) ?? '0' }} | --}} {{--{{ $transaction->convert_money_format($sell->external_employee_rebate) ?? '0' }} | --}}{{ $transaction->convert_money_format($sell->total_schedule_amount) }} | {{ $transaction->convert_money_format($sell->total_received_amount) }} | {{ $total_collection_percent }}% | {{ $sell->receipt_no }} | {{ $sell->schedule_term }} | {{ $transaction->convert_money_format($sell->received_amount) }} | {{ $transaction->convert_money_format($sell->balance_amount) }} | {{ $transaction->convert_money_format($balance_amouont ) }} | {{ $sell->status }} | |
{{__('lang.total')}} | {{--{{ $transaction->convert_money_format($total_internal_rebate) }} | --}} {{----}} {{-- | {{ $transaction->convert_money_format($total_external_rebate) }} | --}}{{ $transaction->convert_money_format($grand_total_amount) }} | {{ $transaction->convert_money_format($grand_total_collection) }} | {{ $transaction->convert_money_format($total_received)}} | {{ $transaction->convert_money_format($grand_total)}} | {{ $transaction->convert_money_format($grand_total_amount-$grand_total_collection) }} | |||||||||
{{__('lang.total_collected')}} | {{ $transaction->convert_money_format($total_received) }} |