Wrong email-adress field taken when emailing documents [0000035].
[fa-stable.git] / reporting / reports_main.php
index 600f389149486254f6cb50d72d44f92def390692..b5dcc128a1e4f2911485e55b86fedfe52d1d3de2 100644 (file)
@@ -35,7 +35,8 @@ $reports->addReport(_('Customer'),103,_('Customer Detail Listing'),
                        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'),
@@ -288,7 +289,7 @@ echo "
                function onWindowLoad() {
                        showClass(" . $_GET['Class'] . ")
                }
-               window.onload=onWindowLoad;
+       Behaviour.addLoadEvent(onWindowLoad);
        </script>
 ";
 echo $reports->getDisplay();