@if(calcGrowth($growthCurrent, $growthPrevious) > 0)
@include('icons.trending_up', ['class' => 'fill-current width-3 height-3'])
{{ str_replace(['-', __('.') . '0'], '', number_format(calcGrowth($growthCurrent, $growthPrevious), 1, __('.'), __(','))) }}%
@elseif(calcGrowth($growthCurrent, $growthPrevious) < 0)
@include('icons.trending_down', ['class' => 'fill-current width-3 height-3'])
{{ str_replace(['-', __('.') . '0'], '', number_format(calcGrowth($growthCurrent, $growthPrevious), 1, __('.'), __(','))) }}%
@else @if($growthCurrent == $growthPrevious && $growthCurrent > 0)
@elseif(!$growthPrevious)
{{ __('No prior data') }}
@else
{{ __('No current data') }}
@endif @endif