Option to hide Manufacturing and Fixed Assets tabs in reorganized company settings...
[fa-stable.git] / reporting / reports_main.php
index 2435cc698923fd85d659aac8381b74593435ff70..9c571eb85d96aa81288ad79997f3a4983054d519 100644 (file)
@@ -299,6 +299,15 @@ $reports->addReport(RC_MANUFACTURE, 409, _('Print &Work Orders'),
                        _('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',
+                       _('Comments') => 'TEXTBOX',
+                       _('Orientation') => 'ORIENTATION',
+                       _('Destination') => 'DESTINATION'));
 $reports->addReportClass(_('Dimensions'), RC_DIMENSIONS);
 if ($dim > 0)
 {
@@ -309,9 +318,6 @@ 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'),
@@ -342,8 +348,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)
 {
@@ -399,7 +403,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',