fannie/modules/plugins2.0/HouseCoupon/HcBasketReport.php
Method form_content
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function form_content()
{
$stores = FormLib::storePicker();
ob_start();
?>
Method fetch_report_data
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fetch_report_data()
{
try {
$dlog = DTransactionsModel::selectDlog($this->form->date1, $this->form->date2);
$upc = BarcodeLib::padUPC($this->form->upc);