Un-doing last 2 committs about invoices

This commit is contained in:
drigato 2015-07-31 12:01:26 -04:00
parent aab4b634bf
commit 5530142174
1 changed files with 1 additions and 7 deletions

View File

@ -165,13 +165,7 @@ class BillingController extends Zend_Controller_Action {
Billing::addVatToInvoice($result["invoiceid"]);
}
// invoice id can be 0 if client is downgrading and they don't
// owe any money
if (!empty($result["invoiceid"])) {
self::viewInvoice($result["invoiceid"]);
} else {
$this->view->form = $form;
}
self::viewInvoice($result["invoiceid"]);
}
} else {
$this->view->form = $form;