From 3d07260a9dbf8aff396ac81cdd0efb8b46006a51 Mon Sep 17 00:00:00 2001
From: Albert Santoni
Date: Thu, 17 Sep 2015 15:17:18 -0400
Subject: [PATCH 1/5] Small VAT checker bugfix
---
airtime_mvc/application/views/scripts/billing/upgrade.phtml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/airtime_mvc/application/views/scripts/billing/upgrade.phtml b/airtime_mvc/application/views/scripts/billing/upgrade.phtml
index 1843fcbbe..1a28873ec 100644
--- a/airtime_mvc/application/views/scripts/billing/upgrade.phtml
+++ b/airtime_mvc/application/views/scripts/billing/upgrade.phtml
@@ -28,6 +28,10 @@ function validatePlan()
function validateVATNumber()
{
+ if ($(vatFieldId).val() == '') {
+ return;
+ }
+
$.post("/billing/vat-validator", { "vatnumber" : $(vatFieldId).val(), "country" : $("#country").val() })
.success(function(data, textStatus, jqXHR) {
if (data["result"]) {
From 8308ce9cacd7e7bed2bc9a250d17e3c02653a6c5 Mon Sep 17 00:00:00 2001
From: Albert Santoni
Date: Thu, 17 Sep 2015 15:38:00 -0400
Subject: [PATCH 2/5] October promo banner
---
.../views/scripts/billing/upgrade.phtml | 4 ++++
airtime_mvc/public/css/billing.css | 22 +++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/airtime_mvc/application/views/scripts/billing/upgrade.phtml b/airtime_mvc/application/views/scripts/billing/upgrade.phtml
index 1a28873ec..3a9d47df6 100644
--- a/airtime_mvc/application/views/scripts/billing/upgrade.phtml
+++ b/airtime_mvc/application/views/scripts/billing/upgrade.phtml
@@ -264,6 +264,10 @@ echo($currentProduct["name"]);
//echo Application_Model_Preference::GetPlanLevel();
?>
+
+
Are you a student or educator?
+
Sign up on an annual plan before the end of October to receive a 45% educational discount. Find out more.
+
Choose a plan: