fannie/modules/plugins2.0/PIKiller/B2BInvoicePage.php
Method get_id_view
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
if (!$this->invoice) {
return '<div class="alert alert-danger">Invoice not found</div>' . $this->get_view();
}
Method get_view
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_view()
{
$this->addOnloadCommand("\$('#inv-num').focus();");
$this->addScript('../../../item/autocomplete.js');
$this->addOnloadCommand("bindAutoComplete('#memSearch', '../../../ws/', 'mlastnamen');");