{{ $installment->main_title }}

{{ nl2br($installment->description) }}

@if(!empty($installment->capacity)) @php $reachedCapacityPercent = $installment->reachedCapacityPercent(); @endphp @if($reachedCapacityPercent > 0)
{{ trans('update.percent_capacity_reached',['percent' => $reachedCapacityPercent]) }}
@endif @endif @if(!empty($installment->banner))
{{ $installment->main_title }}
@endif @if(!empty($installment->options))
@php $installmentOptions = explode(\App\Models\Installment::$optionsExplodeKey, $installment->options); @endphp @foreach($installmentOptions as $installmentOption)
{{ $installmentOption }}
@endforeach
@endif
@php $totalPayments = $installment->totalPayments($itemPrice ?? 1); $installmentTotalInterest = $installment->totalInterest($itemPrice, $totalPayments); @endphp
{{ handlePrice($totalPayments) }} {{ trans('update.total_payment') }} @if($installmentTotalInterest > 0) ({{ trans('update.percent_interest',['percent' => $installmentTotalInterest]) }}) @endif
{{ !empty($installment->upfront) ? (trans('update.amount_upfront',['amount' => handlePrice($installment->getUpfront($itemPrice))]) . ($installment->upfront_type == "percent" ? " ({$installment->upfront}%)" : '')) : trans('update.no_upfront') }}
@foreach($installment->steps as $installmentStep)
{{ $installmentStep->getDeadlineTitle($itemPrice) }}
@endforeach
{{ trans('update.pay_with_installments') }}