Un-doing last 2 committs about invoices
This commit is contained in:
parent
aab4b634bf
commit
5530142174
1 changed files with 1 additions and 7 deletions
|
@ -165,13 +165,7 @@ class BillingController extends Zend_Controller_Action {
|
||||||
Billing::addVatToInvoice($result["invoiceid"]);
|
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"]);
|
self::viewInvoice($result["invoiceid"]);
|
||||||
} else {
|
|
||||||
$this->view->form = $form;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->view->form = $form;
|
$this->view->form = $form;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue