Un-doing last 2 committs about invoices
This commit is contained in:
parent
aab4b634bf
commit
5530142174
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue