fannie/modules/plugins2.0/CoreWarehouse/models/SumMemSalesByDayModel.php
Method refresh_data
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function refresh_data($trans_db, $month, $year, $day=False){
list($start_id, $start_date, $end_id, $end_date) = $this->dates($month, $year, $day);
$config = FannieConfig::factory();
$settings = $config->get('PLUGIN_SETTINGS');