fannie/item/TaxReview.php
Method get_id_view
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
$sort = FormLib::get('sort');
$sort = $sort == 'Newest' ? 'MAX(created)' : 'SUM(auto_par)';
$exc = FormLib::get('exc');
Method get_view
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_view()
{
$depts = new DepartmentsModel($this->connection);
$dOpts = $depts->toOptions();
$this->addScript('../src/javascript/chosen/chosen.jquery.min.js');