@using Microsoft.Extensions.Localization @model QRRapidoApp.Models.ViewModels.SelecaoPlanoViewModel @inject IStringLocalizer Localizer @{ ViewData["Title"] = "Escolha seu Plano Premium"; Layout = "~/Views/Shared/_Layout.cshtml"; var monthlyPlan = Model.Plans.FirstOrDefault(p => p.Interval == "month"); var yearlyPlan = Model.Plans.FirstOrDefault(p => p.Interval == "year"); var monthlyPrice = monthlyPlan?.PricesByCountry.GetValueOrDefault(Model.CountryCode)?.Amount ?? 0; var yearlyPrice = yearlyPlan?.PricesByCountry.GetValueOrDefault(Model.CountryCode)?.Amount ?? 0; var yearlySavings = (monthlyPrice * 12) - yearlyPrice; }

@Localizer["UnlockFullPowerQRRapido"]

@Localizer["UnlimitedAccessNoAdsExclusive"]

@if (monthlyPlan != null) {

@Localizer["MonthlyPlan"]

R$ @monthlyPrice.ToString("0.00") @Localizer["PerMonth"]

@Localizer["IdealToStartExploring"]

} @if (yearlyPlan != null) {

@Localizer["AnnualPlan"]

@Localizer["Recommended"]

R$ @yearlyPrice.ToString("0.00") @Localizer["PerYear"]
@if (yearlySavings > 0) {
@Localizer["SaveMoney"] @yearlySavings.ToString("0.00")!
}

@Localizer["BestValueFrequentUsers"]

}

@Localizer["AllPlansInclude"]

  • @Localizer["UnlimitedQRCodes"]
  • @Localizer["NoAds"]
  • @Localizer["DynamicQRCodes"]
  • @Localizer["RealTimeAnalytics"]
  • @Localizer["PrioritySupport"]
@section Scripts { }