mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
7705acfa1f
Revert personal plan discount experiment to original pricing GitOrigin-RevId: 3134a187e4900570580c3717fe0e19077399eb4d
234 lines
4.5 KiB
JavaScript
234 lines
4.5 KiB
JavaScript
/* eslint-disable
|
|
camelcase,
|
|
max-len
|
|
*/
|
|
import App from '../base'
|
|
import getMeta from '../utils/meta'
|
|
App.factory('MultiCurrencyPricing', function () {
|
|
const currencyCode = getMeta('ol-recommendedCurrency')
|
|
|
|
return {
|
|
currencyCode,
|
|
|
|
plans: {
|
|
USD: {
|
|
symbol: '$',
|
|
student: {
|
|
monthly: '$8',
|
|
annual: '$80',
|
|
},
|
|
personal: {
|
|
monthly: '$13',
|
|
annual: '$120',
|
|
},
|
|
collaborator: {
|
|
monthly: '$19',
|
|
annual: '$180',
|
|
},
|
|
professional: {
|
|
monthly: '$38',
|
|
annual: '$360',
|
|
},
|
|
},
|
|
|
|
EUR: {
|
|
symbol: '€',
|
|
student: {
|
|
monthly: '€7',
|
|
annual: '€70',
|
|
},
|
|
personal: {
|
|
monthly: '€12',
|
|
annual: '€108',
|
|
},
|
|
collaborator: {
|
|
monthly: '€18',
|
|
annual: '€168',
|
|
},
|
|
professional: {
|
|
monthly: '€35',
|
|
annual: '€336',
|
|
},
|
|
},
|
|
|
|
GBP: {
|
|
symbol: '£',
|
|
student: {
|
|
monthly: '£6',
|
|
annual: '£60',
|
|
},
|
|
personal: {
|
|
monthly: '£10',
|
|
annual: '£96',
|
|
},
|
|
collaborator: {
|
|
monthly: '£15',
|
|
annual: '£144',
|
|
},
|
|
professional: {
|
|
monthly: '£30',
|
|
annual: '£288',
|
|
},
|
|
},
|
|
|
|
SEK: {
|
|
symbol: 'kr',
|
|
student: {
|
|
monthly: '60 kr',
|
|
annual: '600 kr',
|
|
},
|
|
personal: {
|
|
monthly: '92 kr',
|
|
annual: '876 kr',
|
|
},
|
|
collaborator: {
|
|
monthly: '138 kr',
|
|
annual: '1320 kr',
|
|
},
|
|
professional: {
|
|
monthly: '275 kr',
|
|
annual: '2640 kr',
|
|
},
|
|
},
|
|
CAD: {
|
|
symbol: '$',
|
|
student: {
|
|
monthly: '$9',
|
|
annual: '$90',
|
|
},
|
|
personal: {
|
|
monthly: '$14',
|
|
annual: '$132',
|
|
},
|
|
collaborator: {
|
|
monthly: '$22',
|
|
annual: '$204',
|
|
},
|
|
professional: {
|
|
monthly: '$43',
|
|
annual: '$408',
|
|
},
|
|
},
|
|
|
|
NOK: {
|
|
symbol: 'kr',
|
|
student: {
|
|
monthly: '60 kr',
|
|
annual: '600 kr',
|
|
},
|
|
personal: {
|
|
monthly: '92 kr',
|
|
annual: '876 kr',
|
|
},
|
|
collaborator: {
|
|
monthly: '138 kr',
|
|
annual: '1320 kr',
|
|
},
|
|
professional: {
|
|
monthly: '275 kr',
|
|
annual: '2640 kr',
|
|
},
|
|
},
|
|
|
|
DKK: {
|
|
symbol: 'kr',
|
|
student: {
|
|
monthly: '50 kr',
|
|
annual: '500 kr',
|
|
},
|
|
personal: {
|
|
monthly: '75 kr',
|
|
annual: '720 kr',
|
|
},
|
|
collaborator: {
|
|
monthly: '113 kr',
|
|
annual: '1080 kr',
|
|
},
|
|
professional: {
|
|
monthly: '225 kr',
|
|
annual: '2160 kr',
|
|
},
|
|
},
|
|
|
|
AUD: {
|
|
symbol: '$',
|
|
student: {
|
|
monthly: '$10',
|
|
annual: '$100',
|
|
},
|
|
personal: {
|
|
monthly: '$15',
|
|
annual: '$144',
|
|
},
|
|
collaborator: {
|
|
monthly: '$23',
|
|
annual: '$216',
|
|
},
|
|
professional: {
|
|
monthly: '$44',
|
|
annual: '$420',
|
|
},
|
|
},
|
|
|
|
NZD: {
|
|
symbol: '$',
|
|
student: {
|
|
monthly: '$10',
|
|
annual: '$100',
|
|
},
|
|
personal: {
|
|
monthly: '$15',
|
|
annual: '$144',
|
|
},
|
|
collaborator: {
|
|
monthly: '$23',
|
|
annual: '$216',
|
|
},
|
|
professional: {
|
|
monthly: '$44',
|
|
annual: '$420',
|
|
},
|
|
},
|
|
|
|
CHF: {
|
|
symbol: 'Fr',
|
|
student: {
|
|
monthly: 'Fr 8',
|
|
annual: 'Fr 80',
|
|
},
|
|
personal: {
|
|
monthly: 'Fr 13',
|
|
annual: 'Fr 120',
|
|
},
|
|
collaborator: {
|
|
monthly: 'Fr 19',
|
|
annual: 'Fr 180',
|
|
},
|
|
professional: {
|
|
monthly: 'Fr 38',
|
|
annual: 'Fr 360',
|
|
},
|
|
},
|
|
|
|
SGD: {
|
|
symbol: '$',
|
|
student: {
|
|
monthly: '$12',
|
|
annual: '$120',
|
|
},
|
|
personal: {
|
|
monthly: '$17',
|
|
annual: '$156',
|
|
},
|
|
collaborator: {
|
|
monthly: '$25',
|
|
annual: '$240',
|
|
},
|
|
professional: {
|
|
monthly: '$50',
|
|
annual: '$480',
|
|
},
|
|
},
|
|
},
|
|
}
|
|
})
|