{{-- Excel table title format start --}}
{{ config('settings.company_name') }}
{{ config('settings.address_1') }}
{{ $extra['branch'] ? $extra['branch']->name : 'All Projects' }} {{ $heading }} @if ($search_by['from'] && $search_by['to']) {{__('lang.from')}}: {{ $transaction->date_format($search_by['from']) }} {{__('lang.to')}}: {{ $transaction->date_format($search_by['to']) }} @else {{ 'Upto ' . $transaction->date_format(now()) }} @endif
{{-- Excel title format end --}} @foreach ($sells as $sell) @php $schedule_route = route('schedule_manage' ,['sell_id' => $sell->id]); $nominees_name = $nominees_f_name = $nominees_nic = $nominees_phone = $nominees_address = $nominees_relation = "-" ; if(count($sell->nominees) > 0){ $nominees_name = $sell->nominees->implode('name',',
'); $nominees_f_name = $sell->nominees->implode('so_do_wo',',
'); $nominees_nic = $sell->nominees->implode('nic',',
'); $nominees_phone = $sell->nominees->implode('phone',',
'); $nominees_address = $sell->nominees->implode('address',',
'); $nominees_relation = $sell->nominees->implode('relation',',
'); $nominees_address = str_replace('&', 'and', $nominees_address); } @endphp @endforeach
{{__('lang.sno')}} {{__('lang.registration_no')}} {{__('lang.customer_name')}} {{__('lang.father_or_husband_name')}} {{__('lang.nic')}} {{__('lang.phone')}} {{__('lang.address')}} {{__('lang.city')}} {{__('lang.gender')}} {{__('lang.nominee_name')}} {{__('lang.nominee_father_name')}} {{__('lang.nominee_nic')}} {{__('lang.nominee_phone')}} {{__('lang.nominee_address')}} {{__('lang.nominee_relation')}}
{{ $loop->iteration }} {{ $sell->registration_no }} {{ $sell->customer->name ?? '-' }} {{ $sell->customer->father_or_husband_name ?? '-' }} {{ $sell->customer->nid ?? '-'}} {{ $sell->customer->phone ?? '-'}} {{ $sell->customer->mailing_address ?? '-'}} {{ $sell->customer->city->name ?? '-'}} {{ $sell->customer->gender ?? '-'}} {!! $nominees_name !!} {!! $nominees_f_name !!} {!! $nominees_nic !!} {!! $nominees_phone !!} {!! $nominees_address !!} {!! $nominees_relation !!}