@for($i = 0; $i < $count; $i++) @if ($i === 0) @if ( !empty(config('custom.segment_ratecodes')[$i+1]) ) @endif @else @if (!empty($companies[$i])) @else @endif @if ( !empty(config('custom.segment_ratecodes')[$i+1]) ) @endif @endif @endfor {{-- @foreach($companies as $key=>$c) @if ( !empty(config('custom.segment_ratecodes')[$key]) ) @endif @endforeach --}}
Company Title Name Address City Country Email Phone Main Segment Segments: Note:
PT Dummy Company Jalan dummy Semarang Indonesia dummy@example.com 081****** 1 {{$i+1}}:{{config('custom.segment_ratecodes')[$i+1]}}Please input segment column follow the example, just the number of segment list.
Don't forget to fill rate code, coa, guest contact after new upload
{{$companies[$i]->comp_title}} {{$companies[$i]->name}} {{$companies[$i]->address}} {{$companies[$i]->city}} {{$companies[$i]->country}} {{$companies[$i]->email}} {{$companies[$i]->phone}} {{$companies[$i]->main_segment}} {{$i+1}}:{{config('custom.segment_ratecodes')[$i+1]}}
{{$c->comp_title}} {{$c->name}} {{$c->address}} {{$c->city}} {{$c->country}} {{$c->email}} {{$c->phone}} {{$c->main_segment}} {{config('custom.segment_ratecodes')[$key]}}