//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_inventory_planning();
function getTransactions($category, $location)
$comments = $_POST['PARAM_2'];
$destination = $_POST['PARAM_3'];
if ($destination)
- {
include_once($path_to_root . "/reporting/includes/excel_report.inc");
- $filename = "InventoryPlanning.xml";
- }
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "InventoryPlanning.pdf";
- }
if ($category == reserved_words::get_all_numeric())
$category = 0;
1 => array('text' => _('Category'), 'from' => $cat, 'to' => ''),
2 => array('text' => _('Location'), 'from' => $loc, 'to' => ''));
- $rep = new FrontReport(_('Inventory Planning Report'), $filename, user_pagesize());
+ $rep = new FrontReport(_('Inventory Planning Report'), "InventoryPlanning", user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);