mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: pricing update (#7018)
* pricing update * change env variable name
This commit is contained in:
parent
e2399efbc5
commit
abadf8efe3
4 changed files with 6 additions and 6 deletions
|
|
@ -25,7 +25,7 @@ module.exports = {
|
|||
fn: async function ({ numberOfHosts }) {
|
||||
|
||||
// Determine the price, 1 dollar * host * month (Billed anually)
|
||||
let price = 1.00 * numberOfHosts * 12;
|
||||
let price = 2.00 * numberOfHosts * 12;
|
||||
|
||||
let quote = await Quote.create({
|
||||
numberOfHosts: numberOfHosts,
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ module.exports = {
|
|||
customer: this.req.me.stripeCustomerId,
|
||||
items: [
|
||||
{
|
||||
price: sails.config.custom.stripeSubscriptionProduct,
|
||||
price: sails.config.custom.stripeSubscriptionPriceId,
|
||||
quantity: quoteRecord.numberOfHosts,
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<div style="color: #515774;" class="order-last text-left text-sm-right col-12 col-sm-6 pr-0 pl-sm-4 pl-0 pt-sm-4">
|
||||
<p class="small">
|
||||
<strong class="pr-1" style="font-size: 18px; color: #192147">$1.00</strong>/month/device<br>(Billed annually at $12/device)
|
||||
<strong class="pr-1" style="font-size: 18px; color: #192147">$2.00</strong>/month/device<br>(Billed annually at $24/device)
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
<strong>Order total</strong>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<strong>${{(!showQuotedPrice || _.isNaN(formData.numberOfHosts * 12)) ? quotedPrice : formData.numberOfHosts * 12}}.00 /year</strong>
|
||||
<strong>${{(!showQuotedPrice || _.isNaN(formData.numberOfHosts * 24)) ? quotedPrice : formData.numberOfHosts * 24}}.00 /year</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div :class="[showBillingForm ? 'pt-2' : '' ]" v-if="!showBillingForm">
|
||||
|
|
|
|||
4
website/views/pages/pricing.ejs
vendored
4
website/views/pages/pricing.ejs
vendored
|
|
@ -78,10 +78,10 @@
|
|||
<p class="font-weight-bold mb-0">
|
||||
Premium
|
||||
</p>
|
||||
<h2 style="color: #6b6cfa">$1</h2>
|
||||
<h2 style="color: #6b6cfa">$2</h2>
|
||||
<p class="mb-0">/host/month</p>
|
||||
<p style="color: #8f8ea1; font-size: 13px" class="mb-0">
|
||||
(USD, billed annually at $12)
|
||||
(USD, billed annually at $24)
|
||||
</p>
|
||||
</div>
|
||||
<a
|
||||
|
|
|
|||
Loading…
Reference in a new issue