Syntax typo.
[fa-stable.git] / reporting / reports_main.php
index d02f01f737b42ec4e3d499edb5dad160ed504780..4c5deab50382da37952f1fa9c55d5092b7a77b3d 100644 (file)
@@ -10,7 +10,7 @@
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
 $path_to_root="..";
-$page_security = 5;
+$page_security = 'SA_OPEN';
 include_once($path_to_root . "/includes/session.inc");
 
 include_once($path_to_root . "/includes/date_functions.inc");
@@ -99,6 +99,13 @@ $reports->addReport(_('Customer'),109,_('&Print Sales Orders'),
                        new ReportParam(_('Email Customers'),'YES_NO'),
                        new ReportParam(_('Print as Quote'),'YES_NO'),
                        new ReportParam(_('Comments'),'TEXTBOX')));
+$reports->addReport(_('Customer'),111,_('&Print Sales Quotations'),
+       array(  new ReportParam(_('From'),'QUOTATIONS'),
+                       new ReportParam(_('To'),'QUOTATIONS'),
+                       new ReportParam(_('Currency Filter'),'CURRENCY'),
+                       new ReportParam(_('Bank Account'),'BANK_ACCOUNTS'),
+                       new ReportParam(_('Email Customers'),'YES_NO'),
+                       new ReportParam(_('Comments'),'TEXTBOX')));
 
 $reports->addReportClass(_('Supplier'));
 $reports->addReport(_('Supplier'),201,_('Supplier &Balances'),