@php $canSale = ($bundle->canSale() and !$hasBought); @endphp
@if($hasBought or !empty($bundle->getInstallmentOrder())) @elseif(!isFreeModeEnabled() and !empty($bundle->price) and $bundle->price > 0) @if(!isFreeModeEnabled() and $canSale and !empty($bundle->points)) {!! trans('update.buy_with_n_points',['points' => $bundle->points]) !!} @endif @if(!isFreeModeEnabled() and $canSale and !empty(getFeaturesSettings('direct_bundles_payment_button_status'))) @endif @else {{ trans('update.enroll_on_bundle') }} @endif @if(!isFreeModeEnabled() and $canSale and $bundle->canUseSubscribe()) {{ trans('public.subscribe') }} @endif