diff --git a/templates/corporate/upgrade.html b/templates/corporate/upgrade.html
index 578d838537..4024e53249 100644
--- a/templates/corporate/upgrade.html
+++ b/templates/corporate/upgrade.html
@@ -127,69 +127,6 @@
-
-
diff --git a/web/src/billing/upgrade.ts b/web/src/billing/upgrade.ts
index 682b69e25e..92b697db11 100644
--- a/web/src/billing/upgrade.ts
+++ b/web/src/billing/upgrade.ts
@@ -5,7 +5,6 @@ import type {Prices} from "./helpers";
import {page_params} from "./page_params";
export const initialize = (): void => {
- helpers.set_tab("upgrade");
$("#add-card-button").on("click", (e) => {
const license_management = $(
"input[type=radio][name=license_management]:checked",
@@ -20,17 +19,6 @@ export const initialize = (): void => {
window.location.replace(response_data.stripe_session_url);
});
});
-
- $("#invoice-button").on("click", (e) => {
- if (!helpers.is_valid_input($("#invoiced_licenses"))) {
- return;
- }
- e.preventDefault();
- helpers.create_ajax_request("/json/billing/upgrade", "invoice", [], "POST", () =>
- window.location.replace("/billing/"),
- );
- });
-
const prices: Prices = {
annual: page_params.annual_price * (1 - page_params.percent_off / 100),
monthly: page_params.monthly_price * (1 - page_params.percent_off / 100),
@@ -46,15 +34,6 @@ export const initialize = (): void => {
$("#autopay_monthly_price").text(
`Pay monthly ($${helpers.format_money(prices.monthly)}/user/month)`,
);
- $("#invoice_annual_price").text(helpers.format_money(prices.annual));
- $("#invoice_annual_price_per_month").text(helpers.format_money(prices.annual / 12));
-
- helpers.update_charged_amount(
- prices,
- helpers.schedule_schema.parse(
- $("input[type=radio][name=schedule]:checked").val(),
- ),
- );
};
$(() => {