fannie/reports/SalePreview/SalePreviewReport.php
Method report_description_content
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function report_description_content()
{
$imageFile = __DIR__ . '/../../item/images/done/floor' . $this->form->store . '.png';
if (!file_exists($imageFile)) {
return array();
Method fetch_report_data
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fetch_report_data()
{
$query = "SELECT l.upc
FROM batchList AS l
INNER JOIN batches AS b ON l.batchID=b.batchID