Files
dictia-public/static/js/roi_calculator.js

23 lines
725 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ROI calculator for DictIA pricing section.
// Hypotheses transparentes (cf. footnote dans landing.html) :
// - 80% du temps de transcription manuelle est économisé
// - 220 jours ouvrables/an
// - Coût annuel comparé = DictIA 16 = 5 750 $ + (201 $ × 12) = 8 162 $
function roiCalculator() {
return {
users: 5,
hours: 2,
rate: 200,
get savings() {
const hoursSaved = this.users * this.hours * 0.8 * 220;
return Math.round(hoursSaved * this.rate);
},
get payback() {
const annualCost = 5750 + (201 * 12);
if (this.savings <= 0) return 999;
return Math.max(1, Math.round((annualCost / this.savings) * 12));
}
};
}
window.roiCalculator = roiCalculator;