fannie/admin/MiscPayment/index.php
Method bill
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
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=?");
Method regularDisplay
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function regularDisplay()
{
global $FANNIE_OP_DB,$DEFAULT_DEPT;
$dbc = FannieDB::get($FANNIE_OP_DB);
echo "<form action=index.php method=post>