<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU General Public License, GPL,
+ as published by the Free Software Foundation, either version 3
+ of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
$path_to_root="..";
$page_security = 5;
include_once($path_to_root . "/includes/session.inc");
$js = "";
if ($use_date_picker)
$js .= get_js_date_picker();
-page(_("Reports and Analysis"), false, false, "", $js, true);
+page(_("Reports and Analysis"), false, false, "", $js);
$reports = new BoxReports;
array( new ReportParam(_('Start Date'),'DATEBEGINM'),
new ReportParam(_('End Date'),'DATEENDM'),
new ReportParam(_('Zero values'),'YES_NO'),
+ new ReportParam(_('Only balances'),'YES_NO'),
new ReportParam(_('Dimension')." 1", 'DIMENSIONS1'),
new ReportParam(_('Dimension')." 2", 'DIMENSIONS2'),
new ReportParam(_('Comments'),'TEXTBOX')));
array( new ReportParam(_('Start Date'),'DATEBEGINM'),
new ReportParam(_('End Date'),'DATEENDM'),
new ReportParam(_('Zero values'),'YES_NO'),
+ new ReportParam(_('Only balances'),'YES_NO'),
new ReportParam(_('Dimension'), 'DIMENSIONS1'),
new ReportParam(_('Comments'),'TEXTBOX')));
}
array( new ReportParam(_('Start Date'),'DATEBEGINM'),
new ReportParam(_('End Date'),'DATEENDM'),
new ReportParam(_('Zero values'),'YES_NO'),
+ new ReportParam(_('Only balances'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
}
$reports->addReport(_('General Ledger'),709,_('Ta&x Report'),
new ReportParam(_('Summary Only'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
-echo "
-<form method=post>
- <input type='hidden' name='REP_ID' value=''>
- <input type='hidden' name='PARAM_COUNT' value=''>
- <input type='hidden' name='PARAM_0' value=''>
- <input type='hidden' name='PARAM_1' value=''>
- <input type='hidden' name='PARAM_2' value=''>
- <input type='hidden' name='PARAM_3' value=''>
- <input type='hidden' name='PARAM_4' value=''>
- <input type='hidden' name='PARAM_5' value=''>
- <input type='hidden' name='PARAM_6' value=''>
-
- <script language='javascript'>
+echo "<script language='javascript'>
function onWindowLoad() {
showClass(" . $_GET['Class'] . ")
}
</script>
";
echo $reports->getDisplay();
-echo "</form>";
end_page();
?>
\ No newline at end of file