load->library("NewAcc");
$Acc = new NewAcc();
$childCategories = $Acc->getChildCategories($parentCategory->accategory_id);
if (empty($childCategories)) {
// No child categories, generate a single row
?>
accategory_name; ?> AAA
openingdr); ?>
openingcr); ?>
dr); ?>
cr); ?>
getAccountsByCategory($parentCategory->accategory_id) as $Accounts) { ?>