CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/CoreWarehouse/models/EstMarginByDayModel.php

Summary

Maintainability
A
1 hr
Test Coverage

Method refresh_data has 28 lines of code (exceeds 25 allowed). Consider refactoring.
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');

    There are no issues that match your filters.

    Category
    Status