$js = "";
if ($use_date_picker)
$js .= get_js_date_picker();
-page(_("Reports and Analysis"), false, false, "", $js);
+page(_("Reports and Analysis"), false, false, "", $js, true);
$reports = new BoxReports;
new ReportParam(_('Sales Areas'),'AREAS'),
new ReportParam(_('Sales Folk'),'SALESMEN'), new ReportParam(_('Activity Greater Than'),'TEXT'), new ReportParam(_('Activity Less Than'),'TEXT'), new ReportParam(_('Comments'),'TEXTBOX')));
$reports->addReport(_('Customer'),104,_('Price Listing'),
- array( new ReportParam(_('Inventory Category'),'CATEGORIES'),
+ array( new ReportParam(_('Currency Filter'),'CURRENCY'),
+ new ReportParam(_('Inventory Category'),'CATEGORIES'),
new ReportParam(_('Sales Types'),'SALESTYPES'),
new ReportParam(_('Show Pictures'),'YES_NO'),
new ReportParam(_('Show GP %'),'YES_NO'),
new ReportParam(_('Location'),'LOCATIONS'),
new ReportParam(_('Show Pictures'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
+$reports->addReport(_('Inventory'),304,_('Inventory Sales Report'),
+ array( new ReportParam(_('Start Date'),'DATEBEGINM'),
+ new ReportParam(_('End Date'),'DATEENDM'),
+ new ReportParam(_('Inventory Category'),'CATEGORIES'),
+ new ReportParam(_('Location'),'LOCATIONS'),
+ new ReportParam(_('Detailed Report'),'YES_NO'),
+ new ReportParam(_('Comments'),'TEXTBOX')));
$reports->addReportClass(_('Manufactoring'));
$reports->addReport(_('Manufactoring'),401,_('Bill of Material Listing'),
function onWindowLoad() {
showClass(" . $_GET['Class'] . ")
}
- window.onload=onWindowLoad;
+ Behaviour.addLoadEvent(onWindowLoad);
</script>
";
echo $reports->getDisplay();