$status->name, Lang::get('lang.priority')=>$priority->priority_desc, Lang::get('lang.department')=>$dept123->name, Lang::get('lang.email')=>Str::limit($user->email,30), Lang::get('lang.source')=>$ticket_source, Lang::get('lang.help_topic')=>$help_topic->topic, Lang::get('lang.last_message')=>Str::limit($username,30), Lang::get('lang.organization') => $LastResponse->getOrgWithLink(), ]; if($user->ban > 0){ array_push($array, [Lang::get('lang.this_ticket_is_under_banned_user')=>'']); } if($user->phone_number !=null){ array_push($array, [Lang::get('lang.phone')=>$user->phone_number]); } if($user->mobile !=null){ array_push($array, [Lang::get('lang.mobile')=>$user->mobile]); } $collection = collect($array); ?> @foreach($collection->chunk(4) as $chunk)
{!! $key !!}: | {!!$value!!} |