<?php
/**********************************************************************
***********************************************************************/
$page_security = 'SA_GLTRANSVIEW';
$path_to_root = "../..";

include_once($path_to_root . "/includes/session.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/data_checks.inc");
include_once($path_to_root . "/includes/ui.inc");
include_once($path_to_root . "/projects/includes/db/projects_db.inc");
include_once($path_to_root . "/gl/includes/db/financial_integration_inquiry_db.inc");
include_once($path_to_root . "/gl/includes/fi/db/generate_fi_accounting_entries_db.inc");
include_once($path_to_root . "/gl/includes/ui/view_fi_batch_ui.inc");


$js = "";
if ($SysPrefs->use_popup_windows)
	$js .= get_js_open_window(800, 500);

page(_($help_context = "View FI Batch"), true, false, "", $js);

//-------------------------------------------------------------------------------------------------

if ($_GET['trans_no'] != "")
{
    $batch_no = $_GET['trans_no'];
}

display_fi_batch_header_view($batch_no);

display_fi_batch_transactions_view($batch_no);

display_fi_batch_transactions_summary($batch_no);

end_page(true, false, false, null, $batch_no);



?>
