{{ config('settings.company_name')}}
{{ config('settings.address_1') }}
{{$heading}}
@if($search_by['from'] && $search_by['to']) From: {{ $transaction->date_format($search_by['from']) }} To: {{ $transaction->date_format($search_by['to']) }} @else {{ 'Upto ' .$transaction->date_format(now()) }} @endif
@php $counter = 1; $total_received_amount = 0; $total_amount = 0; @endphp @if (empty($extra['branch_name'])) @endif @foreach($infos as $info) @php if($info->type == 'general') { $route = route('jnl_voucher.edit',[$info->id ]); $edit = $general_receipt_edit; } @endphp {{-- {{dd($infos)}} --}} @if (empty($extra['branch_name'])) @endif @php $dr_total +=$info->dr; $cr_total +=$info->cr; @endphp @endforeach @if (empty($extra['branch_name'])) @endif @if (!empty($extra['branch_name'])) @endif
{{__('lang.serial_no')}} {{__('lang.jv_no')}} {{__('lang.account_head')}}{{__('lang.project')}}{{__('lang.particular')}} {{__('lang.reference')}} {{__('lang.dr')}} {{__('lang.cr')}} {{__('lang.voucher_date')}} {{__('lang.created_by')}}
{{ $counter }} {{$info->jv_no}} {{$info->Head}} ({{$info->g_name}}){{$info->name}}{{ $info->particular ==''?'-':$info->particular }} {{ !empty($info->references) ? $info->references->implode('reference' , ',') : '-'}} {{$transaction->convert_money_format($info->dr)}}{{$transaction->convert_money_format($info->cr)}} {{ $transaction->date_format(str_replace('/','-',$info->Date))}} {{App\Models\User::where('email',trim($info->created_by))->first()->name ?? '-'}}
{{__('lang.total')}} {{$transaction->convert_money_format($dr_total)}} {{$transaction->convert_money_format($cr_total)}}