<?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
+ 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.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
$path_to_root="..";
$js = "";
if ($use_date_picker)
$js .= get_js_date_picker();
+
+add_js_file('reports.js');
+
page(_($help_context = "Reports and Analysis"), false, false, "", $js);
$reports = new BoxReports;
_('End Date') => 'DATEENDM',
_('Customer') => 'CUSTOMERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Suppress Zeros') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
$reports->addReport(RC_CUSTOMER, 102, _('&Aged Customer Analysis'),
array( _('End Date') => 'DATE',
_('Customer') => 'CUSTOMERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Show Also Allocated') => 'YES_NO',
_('Summary Only') => 'YES_NO',
+ _('Suppress Zeros') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
_('Activity Less Than') => 'TEXT',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
+$reports->addReport(RC_CUSTOMER, 114, _('Sales &Summary Report'),
+ array( _('Start Date') => 'DATEBEGINTAX',
+ _('End Date') => 'DATEENDTAX',
+ _('Tax Id Only') => 'YES_NO',
+ _('Comments') => 'TEXTBOX',
+ _('Destination') => 'DESTINATION'));
$reports->addReport(RC_CUSTOMER, 104, _('&Price Listing'),
array( _('Currency Filter') => 'CURRENCY',
_('Inventory Category') => 'CATEGORIES',
_('Summary Only') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
-$reports->addReport(RC_CUSTOMER, 107, _('Print &Invoices/Credit Notes'),
+$reports->addReport(RC_CUSTOMER, 107, _('Print &Invoices'),
array( _('From') => 'INVOICE',
_('To') => 'INVOICE',
_('Currency Filter') => 'CURRENCY',
_('email Customers') => 'YES_NO',
_('Payment Link') => 'PAYMENT_LINK',
_('Comments') => 'TEXTBOX'));
+$reports->addReport(RC_CUSTOMER, 113, _('Print &Credit Notes'),
+ array( _('From') => 'CREDIT',
+ _('To') => 'CREDIT',
+ _('Currency Filter') => 'CURRENCY',
+ _('email Customers') => 'YES_NO',
+ _('Payment Link') => 'PAYMENT_LINK',
+ _('Comments') => 'TEXTBOX'));
$reports->addReport(RC_CUSTOMER, 110, _('Print &Deliveries'),
array( _('From') => 'DELIVERY',
_('To') => 'DELIVERY',
$reports->addReport(RC_CUSTOMER, 108, _('Print &Statements'),
array( _('Customer') => 'CUSTOMERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Show Also Allocated') => 'YES_NO',
_('Email Customers') => 'YES_NO',
_('Comments') => 'TEXTBOX'));
$reports->addReport(RC_CUSTOMER, 109, _('&Print Sales Orders'),
_('Currency Filter') => 'CURRENCY',
_('Email Customers') => 'YES_NO',
_('Comments') => 'TEXTBOX'));
-$reports->addReport(RC_CUSTOMER, 111, _('&Print Sales Quotations'),
- array( _('From') => 'QUOTATIONS',
- _('To') => 'QUOTATIONS',
- _('Currency Filter') => 'CURRENCY',
- _('Email Customers') => 'YES_NO',
- _('Comments') => 'TEXTBOX'));
$reports->addReport(RC_CUSTOMER, 112, _('Print Receipts'),
array( _('From') => 'RECEIPT',
_('To') => 'RECEIPT',
_('End Date') => 'DATEENDM',
_('Supplier') => 'SUPPLIERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Suppress Zeros') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
$reports->addReport(RC_SUPPLIER, 202, _('&Aged Supplier Analyses'),
array( _('End Date') => 'DATE',
_('Supplier') => 'SUPPLIERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Show Also Allocated') => 'YES_NO',
_('Summary Only') => 'YES_NO',
+ _('Suppress Zeros') => 'YES_NO',
_('Graphics') => 'GRAPHIC',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
array( _('End Date') => 'DATE',
_('Supplier') => 'SUPPLIERS_NO_FILTER',
_('Currency Filter') => 'CURRENCY',
+ _('Suppress Zeros') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
$reports->addReport(RC_SUPPLIER, 204, _('Outstanding &GRNs Report'),
_('Currency Filter') => 'CURRENCY',
_('Email Customers') => 'YES_NO',
_('Comments') => 'TEXTBOX'));
-$reports->addReport(RC_SUPPLIER, 210, _('Print Remittances'),
+$reports->addReport(RC_SUPPLIER, 210, _('Print Remi&ttances'),
array( _('From') => 'REMITTANCE',
_('To') => 'REMITTANCE',
_('Currency Filter') => 'CURRENCY',
$reports->addReportClass(_('Inventory'), RC_INVENTORY);
$reports->addReport(RC_INVENTORY, 301, _('Inventory &Valuation Report'),
- array( _('Inventory Category') => 'CATEGORIES',
+ array( _('End Date') => 'DATE',
+ _('Inventory Category') => 'CATEGORIES',
_('Location') => 'LOCATIONS',
_('Summary Only') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Show Pictures') => 'YES_NO',
_('Inventory Column') => 'YES_NO',
_('Show Shortage') => 'YES_NO',
+ _('Suppress Zeros') => 'YES_NO',
_('Comments') => 'TEXTBOX',
_('Destination') => 'DESTINATION'));
$reports->addReport(RC_INVENTORY, 304, _('Inventory &Sales Report'),
add_custom_reports($reports);
-echo "<script language='javascript'>
- function onWindowLoad() {
- showClass(" . $_GET['Class'] . ")
- }
- Behaviour.addLoadEvent(onWindowLoad);
- </script>
-";
echo $reports->getDisplay();
end_page();
-?>
\ No newline at end of file
+?>