X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=4c5deab50382da37952f1fa9c55d5092b7a77b3d;hb=131fcadb832694065ea08b857cfe758cd131494f;hp=e7c4b7bcbb93c90e1b1d7db71c9078bb8099b0e8;hpb=b506d68d066badbfee8496f31bc0219f697c6f1a;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index e7c4b7bc..4c5deab5 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"); @@ -28,7 +28,8 @@ $dim = get_company_pref('use_dimension'); $reports->addReportClass(_('Customer')); $reports->addReport(_('Customer'),101,_('Customer &Balances'), - array( new ReportParam(_('End Date'),'DATE'), + array( new ReportParam(_('Start Date'),'DATEBEGIN'), + new ReportParam(_('End Date'),'DATEENDM'), new ReportParam(_('Customer'),'CUSTOMERS_NO_FILTER'), new ReportParam(_('Currency Filter'),'CURRENCY'), new ReportParam(_('Comments'),'TEXTBOX'), @@ -98,10 +99,18 @@ $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'), - array( new ReportParam(_('End Date'),'DATE'), + array( new ReportParam(_('Start Date'),'DATEBEGIN'), + new ReportParam(_('End Date'),'DATEENDM'), new ReportParam(_('Supplier'),'SUPPLIERS_NO_FILTER'), new ReportParam(_('Currency Filter'),'CURRENCY'), new ReportParam(_('Comments'),'TEXTBOX'), @@ -149,6 +158,7 @@ $reports->addReport(_('Inventory'),303,_('Stock &Check Sheets'), new ReportParam(_('Location'),'LOCATIONS'), new ReportParam(_('Show Pictures'),'YES_NO'), new ReportParam(_('Inventory Column'),'YES_NO'), + new ReportParam(_('Show Shortage'),'YES_NO'), new ReportParam(_('Comments'),'TEXTBOX'), new ReportParam(_('Destination'),'DESTINATION'))); $reports->addReport(_('Inventory'),304,_('Inventory &Sales Report'), @@ -156,17 +166,27 @@ $reports->addReport(_('Inventory'),304,_('Inventory &Sales 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'), + array( new ReportParam(_('Start Date'),'DATEBEGINM'), + new ReportParam(_('End Date'),'DATEENDM'), 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->addReportClass(_('Dimensions')); +$reports->addReport(_('Manufacturing'),409,_('Print &Work Orders'), + array( new ReportParam(_('From'),'WORKORDER'), + new ReportParam(_('To'),'WORKORDER'), + new ReportParam(_('Email Locations'),'YES_NO'), + new ReportParam(_('Comments'),'TEXTBOX'))); +$reports->addReportClass(_('Dimensions')); if ($dim > 0) { $reports->addReport(_('Dimensions'),501,_('Dimension &Summary'), @@ -301,7 +321,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'), @@ -322,6 +341,12 @@ $reports->addReport(_('General Ledger'),709,_('Ta&x Report'), array( new ReportParam(_('Start Date'),'DATEBEGINTAX'), 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')));