Common ui code for allocations moved toallocation_cart.inc
[fa-stable.git] / reporting / reports_main.php
index 9eff484c08b228e1f33b0a0c70305600f34964cf..a4469584f6d902cb2eea001e74c506a55d82be0a 100644 (file)
@@ -28,7 +28,8 @@ $dim = get_company_pref('use_dimension');
 
 $reports->addReportClass(_('Customer'));
 $reports->addReport(_('Customer'),101,_('Customer &Balances'),
-       array(  new ReportParam(_('End Date'),'DATE'),
+       array(  new ReportParam(_('Start Date'),'DATEBEGIN'),
+                       new ReportParam(_('End Date'),'DATEENDM'),
                        new ReportParam(_('Customer'),'CUSTOMERS_NO_FILTER'),
                        new ReportParam(_('Currency Filter'),'CURRENCY'),
                        new ReportParam(_('Comments'),'TEXTBOX'),
@@ -101,7 +102,8 @@ $reports->addReport(_('Customer'),109,_('&Print Sales Orders'),
 
 $reports->addReportClass(_('Supplier'));
 $reports->addReport(_('Supplier'),201,_('Supplier &Balances'),
-       array(  new ReportParam(_('End Date'),'DATE'),
+       array(  new ReportParam(_('Start Date'),'DATEBEGIN'),
+                       new ReportParam(_('End Date'),'DATEENDM'),
                        new ReportParam(_('Supplier'),'SUPPLIERS_NO_FILTER'),
                        new ReportParam(_('Currency Filter'),'CURRENCY'),
                        new ReportParam(_('Comments'),'TEXTBOX'),
@@ -149,6 +151,7 @@ $reports->addReport(_('Inventory'),303,_('Stock &Check Sheets'),
                        new ReportParam(_('Location'),'LOCATIONS'),
                        new ReportParam(_('Show Pictures'),'YES_NO'),
                        new ReportParam(_('Inventory Column'),'YES_NO'),
+                       new ReportParam(_('Show Shortage'),'YES_NO'),
                        new ReportParam(_('Comments'),'TEXTBOX'),
                        new ReportParam(_('Destination'),'DESTINATION')));
 $reports->addReport(_('Inventory'),304,_('Inventory &Sales Report'),
@@ -159,6 +162,11 @@ $reports->addReport(_('Inventory'),304,_('Inventory &Sales Report'),
                        new ReportParam(_('Detailed Report'),'YES_NO'),
                        new ReportParam(_('Comments'),'TEXTBOX'),
                        new ReportParam(_('Destination'),'DESTINATION')));
+$reports->addReport(_('Inventory'),305,_('&GRN Valuation Report'),
+       array(  new ReportParam(_('Start Date'),'DATEBEGINM'),
+                       new ReportParam(_('End Date'),'DATEENDM'),
+                       new ReportParam(_('Comments'),'TEXTBOX'),
+                       new ReportParam(_('Destination'),'DESTINATION')));
 
 $reports->addReportClass(_('Manufactoring'));
 $reports->addReport(_('Manufactoring'),401,_('&Bill of Material Listing'),
@@ -166,7 +174,12 @@ $reports->addReport(_('Manufactoring'),401,_('&Bill of Material Listing'),
                        new ReportParam(_('To component'),'ITEMS'),
                        new ReportParam(_('Comments'),'TEXTBOX'),
                        new ReportParam(_('Destination'),'DESTINATION')));
-       $reports->addReportClass(_('Dimensions'));
+$reports->addReport(_('Manufactoring'),409,_('Print &Work Orders'),
+       array(  new ReportParam(_('From'),'WORKORDER'),
+                       new ReportParam(_('To'),'WORKORDER'),
+                       new ReportParam(_('email Customers'),'YES_NO'),
+                       new ReportParam(_('Comments'),'TEXTBOX')));
+$reports->addReportClass(_('Dimensions'));
 if ($dim > 0)
 {
        $reports->addReport(_('Dimensions'),501,_('Dimension &Summary'),