Changed rep705 to show fiscal year instead of year
[fa-stable.git] / reporting / includes / reports_classes.inc
index a3a7cfad11921e214f1eb5ce47bbf2e815decc25..e7df6a73c6b59d1443bf00a85ba539d0f18bc6e5 100644 (file)
@@ -350,10 +350,7 @@ class BoxReports
                                        return sales_persons_list($name, null, _("No Sales Folk Filter"));
                                        
                                case 'TRANS_YEARS':
-                                       $sql = "SELECT DISTINCT YEAR(tran_date) AS tran_date, YEAR(tran_date) AS tran_date2 FROM ".TB_PREF."gl_trans";
-                                       return combo_input($name, '', $sql, 'tran_date', 'tran_date2',array('order'=>array('tran_date')));
-// FIX shouldn't it be fiscal year selector?
-//                                     return fiscalyears_list($name);
+                                       return fiscalyears_list($name);
 
                                case 'USERS':
                                        $sql = "SELECT id, user_id FROM ".TB_PREF."users";