Show plan updated confirmation on invoices page
This commit is contained in:
parent
0ab1eaa08c
commit
52b8f3af87
|
@ -100,9 +100,11 @@ class BillingController extends Zend_Controller_Action {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//If there were no changes to the plan or billing cycle, we just redirect you to the
|
||||||
|
//invoices screen and show a message.
|
||||||
if (!$placeAnUpgradeOrder)
|
if (!$placeAnUpgradeOrder)
|
||||||
{
|
{
|
||||||
$this->_redirect('billing/invoices');
|
$this->_redirect('billing/invoices?planupdated');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,17 @@
|
||||||
<div class="ui-widget ui-widget-content block-shadow clearfix padded-strong billing-panel">
|
<div class="ui-widget ui-widget-content block-shadow clearfix padded-strong billing-panel">
|
||||||
<H2>Invoices</H2>
|
<H2>Invoices</H2>
|
||||||
<p style="text-align: center;"><?=_("Tip: To pay an invoice, click \"View Invoice\"<br> and look for the \"Checkout\" button.")?></p>
|
<?php
|
||||||
|
if (array_key_exists("planupdated", $_GET))
|
||||||
|
{
|
||||||
|
$topText = _("<b>Thank you!</b> Your plan has been updated and you will be invoiced during your next billing cycle.");
|
||||||
|
$topTextClass = "status-good";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$topText = _("Tip: To pay an invoice, click \"View Invoice\"<br> and look for the \"Checkout\" button.");
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<p style="text-align: center; padding-left: 20px;" class="<?=$topTextClass?>"><?=$topText?></p>
|
||||||
<table id="invoices_table">
|
<table id="invoices_table">
|
||||||
<tr class="header">
|
<tr class="header">
|
||||||
<th>Date Issued</th>
|
<th>Date Issued</th>
|
||||||
|
|
Loading…
Reference in New Issue