{!! trans('messages.subscription.change_plan.checkout.coinpayments', [ 'price' => $customer->calcChangePlan($newPlan)['amount'], 'current_plan' => $subscription->plan->name, 'new_plan' => $newPlan->name, 'end_on' => Acelle\Library\Tool::formatDate($subscription->ends_at), 'amount' => Acelle\Library\Tool::format_price($customer->calcChangePlan($newPlan)['amount'], $newPlan->currency->format) ]) !!}

{{ csrf_field() }}