X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep705.php;h=58c58bec9be142a8fb4b0f0334e185e12ec3cbd1;hb=5a3cbfe6d2df1c8c32edcab8bf93e8a8432a15fc;hp=c9b3fd1ac201d9e77aa58c52bef63098354e4038;hpb=8ffddf50ffbe93672c769e2cf0501d0f9125e2a0;p=fa-stable.git diff --git a/reporting/rep705.php b/reporting/rep705.php index c9b3fd1a..58c58bec 100644 --- a/reporting/rep705.php +++ b/reporting/rep705.php @@ -178,7 +178,7 @@ function print_annual_expense_breakdown() $orientation = $_POST['PARAM_5']; $destination = $_POST['PARAM_6']; } - else if ($dim == 1) + elseif ($dim == 1) { $year = $_POST['PARAM_0']; $dimension = $_POST['PARAM_1']; @@ -202,13 +202,10 @@ function print_annual_expense_breakdown() $orientation = ($orientation ? 'L' : 'P'); $dec = 1; - //$pdec = user_percent_dec(); $cols = array(0, 40, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510); //------------0--1---2----3----4----5----6----7----8----10---11---12---13---14---15- - //$yr = date('Y'); - //$mo = date('m'): // from now $sql = "SELECT begin, end, YEAR(end) AS yr, MONTH(end) AS mo FROM ".TB_PREF."fiscal_year WHERE id=".db_escape($year); $result = db_query($sql, "could not get fiscal year"); @@ -254,7 +251,7 @@ function print_annual_expense_breakdown() 5 => array('text' => _('Info'), 'from' => _('Amounts in thousands'), 'to' => '')); } - else if ($dim == 1) + elseif ($dim == 1) { $params = array( 0 => $comments, 1 => array('text' => _("Year"),