fannie/reports/ProductMovement/ProductPerCashier.php
Method form_content
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function form_content()
{
global $FANNIE_URL;
$stores = FormLib::storePicker();
ob_start();
Method fetch_report_data
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fetch_report_data()
{
$dbc = $this->connection;
$dbc->selectDB($this->config->get('OP_DB'));
$date1 = $this->form->date1;