X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=8babc61a5c7cc08d0cabb72b500a261141cff994;hb=d2cc0860eccf02eaefcd90731ac3af141a841529;hp=9fa4a81c47c9fe7193c8f2ff7140f8419625e9e9;hpb=6425de92749015d0e7ab29b5fd071a9d70cbb7d5;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 9fa4a81c..8babc61a 100644 --- a/reporting/reports_main.php +++ b/reporting/reports_main.php @@ -10,7 +10,7 @@ See the License here . ***********************************************************************/ $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"); @@ -20,7 +20,7 @@ include_once($path_to_root . "/reporting/includes/reports_classes.inc"); $js = ""; if ($use_date_picker) $js .= get_js_date_picker(); -page(_("Reports and Analysis"), false, false, "", $js); +page(_($help_context = "Reports and Analysis"), false, false, "", $js); $reports = new BoxReports; @@ -76,7 +76,6 @@ $reports->addReport(_('Customer'),107,_('Print &Invoices/Credit Notes'), array( new ReportParam(_('From'),'INVOICE'), new ReportParam(_('To'),'INVOICE'), new ReportParam(_('Currency Filter'),'CURRENCY'), - new ReportParam(_('Bank Account'),'BANK_ACCOUNTS'), new ReportParam(_('email Customers'),'YES_NO'), new ReportParam(_('Payment Link'),'PAYMENT_LINK'), new ReportParam(_('Comments'),'TEXTBOX'))); @@ -84,21 +83,26 @@ $reports->addReport(_('Customer'),110,_('Print &Deliveries'), array( new ReportParam(_('From'),'DELIVERY'), new ReportParam(_('To'),'DELIVERY'), new ReportParam(_('email Customers'),'YES_NO'), + new ReportParam(_('Print as Packing Slip'),'YES_NO'), new ReportParam(_('Comments'),'TEXTBOX'))); $reports->addReport(_('Customer'),108,_('Print &Statements'), array( new ReportParam(_('Customer'),'CUSTOMERS_NO_FILTER'), new ReportParam(_('Currency Filter'),'CURRENCY'), - new ReportParam(_('Bank Account'),'BANK_ACCOUNTS'), new ReportParam(_('Email Customers'),'YES_NO'), new ReportParam(_('Comments'),'TEXTBOX'))); $reports->addReport(_('Customer'),109,_('&Print Sales Orders'), array( new ReportParam(_('From'),'ORDERS'), new ReportParam(_('To'),'ORDERS'), new ReportParam(_('Currency Filter'),'CURRENCY'), - new ReportParam(_('Bank Account'),'BANK_ACCOUNTS'), 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(_('Email Customers'),'YES_NO'), + new ReportParam(_('Comments'),'TEXTBOX'))); $reports->addReportClass(_('Supplier')); $reports->addReport(_('Supplier'),201,_('Supplier &Balances'), @@ -130,7 +134,6 @@ $reports->addReport(_('Supplier'),209,_('Print Purchase &Orders'), array( new ReportParam(_('From'),'PO'), new ReportParam(_('To'),'PO'), new ReportParam(_('Currency Filter'),'CURRENCY'), - new ReportParam(_('Bank Account'),'BANK_ACCOUNTS'), new ReportParam(_('Email Customers'),'YES_NO'), new ReportParam(_('Comments'),'TEXTBOX'))); @@ -138,7 +141,7 @@ $reports->addReportClass(_('Inventory')); $reports->addReport(_('Inventory'),301,_('Inventory &Valuation Report'), array( new ReportParam(_('Inventory Category'),'CATEGORIES'), new ReportParam(_('Location'),'LOCATIONS'), - new ReportParam(_('Detailed Report'),'YES_NO'), + new ReportParam(_('Summary Only'),'YES_NO'), new ReportParam(_('Comments'),'TEXTBOX'), new ReportParam(_('Destination'),'DESTINATION'))); $reports->addReport(_('Inventory'),302,_('Inventory &Planning Report'), @@ -314,7 +317,6 @@ else new ReportParam(_('End Date'),'DATEENDM'), new ReportParam(_('Graphics'),'GRAPHIC'), new ReportParam(_('Comments'),'TEXTBOX'), - new ReportParam(_('Destination'),'DESTINATION'), new ReportParam(_('Destination'),'DESTINATION'))); $reports->addReport(_('General Ledger'),707,_('&Profit and Loss Statement'), array( new ReportParam(_('Start Date'),'DATEBEGINM'),