diff --git a/html/pages/bills.inc.php b/html/pages/bills.inc.php index ae54227d9..ef69e3738 100644 --- a/html/pages/bills.inc.php +++ b/html/pages/bills.inc.php @@ -45,12 +45,12 @@ $pagetitle[] = "Billing"; echo(""); -if ($_GET['opta'] == "history") +if ($vars['view'] == "history") { include("pages/bills/search.inc.php"); include("pages/bills/pmonth.inc.php"); } -elseif ($_GET['opta'] == "add") +elseif ($vars['view'] == "add") { if (is_numeric($vars['port'])) { diff --git a/html/pages/bills/search.inc.php b/html/pages/bills/search.inc.php index 67432a5dd..d2e073b46 100644 --- a/html/pages/bills/search.inc.php +++ b/html/pages/bills/search.inc.php @@ -37,18 +37,19 @@
Current Billing Period');
} else
{
- echo('
Previous Billing Period');
+ // FIXME - generate_url
+ echo('
Previous Billing Period');
}
?>
Add Bill
+
Add Bill