CORE-POS/IS4C

View on GitHub
fannie/admin/MiscPayment/index.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method bill has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function bill($amt,$desc,$dept,$tender){
    global $FANNIE_OP_DB,$EMP_NO,$LANE_NO,$CARD_NO, $FANNIE_TRANS_DB;
    $dbc = FannieDB::get($FANNIE_OP_DB);

    $tnQ = $dbc->prepare("SELECT TenderName FROM " . FannieDB::fqn('tenders', 'op') . " WHERE TenderCode=?");
Severity: Minor
Found in fannie/admin/MiscPayment/index.php - About 1 hr to fix

    Method regularDisplay has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function regularDisplay()
    {
        global $FANNIE_OP_DB,$DEFAULT_DEPT;
        $dbc = FannieDB::get($FANNIE_OP_DB);
        echo "<form action=index.php method=post>
    Severity: Minor
    Found in fannie/admin/MiscPayment/index.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status