// See if connected to database
if (project.dbconnected == 0)
{
redirect("../error.html");
}
//
// See if registered cashreg functions correctly
//
if (project.register == 0)
{
redirect("../error.html");
}
// Get the current batchid
cursor = database.cursor("select id from LP_BATCH where status = 'OPENED'");
cursor.next();
var currentbatch = cursor.id;
cursor.close();
Administration Menu
