X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=4c5deab50382da37952f1fa9c55d5092b7a77b3d;hb=11e485e4a7c5f12c9424713b7330815a9cc5e4ae;hp=b074ec3cd687846d2ed84c82bd963dbfd73b2b46;hpb=be42db53189e110726a0e737a1fe146bf0407c65;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index b074ec3c..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"); @@ -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'), @@ -168,13 +175,13 @@ $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 Locations'),'YES_NO'), @@ -314,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'),