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");
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')));
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'),
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')));
$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'),
new ReportParam(_('End Date'),'DATEENDM'),
new ReportParam(_('Inventory Category'),'CATEGORIES'),
new ReportParam(_('Location'),'LOCATIONS'),
- new ReportParam(_('Detailed Report'),'YES_NO'),
+ new ReportParam(_('Customer'),'CUSTOMERS_NO_FILTER'),
new ReportParam(_('Comments'),'TEXTBOX'),
new ReportParam(_('Destination'),'DESTINATION')));
$reports->addReport(_('Inventory'),305,_('&GRN Valuation Report'),
new ReportParam(_('Comments'),'TEXTBOX'),
new ReportParam(_('Destination'),'DESTINATION')));
-$reports->addReportClass(_('Manufactoring'));
-$reports->addReport(_('Manufactoring'),401,_('&Bill of Material Listing'),
+$reports->addReportClass(_('Manufacturing'));
+$reports->addReport(_('Manufacturing'),401,_('&Bill of Material Listing'),
array( new ReportParam(_('From component'),'ITEMS'),
new ReportParam(_('To component'),'ITEMS'),
new ReportParam(_('Comments'),'TEXTBOX'),
new ReportParam(_('Destination'),'DESTINATION')));
-$reports->addReport(_('Manufactoring'),409,_('Print &Work Orders'),
+$reports->addReport(_('Manufacturing'),409,_('Print &Work Orders'),
array( new ReportParam(_('From'),'WORKORDER'),
new ReportParam(_('To'),'WORKORDER'),
- new ReportParam(_('email Customers'),'YES_NO'),
+ new ReportParam(_('Email Locations'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
$reports->addReportClass(_('Dimensions'));
if ($dim > 0)
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'),
new ReportParam(_('End Date'),'DATEENDTAX'),
new ReportParam(_('Summary Only'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
+$reports->addReport(_('General Ledger'),710,_('Audit Trail'),
+ array( new ReportParam(_('Start Date'),'DATEBEGINM'),
+ new ReportParam(_('End Date'),'DATEENDM'),
+ new ReportParam(_('Type'),'SYS_TYPES_ALL'),
+ new ReportParam(_('User'),'USERS'),
+ new ReportParam(_('Comments'),'TEXTBOX'),
+ new ReportParam(_('Destination'),'DESTINATION')));
echo "<script language='javascript'>
function onWindowLoad() {