fannie/modules/plugins2.0/FreshDeals/WfcCoopDeals.php
Method fetch_report_data
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fetch_report_data()
{
$batchP = $this->connection->prepare("SELECT batchName, startDate, endDate FROM batches WHERE batchID=?");
$batchW = $this->connection->getRow($batchP, array($this->form->batchSet));
$dlog = DTransactionsModel::selectDlog($batchW['startDate'], $batchW['endDate']);
Method form_content
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function form_content()
{
$batchR = $this->connection->query("SELECT batchID, batchName
FROM batches
WHERE batchName LIKE '%Co-op Deals A%' OR batchName LIKE '%Co-op Deals B%'