@php $start = 0; $startingPhrase = __('From'); @endphp
@foreach($tiers as $tier)
{{$startingPhrase}} {{ $start }} - {{ $tier[\App\Constants\PlanPriceTierConstants::UNTIL_UNIT] }} {{ __(str()->plural($unitMeterName)) }}
→ @money($tier[\App\Constants\PlanPriceTierConstants::PER_UNIT], $currencyCode) / {{ __($unitMeterName) }}
@if ($tier[\App\Constants\PlanPriceTierConstants::FLAT_FEE] > 0)
+ @money($tier['flat_fee'], $currencyCode)
@endif
@php $start = intval($tier[\App\Constants\PlanPriceTierConstants::UNTIL_UNIT]) + 1; @endphp
@if($planPriceType === \App\Constants\PlanPriceType::USAGE_BASED_TIERED_GRADUATED->value)
@php $startingPhrase = __('Next'); @endphp
@endif
@endforeach