forked from 77media/video-flow
fix price
This commit is contained in:
parent
339671c738
commit
967fe95ccc
@ -79,7 +79,7 @@ function HomeModule5() {
|
||||
? plan.price_month / 100
|
||||
: plan.price_year / 100,
|
||||
originalPrice: plan.price_month / 100,
|
||||
monthlyPrice: billingType === "month" ? 0 : plan.price_year / 1200,
|
||||
monthlyPrice: billingType === "month" ? 0 : Math.round(plan.price_year / 12) / 100,
|
||||
discountMsg: `Saves $${(plan.price_month * 12 - plan.price_year) / 100} by billing yearly!`,
|
||||
credits: plan.description,
|
||||
buttonText: plan.is_free ? "Try For Free" : "Subscribe Now",
|
||||
|
||||
@ -1244,7 +1244,7 @@ function HomeModule5() {
|
||||
? plan.price_month / 100
|
||||
: plan.price_year / 100,
|
||||
originalPrice: plan.price_month / 100,
|
||||
monthlyPrice: billingType === "month" ? 0 : plan.price_year / 1200,
|
||||
monthlyPrice: billingType === "month" ? 0 : Math.round(plan.price_year / 12) / 100,
|
||||
discountMsg: `Saves $${(plan.price_month * 12 - plan.price_year) / 100} by billing yearly!`,
|
||||
credits: plan.description,
|
||||
buttonText: plan.is_free ? "Try For Free" : "Subscribe Now",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user