@foreach($_metrics as $_metric_label => $_metric)
@if($_metric == 'ranking_page')
@else
@if ($_metric === 'maps_rank')
{!! ordinal($totals['current_data'][$category->id][$location->id][$_metric]) !!}
@elseif ($_metric === 'organic_top_rank')
{!! ordinal($totals['current_data'][$category->id][$location->id][$_metric]) !!}
@else
{{$totals['current_data'][$category->id][$location->id][$_metric]}}
@endif
{!! $_metric_label !!}
{{-- @if(isset($totals['previous_data'][$category->id][$location->id]) && $totals['previous_data'][$category->id][$location->id][$_metric] != 0 && $totals['current_data'][$category->id][$location->id][$_metric])--}}
{{-- {!! kw_rank_compare($totals['current_data'][$category->id][$location->id], $totals['previous_data'][$category->id][$location->id], $_metric, $show_down) !!}--}}
{{-- @endif--}}
@endif
@endforeach