@if(calcGrowth($growthCurrent, $growthPrevious) > 0) {{ str_replace(['-', __('.') . '0'], '', number_format(calcGrowth($growthCurrent, $growthPrevious), 1, __('.'), __(','))) }}% @elseif(calcGrowth($growthCurrent, $growthPrevious) < 0) {{ 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