correction of error for purchase and sales
This commit is contained in:
@ -577,7 +577,7 @@ class bibaccounts
|
||||
//////
|
||||
function renderAccountCategoriesTable($accountCategories, $ReportOptions, $displayHeadings = true, $parentCategories = [])
|
||||
{
|
||||
if(!isset($ReportOptions['AmountColWidth']))$ReportOptions['AmountColWidth']=180;
|
||||
if (!isset($ReportOptions['AmountColWidth'])) $ReportOptions['AmountColWidth'] = 180;
|
||||
?>
|
||||
<table class="table table-sm">
|
||||
<?php if ($displayHeadings) { ?>
|
||||
@ -659,7 +659,7 @@ class bibaccounts
|
||||
}
|
||||
function renderAccountCategoriesTableForBS($accountCategories, $ReportOptions, $displayHeadings = true, $parentCategories = [])
|
||||
{
|
||||
if(!isset($ReportOptions['AmountColWidth']))$ReportOptions['AmountColWidth']=180;
|
||||
if (!isset($ReportOptions['AmountColWidth'])) $ReportOptions['AmountColWidth'] = 180;
|
||||
?>
|
||||
<table class="table table-hover table-sm">
|
||||
|
||||
@ -667,7 +667,7 @@ class bibaccounts
|
||||
|
||||
<?php foreach ($accountCategories as $accountCategory) : ?>
|
||||
|
||||
<?php if ($ReportOptions['showZeroBalances']==false && $accountCategory->isZero == true) continue; ?>
|
||||
<?php if ($ReportOptions['showZeroBalances'] == false && $accountCategory->isZero == true) continue; ?>
|
||||
<tr class="<?php echo ($accountCategory->isParent) ? 'bg-darker parent-row' : ''; ?>" data-toggle="collapse" data-target="#accategory_<?php echo $accountCategory->accategory_id; ?>">
|
||||
<td class="group-name"><?php echo $accountCategory->accategory_name; ?></td>
|
||||
<?php if ($ReportOptions['showOB']) : ?>
|
||||
@ -725,7 +725,7 @@ class bibaccounts
|
||||
|
||||
function renderAccountsTable($Accounts, $ReportOptions, $displayHeadings = false)
|
||||
{
|
||||
if(!isset($ReportOptions['AmountColWidth']))$ReportOptions['AmountColWidth']=180;
|
||||
if (!isset($ReportOptions['AmountColWidth'])) $ReportOptions['AmountColWidth'] = 180;
|
||||
?>
|
||||
<table class="table table-hover table-gray">
|
||||
<?php if ($displayHeadings) { ?>
|
||||
@ -773,7 +773,7 @@ class bibaccounts
|
||||
}
|
||||
function renderAccountsTableForBS($Accounts, $ReportOptions, $displayHeadings = false)
|
||||
{
|
||||
if(!isset($ReportOptions['AmountColWidth']))$ReportOptions['AmountColWidth']=180;
|
||||
if (!isset($ReportOptions['AmountColWidth'])) $ReportOptions['AmountColWidth'] = 180;
|
||||
?>
|
||||
<table class="table table-hover table-gray">
|
||||
|
||||
@ -801,8 +801,4 @@ class bibaccounts
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////
|
||||
}
|
||||
|
Reference in New Issue
Block a user