@php $pos=1 @endphp @foreach($users as $user) @php $col=1 @endphp @php $totlin=6 /* 6 linhas de cartões*/ @endphp @php $lin=1 @endphp @for($cont=1;$cont<=( 2 * $totlin );$cont++) @if($col == 1) @endif @if($col == 1) @endif @if($col == 2) @if ($lin < $totlin) @php $lin = $lin + 1 @endphp @else

@if($user->inHlc() || $user->inAssistant()) Comissão de Ligação
com Hospitais @elseif($user->inPvg()) Grupo de Visitas a Pacientes @else Voluntário @endif

para as Testemunhas de Jeová

{!! $user->region ? ($user->region->description ? $user->region->description : " ") : " " !!}

{!! $user->short_name !!}

@if($user->inHlc() || $user->inPvg())

Ministro

@elseif($user->inAssistant())

Assistente

@endif

{{ !$user->inAssistant() ? 'Tel. (24h)' : '' }} {!! $user->phone_primary !!}

 

 

@if($cardemail==1)

{!! $emailsupport !!}

@elseif($cardemail==2)

{!! $user->region ? $user->region->email : $emailsupport !!}

@elseif($cardemail==3)

{!! $user->email !!}

@else

hid.br@jw.org

@endif

{!! $user->region ? (isset($user->region->address) ? nl2br($user->region->address) : ' ') : "" !!}

@if($pos < count($users))
@endif @endif @endif @php $col = ($col==1) ? 2 : 1 @endphp @endfor @php $pos = $pos + 1 @endphp @endforeach
> > > >