CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/PIKiller/B2BInvoicePage.php

Summary

Maintainability
B
5 hrs
Test Coverage

Method get_id_view has 97 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function get_id_view()
    {
        if (!$this->invoice) {
            return '<div class="alert alert-danger">Invoice not found</div>' . $this->get_view();
        }
Severity: Major
Found in fannie/modules/plugins2.0/PIKiller/B2BInvoicePage.php - About 3 hrs to fix

    Method get_view has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function get_view()
        {
            $this->addOnloadCommand("\$('#inv-num').focus();");
            $this->addScript('../../../item/autocomplete.js');
            $this->addOnloadCommand("bindAutoComplete('#memSearch', '../../../ws/', 'mlastnamen');");
    Severity: Minor
    Found in fannie/modules/plugins2.0/PIKiller/B2BInvoicePage.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status