@php $lang = App::getlocale(); @endphp @if ($lang == 'ar') @else @endif Petrojet @foreach (array_chunk($fromInput, 40) as $chunk)

Petrogas gasoline company
Industry castle .
Gas stove in Egypt

بتروجـــاس

شركة الغازات البترولية بتروجاس
قلعة صناعة
البوتاجاز فى مصر

{{$form->form->title_print}}

@foreach($chunk as $input) @if($loop->iteration % 2 != 0) @if($input['input_type'] == 'checkbox') @php $answer = $input['answer'] != null ?json_decode($input['answer'], true) :[0]; $checkboxName = \App\Models\fixedInputsElments::whereIn('id',$answer)->pluck('name')->toArray(); $tdVal = ''; if(!empty($checkboxName)){ $tdVal = '( ' . implode(' , ', $checkboxName) . ' )'; } @endphp @elseif($input['input_type'] == 'radio') @php $answer = $input['answer'] != null ?$input['answer'] :0; $checkboxName = \App\Models\fixedInputsElments::find($answer); $tdVal = ''; if(!empty($checkboxName)){ $tdVal = '( ' . $checkboxName->name . ' )'; } @endphp @elseif($input['input_type'] == 'file') @if($input['answer'] != null) @else @endif @else @endif @if($loop->last) @endif @else @if($input['input_type'] == 'checkbox') @php $answer = $input['answer'] != null ?json_decode($input['answer'], true) :[0]; $checkboxName = \App\Models\fixedInputsElments::whereIn('id',$answer)->pluck('name')->toArray(); $tdVal = ''; if(!empty($checkboxName)){ $tdVal = '( ' . implode(' , ', $checkboxName) . ' )'; } @endphp @elseif($input['input_type'] == 'radio') @php $answer = $input['answer'] != null ?$input['answer'] :0; $checkboxName = \App\Models\fixedInputsElments::find($answer); $tdVal = ''; if(!empty($checkboxName)){ $tdVal = '( ' . $checkboxName->name . ' )'; } @endphp @elseif($input['input_type'] == 'file') @if($input['answer'] != null) @else @endif @else @endif @endif @endforeach
{{ $input['form_input']['label']}}{{ $tdVal }}{{ $tdVal }}link {{ $input['answer'] }}
{{ $input['form_input']['label']}}{{ $tdVal }}{{ $tdVal }}link{{ $input['answer'] }}
@if(!$loop->last)

@endif @endforeach