{{$_metric_label}}
|
@foreach($categories as $category)
@foreach($locations as $location)
@if($_metric == 'ranking_page')
{{$totals['current_data'][$category->id][$location->id][$_metric]}}
@else
{{--{{$totals['previous_data'][$category->id][$location->id][$_metric]}}
---}}
@if ($_metric === 'maps_rank')
@if ($totals['current_data'][$category->id][$location->id][$_metric])
{!! ordinal($totals['current_data'][$category->id][$location->id][$_metric]) !!}
@endif
@else
{{$totals['current_data'][$category->id][$location->id][$_metric]}}
@endif
@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
@endforeach
@endforeach