X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=85c2612f1c32063341e096edfd7b268d62462b6f;hb=268a54dcfd08aff7113bc3afe8b784f36db2d0d4;hp=87efba8167d38f308937623b643567651527e437;hpb=1ca0c7081f7a4cb3f68f3ffb6ee05739abb6cebf;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 87efba81..85c2612f 100644 --- a/reporting/reports_main.php +++ b/reporting/reports_main.php @@ -53,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', @@ -170,6 +181,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', @@ -280,36 +300,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', - _('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')); -$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', + _('Supplier') => 'SUPPLIERS_NO_FILTER', + _('Items') => 'ITEMS_P', _('Comments') => 'TEXTBOX', _('Orientation') => 'ORIENTATION', _('Destination') => 'DESTINATION')); +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) {