X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=74b96018de07da7f04fceec80ccbe7ff5a072ca7;hb=630e99edecc3eabe708a9e7bda94eaa60bf16db7;hp=2435cc698923fd85d659aac8381b74593435ff70;hpb=d1babda7c01b314d35fb89f2d195553b55936532;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 2435cc69..74b96018 100644 --- a/reporting/reports_main.php +++ b/reporting/reports_main.php @@ -18,6 +18,8 @@ include_once($path_to_root . "/includes/data_checks.inc"); include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/reporting/includes/reports_classes.inc"); $js = ""; +if ($SysPrefs->use_popup_windows && $SysPrefs->use_popup_search) + $js .= get_js_open_window(900, 500); if (user_use_date_picker()) $js .= get_js_date_picker(); @@ -51,6 +53,17 @@ $reports->addReport(RC_CUSTOMER, 102, _('&Aged Customer Analysis'), _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); +$reports->addReport(RC_CUSTOMER, 115, _('Customer Trial Balance'), + array( _('Start Date') => 'DATEBEGIN', + _('End Date') => 'DATEENDM', + _('Customer') => 'CUSTOMERS_NO_FILTER', + _('Sales Areas') => 'AREAS', + _('Sales Folk') => 'SALESMEN', + _('Currency Filter') => 'CURRENCY', + _('Suppress Zeros') => 'YES_NO', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION', + _('Destination') => 'DESTINATION')); $reports->addReport(RC_CUSTOMER, 103, _('Customer &Detail Listing'), array( _('Activity Since') => 'DATEBEGIN', _('Sales Areas') => 'AREAS', @@ -143,6 +156,7 @@ $reports->addReport(RC_CUSTOMER, 112, _('Print Receipts'), array( _('From') => 'RECEIPT', _('To') => 'RECEIPT', _('Currency Filter') => 'CURRENCY', + _('Email Customers') => 'YES_NO', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION')); @@ -168,6 +182,15 @@ $reports->addReport(RC_SUPPLIER, 202, _('&Aged Supplier Analyses'), _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); +$reports->addReport(RC_SUPPLIER, 206, _('Supplier &Trial Balances'), + array( _('Start Date') => 'DATEBEGIN', + _('End Date') => 'DATEENDM', + _('Supplier') => 'SUPPLIERS_NO_FILTER', + _('Currency Filter') => 'CURRENCY', + _('Suppress Zeros') => 'YES_NO', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION', + _('Destination') => 'DESTINATION')); $reports->addReport(RC_SUPPLIER, 203, _('&Payment Report'), array( _('End Date') => 'DATE', _('Supplier') => 'SUPPLIERS_NO_FILTER', @@ -223,7 +246,7 @@ $reports->addReport(RC_INVENTORY, 303, _('Stock &Check Sheets'), _('Location') => 'LOCATIONS', _('Show Pictures') => 'YES_NO', _('Inventory Column') => 'YES_NO', - _('Show Shortage') => 'YES_NO', + _('Show Only Shortages') => 'YES_NO', _('Suppress Zeros') => 'YES_NO', _('Item Like') => 'TEXT', _('Comments') => 'TEXTBOX', @@ -278,27 +301,52 @@ $reports->addReport(RC_INVENTORY, 309,_('Item &Sales Summary Report'), _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); - -$reports->addReportClass(_('Manufacturing'), RC_MANUFACTURE); -$reports->addReport(RC_MANUFACTURE, 401, _('&Bill of Material Listing'), - array( _('From product') => 'ITEMS', - _('To product') => 'ITEMS', - _('Comments') => 'TEXTBOX', - _('Orientation') => 'ORIENTATION', - _('Destination') => 'DESTINATION')); -$reports->addReport(RC_MANUFACTURE, 402, _('Work Order &Listing'), - array( _('Items') => 'ITEMS_ALL', +$reports->addReport(RC_INVENTORY, 310, _('Inventory Purchasing - &Transaction Based'), + array( _('Start Date') => 'DATEBEGINM', + _('End Date') => 'DATEENDM', + _('Inventory Category') => 'CATEGORIES', _('Location') => 'LOCATIONS', - _('Outstanding Only') => 'YES_NO', + _('Supplier') => 'SUPPLIERS_NO_FILTER', + _('Items') => 'ITEMS_P', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); -$reports->addReport(RC_MANUFACTURE, 409, _('Print &Work Orders'), - array( _('From') => 'WORKORDER', - _('To') => 'WORKORDER', - _('Email Locations') => 'YES_NO', - _('Comments') => 'TEXTBOX', - _('Orientation') => 'ORIENTATION')); +if (get_company_pref('use_manufacturing')) +{ + $reports->addReportClass(_('Manufacturing'), RC_MANUFACTURE); + $reports->addReport(RC_MANUFACTURE, 401, _('&Bill of Material Listing'), + array( _('From product') => 'ITEMS', + _('To product') => 'ITEMS', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION', + _('Destination') => 'DESTINATION')); + $reports->addReport(RC_MANUFACTURE, 402, _('Work Order &Listing'), + array( _('Items') => 'ITEMS_ALL', + _('Location') => 'LOCATIONS', + _('Outstanding Only') => 'YES_NO', + _('Show GL Rows') => 'YES_NO', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION', + _('Destination') => 'DESTINATION')); + $reports->addReport(RC_MANUFACTURE, 409, _('Print &Work Orders'), + array( _('From') => 'WORKORDER', + _('To') => 'WORKORDER', + _('Email Locations') => 'YES_NO', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION')); +} +if (get_company_pref('use_fixed_assets')) +{ + $reports->addReportClass(_('Fixed Assets'), RC_FIXEDASSETS); + $reports->addReport(RC_FIXEDASSETS, 451, _('&Fixed Assets Valuation'), + array( _('End Date') => 'DATE', + _('Fixed Assets Class') => 'FCLASS', + _('Fixed Assets Location') => 'FLOCATIONS', + _('Summary Only') => 'YES_NO', + _('Comments') => 'TEXTBOX', + _('Orientation') => 'ORIENTATION', + _('Destination') => 'DESTINATION')); +} $reports->addReportClass(_('Dimensions'), RC_DIMENSIONS); if ($dim > 0) { @@ -309,13 +357,10 @@ if ($dim > 0) _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); - //$reports->addReport(_('Dimensions'),502, _('Dimension Details'), - //array( _('Dimension'),'DIMENSIONS'), - // _('Comments'),'TEXTBOX'))); } $reports->addReportClass(_('Banking'), RC_BANKING); $reports->addReport(RC_BANKING, 601, _('Bank &Statement'), - array( _('Bank Accounts') => 'BANK_ACCOUNTS', + array( _('Bank Accounts') => 'BANK_ACCOUNTS_NO_FILTER', _('Start Date') => 'DATEBEGINM', _('End Date') => 'DATEENDM', _('Zero values') => 'YES_NO', @@ -342,8 +387,6 @@ $reports->addReport(RC_GL, 702, _('List of &Journal Entries'), _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); -//$reports->addReport(RC_GL, 703, _('GL Account Group Summary'), -// array( _('Comments'),'TEXTBOX'))); if ($dim == 2) { @@ -364,6 +407,7 @@ if ($dim == 2) _('Account Tags') => 'ACCOUNTTAGS', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', + _('Amounts in thousands') => 'YES_NO', _('Destination') => 'DESTINATION')); $reports->addReport(RC_GL, 706, _('&Balance Sheet'), array( _('Start Date') => 'DATEBEGIN', @@ -399,7 +443,7 @@ if ($dim == 2) _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); } -else if ($dim == 1) +elseif ($dim == 1) { $reports->addReport(RC_GL, 704, _('GL Account &Transactions'), array( _('Start Date') => 'DATEBEGINM', @@ -416,6 +460,7 @@ else if ($dim == 1) _('Account Tags') => 'ACCOUNTTAGS', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', + _('Amounts in thousands') => 'YES_NO', _('Destination') => 'DESTINATION')); $reports->addReport(RC_GL, 706, _('&Balance Sheet'), array( _('Start Date') => 'DATEBEGIN', @@ -463,6 +508,7 @@ else _('Account Tags') => 'ACCOUNTTAGS', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', + _('Amounts in thousands') => 'YES_NO', _('Destination') => 'DESTINATION')); $reports->addReport(RC_GL, 706, _('&Balance Sheet'), array( _('Start Date') => 'DATEBEGIN',