! -> Note
$ -> Affected files
+05-Apr-2008 Joe Hunt
+# Removed annoying warnings in several reports.
+$ config.php
+ /reporting/rep102.php
+ /reporting/rep104.php
+ /reporting/rep201.php
+ /reporting/rep203.php
+ /reporting/rep705.php
+ /reporting/rep706.php
+ /reporting/rep707.php
+ /reporting/rep709.php
+ /reporting/reports_main.php
+ /reporting/includes/pdf_report.inc
+
04-Apr-2008 Janusz Dobrowolski
# Javascript bugfix in selecting orders for template.
$ /sales/inquiry/sales_orders_view.php
$this->Text($mcol, $myrow['order_no'], $mcol + 90);
else if ($doctype == 9) // SO
$this->Text($mcol, $myrow['order_no'] ." ".$myrow['customer_ref'], $mcol + 90);
- else // INV/CRE/STA
+ else if (isset($myrow['trans_no']) && isset($myrow['reference'])) // INV/CRE/STA
{
if ($print_invoice_no == 1)
$this->Text($mcol, $myrow['trans_no'], $mcol + 90);
else
$this->Text($mcol, $myrow['reference'], $mcol + 90);
}
- $this->Text($mcol + 90, $myrow['debtor_no'], $mcol + 180);
+ if (isset($myrow['debtor_no']))
+ $this->Text($mcol + 90, $myrow['debtor_no'], $mcol + 180);
if ($doctype == 8 || $doctype == 9)
$this->Text($mcol + 180, sql2date($myrow['ord_date']));
else
if ($doctype == 9)
{
$this->Text($ccol, $myrow['name'], $icol);
- //$adr = ?;
+ $adr = array();
}
else
{
}
$this->row = $iline2 - 2 * $this->lineHeight;
$this->Text($ccol, $doc_Shipping_Company . ":", $ccol2);
- if ($doctype != 8)
+ if ($doctype != 8 && isset($myrow['shipper_name']))
$this->Text($ccol2, $myrow['shipper_name'], $mcol);
$this->Text($mcol, $doc_Due_Date . ":", $mcol2);
if ($doctype == 9)
$this->Text($mcol2, sql2date($myrow['delivery_date']));
- else if ($doctype != 8)
+ else if ($doctype != 8 && isset($myrow['due_date']))
$this->Text($mcol2, sql2date($myrow['due_date']));
if ($branch != null)
{
}
$this->NewLine();
$this->Text($ccol, $doc_Your_VAT_no . ":", $ccol2);
- if ($doctype != 8)
+ if ($doctype != 8 && isset($myrow['tax_id']))
$this->Text($ccol2, $myrow['tax_id'], $mcol);
$this->Text($mcol, $doc_Our_VAT_no . ":", $mcol2);
$this->Text($mcol2, $this->company['gst_no']);
$this->Text($ccol2, $row["terms"], $mcol);
$this->Text($mcol, $doc_Our_Order_No . ":", $mcol2);
- $this->Text($mcol2, $myrow['order_']);
+ if (isset($myrow['order_']))
+ $this->Text($mcol2, $myrow['order_']);
$locale = $path_to_root . "lang/" . $_SESSION['language']->code . "/locale.inc";
if (file_exists($locale))
$this->Text($ccol2 + 30, $this->company['email'], $mcol);
// fetch this later
$this->row = $adrline;
- $this->Text($mcol, $bankaccount['bank_name'], $mcol2);
- $adr = explode("\n", $bankaccount['bank_address']);
+ if (isset($bankaccount['bank_name']))
+ $this->Text($mcol, $bankaccount['bank_name'], $mcol2);
+ if (isset($bankaccount['bank_address']))
+ $adr = explode("\n", $bankaccount['bank_address']);
+ else
+ $adr = array();
for ($i = 0; $i < count($adr); $i++)
{
$this->NewLine();
}
$this->row = $adrline;
- $this->Text($mcol2, $bankaccount['bank_account_name']);
+ if (isset($bankaccount['bank_account_name']))
+ $this->Text($mcol2, $bankaccount['bank_account_name']);
$this->NewLine();
- $this->Text($mcol2, $bankaccount['bank_account_number']);
+ if (isset($bankaccount['bank_account_number']))
+ $this->Text($mcol2, $bankaccount['bank_account_number']);
$this->row = $temp;
}
$rep->Info($params, $cols, $headers, $aligns);
$rep->Header();
- $total = array(0,0,0,0);
+ $total = array(0,0,0,0, 0);
$sql = "SELECT debtor_no, name, curr_code FROM ".TB_PREF."debtors_master ";
if ($fromcust != reserved_words::get_all_numeric())
// trial_inquiry_controls();
print_price_listing();
-function get_prices($category=0, $salestype=0)
+function fetch_prices($category=0, $salestype=0)
{
$sql = "SELECT ".TB_PREF."prices.sales_type_id,
".TB_PREF."prices.stock_id,
".TB_PREF."stock_master.material_cost+".TB_PREF."stock_master.labour_cost+".TB_PREF."stock_master.overhead_cost AS Standardcost,
".TB_PREF."stock_master.category_id,
".TB_PREF."stock_category.description
- FROM ".TB_PREF."stock_master,
+ FROM ".TB_PREF."stock_master,
".TB_PREF."stock_category,
".TB_PREF."sales_types,
".TB_PREF."prices
WHERE ".TB_PREF."stock_master.stock_id=".TB_PREF."prices.stock_id
AND ".TB_PREF."prices.sales_type_id=".TB_PREF."sales_types.id
AND ".TB_PREF."stock_master.category_id=".TB_PREF."stock_category.category_id";
- if ($salestype != null)
+ if ($salestype != 0)
$sql .= " AND ".TB_PREF."sales_types.id = '$salestype'";
- if ($category != null)
+ if ($category != 0)
$sql .= " AND ".TB_PREF."stock_category.category_id = '$category'";
$sql .= " ORDER BY ".TB_PREF."prices.curr_abrev,
".TB_PREF."stock_master.category_id,
$pictures = $_POST['PARAM_2'];
$showGP = $_POST['PARAM_3'];
$comments = $_POST['PARAM_4'];
-
+
$dec = user_price_dec();
if ($category == reserved_words::get_all_numeric())
$GP = _('Yes');
$cols = array(0, 100, 385, 450, 515);
-
+
$headers = array(_('Category/Items'), _('Description'), _('Price'), _('GP %'));
-
+
$aligns = array('left', 'left', 'right', 'right');
-
+
$params = array( 0 => $comments,
1 => array('text' => _('Category'), 'from' => $cat, 'to' => ''),
2 => array('text' => _('Sales Type'), 'from' => $stype, 'to' => ''),
$user_comp = user_company();
else
$user_comp = "";
-
+
$rep = new FrontReport(_('Price Listing'), "PriceListing.pdf", user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Header();
- $result = get_prices($category, $salestype);
-
+ $result = fetch_prices($category, $salestype);
+
$currcode = '';
$catgor = '';
- while ($myrow=db_fetch($result))
+ while ($myrow=db_fetch($result))
{
if ($currcode != $myrow['curr_abrev'])
{
else
$disp = 0.0;
$rep->TextCol(3, 4, number_format2($disp, user_percent_dec()) . " %");
- }
+ }
if ($pictures)
{
$image = $comp_path . '/'. $user_comp . "/images/" . $myrow['stock_id'] . ".jpg";
$rep->row -= $pic_height;
$rep->NewLine();
}
- }
+ }
else
$rep->NewLine(0, 1);
}
$rep->Header();
$total = array();
- $grandtotal = array();
+ $grandtotal = array(0,0,0,0);
$sql = "SELECT supplier_id, supp_name AS name, curr_code FROM ".TB_PREF."suppliers ";
if ($fromsupp != reserved_words::get_all_numeric())
function getTransactions($supplier, $date)
{
$date = date2sql($date);
-
+
$sql = "SELECT ".TB_PREF."sys_types.type_name,
".TB_PREF."supp_trans.supp_reference,
".TB_PREF."supp_trans.due_date,
$from = _('All');
else
$from = get_supplier_name($fromsupp);
-
+
$dec = user_price_dec();
if ($currency == reserved_words::get_all())
$rep->Header();
$total = array();
- $grandtotal = array();
+ $grandtotal = array(0,0);
$sql = "SELECT supplier_id, supp_name AS name, curr_code, ".TB_PREF."payment_terms.terms FROM ".TB_PREF."suppliers, ".TB_PREF."payment_terms
WHERE ";
if ($fromsupp != reserved_words::get_all_numeric())
$sql .= "supplier_id=$fromsupp AND ";
- $sql .= "".TB_PREF."suppliers.payment_terms = ".TB_PREF."payment_terms.terms_indicator
+ $sql .= "".TB_PREF."suppliers.payment_terms = ".TB_PREF."payment_terms.terms_indicator
ORDER BY supp_name";
$result = db_query($sql, "The customers could not be retrieved");
-
- while ($myrow=db_fetch($result))
+
+ while ($myrow=db_fetch($result))
{
if (!$convert && $currency != $myrow['curr_code'])
continue;
if (db_num_rows($res)==0)
continue;
$rep->Line($rep->row + 4);
- $total[0] = $total[1] = $total[2] = $total[3] = 0.0;
+ $total[0] = $total[1] = 0.0;
while ($trans=db_fetch($res))
{
$rep->NewLine(1, 2);
$rep->TextCol(0, 1, $trans['type_name']);
$rep->TextCol(1, 2, $trans['supp_reference']);
$rep->TextCol(2, 3, sql2date($trans['due_date']));
- $item[0] = Abs($trans['TranTotal']) * $rate;
+ $item[0] = Abs($trans['TranTotal']) * $rate;
$rep->TextCol(6, 7, number_format2($item[0], $dec));
$item[1] = $trans['Balance'] * $rate;
$rep->TextCol(7, 8, number_format2($item[1], $dec));
{
$total[$i] += $item[$i];
$grandtotal[$i] += $item[$i];
- }
+ }
}
$rep->Line($rep->row - 8);
$rep->NewLine(2);
{
$rep->TextCol($i + 6, $i + 7, number_format2($total[$i], $dec));
$total[$i] = 0.0;
- }
+ }
$rep->Line($rep->row - 4);
$rep->NewLine(2);
}
$cols = array(0, 40, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510);
//------------0--1---2----3----4----5----6----7----8----10---11---12---13---14---15-
-
+
//$yr = date('Y');
//$mo = date('m'):
// from now
$da = 1;
if ($date_system == 1)
list($yr, $mo, $da) = jalali_to_gregorian($yr, $mo, $da);
- else if ($date_system == 2)
+ elseif ($date_system == 2)
list($yr, $mo, $da) = islamic_to_gregorian($yr, $mo, $da);
$per12 = strftime('%b',mktime(0,0,0,$mo,$da,$yr));
$per11 = strftime('%b',mktime(0,0,0,$mo-1,$da,$yr));
$per03 = strftime('%b',mktime(0,0,0,$mo-9,$da,$yr));
$per02 = strftime('%b',mktime(0,0,0,$mo-10,$da,$yr));
$per01 = strftime('%b',mktime(0,0,0,$mo-11,$da,$yr));
-
+
$headers = array(_('Account'), _('Account Name'), $per01, $per02, $per03, $per04,
$per05, $per06, $per07, $per08, $per09, $per10, $per11, $per12);
-
+
$aligns = array('left', 'left', 'right', 'right', 'right', 'right', 'right', 'right',
'right', 'right', 'right', 'right', 'right', 'right');
-
+
if ($dim == 2)
{
$params = array( 0 => $comments,
- 1 => array('text' => _("Year"),
+ 1 => array('text' => _("Year"),
'from' => $year, 'to' => ''),
- 2 => array('text' => _("Dimension")." 1",
+ 2 => array('text' => _("Dimension")." 1",
'from' => get_dimension_string($dimension), 'to' => ''),
- 3 => array('text' => _("Dimension")." 2",
+ 3 => array('text' => _("Dimension")." 2",
'from' => get_dimension_string($dimension2), 'to' => ''),
4 => array('text' => _('Info'), 'from' => _('Amounts in thousands'),
'to' => ''));
else if ($dim == 1)
{
$params = array( 0 => $comments,
- 1 => array('text' => _("Year"),
+ 1 => array('text' => _("Year"),
'from' => $year, 'to' => ''),
- 2 => array('text' => _('Dimension'),
+ 2 => array('text' => _('Dimension'),
'from' => get_dimension_string($dimension), 'to' => ''),
3 => array('text' => _('Info'), 'from' => _('Amounts in thousands'),
'to' => ''));
else
{
$params = array( 0 => $comments,
- 1 => array('text' => _("Year"),
+ 1 => array('text' => _("Year"),
'from' => $year, 'to' => ''),
2 => array('text' => _('Info'), 'from' => _('Amounts in thousands'),
'to' => ''));
$classname = '';
$group = '';
- $total = Array();
- $total2 = Array();
- $sales = Array();
- $calc = Array();
- unset($total);
- unset($total2);
- unset($sales);
- unset($calc);
+ $total = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
+ $total2 = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
+ $sales = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
+ $calc = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
$accounts = get_gl_accounts_all(0);
while ($account = db_fetch($accounts))
{
$bal = getPeriods($year, $account["account_code"], $dimension, $dimension2);
- if (!$bal['per01'] && !$bal['per02'] && !$bal['per03'] && !$bal['per04'] &&
- !$bal['per05'] && !$bal['per06'] && !$bal['per07'] && !$bal['per08'] &&
+ if (!$bal['per01'] && !$bal['per02'] && !$bal['per03'] && !$bal['per04'] &&
+ !$bal['per05'] && !$bal['per06'] && !$bal['per07'] && !$bal['per08'] &&
!$bal['per09'] && !$bal['per10'] && !$bal['per11'] && !$bal['per12'])
continue;
- //if (array_sum($bal) == 0.0)
- //$i = 1;
- //foreach ($bal as $b)
- // $balance[$i++] = $b;
- //$balance = $bal;
- $balance = Array(1 => $bal['per01'], $bal['per02'], $bal['per03'], $bal['per04'],
- $bal['per05'], $bal['per06'], $bal['per07'], $bal['per08'],
+ $balance = array(1 => $bal['per01'], $bal['per02'], $bal['per03'], $bal['per04'],
+ $bal['per05'], $bal['per06'], $bal['per07'], $bal['per08'],
$bal['per09'], $bal['per10'], $bal['per11'], $bal['per12']);
if ($account['AccountClassName'] != $classname)
{
$rep->TextCol(0, 2, _('Total') . " " . $group);
for ($i = 1; $i <= 12; $i++)
$rep->TextCol($i + 1, $i + 2, number_format2($total[$i], $dec));
- unset($total);
+ $total = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
$rep->row -= ($rep->lineHeight + 4);
if ($closeclass)
{
{
$rep->TextCol($i + 1, $i + 2, number_format2($total2[$i], $dec));
$sales[$i] += $total2[$i];
- }
+ }
$rep->Font();
- unset($total2);
+ $total2 = Array(1 => 0,0,0,0,0,0,0,0,0,0,0,0);
$rep->NewLine(3);
$closeclass = false;
}
$rep->TextCol($i + 1, $i + 2, number_format2($balance[$i], $dec));
$total[$i] += $balance[$i];
$total2[$i] += $balance[$i];
- }
+ }
$rep->NewLine();
{
$rep->TextCol($i + 1, $i + 2, number_format2($total2[$i], $dec));
$calc[$i] = $sales[$i] + $total2[$i];
- }
+ }
$rep->row -= ($rep->lineHeight + 8);
$rep->TextCol(0, 2, _('Calculated Return'));
{
include_once($path_to_root . "reporting/includes/class.graphic.inc");
$pg = new graph();
- }
+ }
$dec = 0;
$cols = array(0, 50, 200, 350, 425, 500);
//------------0--1---2----3----4----5--
-
+
$headers = array(_('Account'), _('Account Name'), _('Open Balance'), _('Period'),
_('Close Balance'));
-
+
$aligns = array('left', 'left', 'right', 'right', 'right');
-
+
if ($dim == 2)
{
$params = array( 0 => $comments,
$assetsopen = 0.0;
$assetsperiod = 0.0;
$assetsclose = 0.0;
+ $closeclass = false;
$accounts = get_gl_accounts_all(1);
{
$pg->x[] = $group;
$pg->y[] = abs($totalclose);
- }
+ }
$totalopen = $totalperiod = $totalclose = 0.0;
$rep->row -= ($rep->lineHeight + 4);
if ($closeclass)
{
$pg->x[] = $group;
$pg->y[] = abs($totalclose);
- }
+ }
$rep->row -= ($rep->lineHeight + 4);
if ($closeclass)
{
{
$pg->x[] = _('Calculated Return');
$pg->y[] = abs($calculateclose);
- }
+ }
$rep->row -= ($rep->lineHeight + 4);
$rep->Font('bold');
if ($ret > 999)
$ret = 999;
return $ret;
-}
-
+}
+
//----------------------------------------------------------------------------------------------------
function print_profit_and_loss_statement()
{
include_once($path_to_root . "reporting/includes/class.graphic.inc");
$pg = new graph();
- }
+ }
$dec = 0;
$pdec = user_percent_dec();
$cols = array(0, 50, 200, 350, 425, 500);
//------------0--1---2----3----4----5--
-
+
$headers = array(_('Account'), _('Account Name'), _('Period'), _('Accumulated'), _('Achieved %'));
-
+
$aligns = array('left', 'left', 'right', 'right', 'right');
-
+
if ($dim == 2)
{
$params = array( 0 => $comments,
while ($account=db_fetch($accounts))
{
$per_balance = get_gl_trans_from_to($from, $to, $account["account_code"], $dimension, $dimension2);
-
+
if ($compare == 2)
$acc_balance = get_budget_trans_from_to($begin, $end, $account["account_code"], $dimension, $dimension2);
else
$acc_balance = get_gl_trans_from_to($begin, $end, $account["account_code"], $dimension, $dimension2);
if (!$per_balance && !$acc_balance)
continue;
-
+
if ($account['AccountClassName'] != $classname)
{
if ($classname != '')
$pg->x[] = $group;
$pg->y[] = abs($totalper);
$pg->z[] = abs($totalacc);
- }
+ }
$totalper = $totalacc = 0.0;
$rep->row -= ($rep->lineHeight + 4);
if ($closeclass)
$rep->row -= ($rep->lineHeight + 4);
}
$classname = $account['AccountClassName'];
-
+
$per_balance *= -1;
$acc_balance *= -1;
$totalper += $per_balance;
$pg->x[] = $group;
$pg->y[] = abs($totalper);
$pg->z[] = abs($totalacc);
- }
+ }
$rep->row -= ($rep->lineHeight + 4);
if ($closeclass)
{
$pg->x[] = _('Calculated Return');
$pg->y[] = abs($calculateper);
$pg->z[] = abs($calculateacc);
- }
-
+ }
+
$rep->Font();
$rep->NewLine();
$pg->built_in = false;
$pg->fontfile = $path_to_root . "reporting/fonts/Vera.ttf";
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = $comp_path.'/'.user_company(). ."/pdf_files/test.png";
+ $filename = $comp_path.'/'.user_company(). "/pdf_files/test.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;
{
$fromdate = date2sql($from);
$todate = date2sql($to);
-
+
$sql = "SELECT ".TB_PREF."debtor_trans.reference,
".TB_PREF."debtor_trans.type,
".TB_PREF."sys_types.type_name,
{
$fromdate = date2sql($from);
$todate = date2sql($to);
-
+
$sql = "SELECT ".TB_PREF."supp_trans.supp_reference,
".TB_PREF."supp_trans.type,
".TB_PREF."sys_types.type_name,
{
$fromdate = date2sql($from);
$todate = date2sql($to);
-
+
$sql = "SELECT SUM(unit_price * quantity*".TB_PREF."debtor_trans.rate), SUM(amount*".TB_PREF."debtor_trans.rate)
FROM ".TB_PREF."debtor_trans_details, ".TB_PREF."debtor_trans_tax_details, ".TB_PREF."debtor_trans
WHERE ".TB_PREF."debtor_trans_details.debtor_trans_type>=10
{
$fromdate = date2sql($from);
$todate = date2sql($to);
-
- $sql = "SELECT SUM(unit_price * quantity * ".TB_PREF."supp_trans.rate), SUM(amount*".TB_PREF."supp_trans.rate)
+
+ $sql = "SELECT SUM(unit_price * quantity * ".TB_PREF."supp_trans.rate), SUM(amount*".TB_PREF."supp_trans.rate)
FROM ".TB_PREF."supp_invoice_items, ".TB_PREF."supp_invoice_tax_items, ".TB_PREF."supp_trans
WHERE ".TB_PREF."supp_invoice_items.supp_trans_type>=20
AND ".TB_PREF."supp_invoice_items.supp_trans_type<=21
include_once($path_to_root . "reporting/includes/pdf_report.inc");
$rep = new FrontReport(_('Tax Report'), "TaxReport.pdf", user_pagesize());
-
+
$from = $_POST['PARAM_0'];
$to = $_POST['PARAM_1'];
$summaryOnly = $_POST['PARAM_2'];
$comments = $_POST['PARAM_3'];
$dec = user_price_dec();
-
+
if ($summaryOnly == 1)
$summary = _('Summary Only');
else
$summary = _('Detailed Report');
-
-
+
+
$res = getTaxTypes();
$taxes = array();
while ($tax=db_fetch($res))
$taxes[$i++] = $tax['id'];
$idcounter = count($taxes);
-
- $totalinvout = array();
- $totaltaxout = array();
- $totalinvin = array();
- $totaltaxin = array();
-
+
+ $totalinvout = array(0,0,0,0,0,0,0,0,0,0);
+ $totaltaxout = array(0,0,0,0,0,0,0,0,0,0);
+ $totalinvin = array(0,0,0,0,0,0,0,0,0,0);
+ $totaltaxin = array(0,0,0,0,0,0,0,0,0,0);
+
if (!$summaryOnly)
{
$cols = array(0, 80, 130, 190, 290, 370, 435, 500, 565);
-
+
$headers = array(_('Trans Type'), _('#'), _('Date'), _('Name'), _('Branch Name'),
_('Net'), _('Tax'));
-
+
$aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right');
-
+
$params = array( 0 => $comments,
1 => array('text' => _('Period'), 'from' => $from, 'to' => $to),
2 => array('text' => _('Type'), 'from' => $summary, 'to' => ''));
$rep->TextCol(6, 7, number_format2($trans['Tax'], $dec));
$rep->NewLine();
-
+
if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
{
$rep->Line($rep->row - 2);
}
$totalinnet = 0.0;
$totalintax = 0.0;
-
+
$transactions = getSuppTransactions($from, $to);
while ($trans=db_fetch($transactions))
$rep->Line($rep->row - 5);
}
$cols2 = array(0, 100, 200, 300, 400, 500, 600);
-
+
$headers2 = array(_('Tax Rate'), _('Outputs'), _('Output Tax'), _('Inputs'), _('Input Tax'));
-
+
$aligns2 = array('left', 'right', 'right', 'right', 'right');
-
- $invamount = 0.0;
+
+ $invamount = 0.0;
for ($i = 0; $i < $idcounter; $i++)
{
$amt = getCustInvTax($taxes[$i], $from, $to);
if ($totalinnet != $invamount)
$totalinvin[$idcounter] = ($totalinnet - $invamount);
- for ($i = 0; $i < count($cols2); $i++)
+ for ($i = 0; $i < count($cols2) - 2; $i++)
{
$rep->cols[$i] = $rep->leftMargin + $cols2[$i];
$rep->headers[$i] = $headers2[$i];
$rep->NewLine();
}
$rep->Line($rep->row - 4);
-
+
$locale = $path_to_root . "lang/" . $_SESSION['language']->code . "/locale.inc";
if (file_exists($locale))
{
/*
if (function_exists("TaxFunction"))
TaxFunction();
- */
+ */
}
$rep->End();
}
new ReportParam(_('To Dimension'),'DIMENSION'),
new ReportParam(_('Show Balance'),'YES_NO'),
new ReportParam(_('Comments'),'TEXTBOX')));
- $reports->addReport(_('Dimensions'),502,_('Dimension Details'),
- array( new ReportParam(_('Dimension'),'DIMENSIONS'),
- new ReportParam(_('Comments'),'TEXTBOX')));
+ //$reports->addReport(_('Dimensions'),502,_('Dimension Details'),
+ //array( new ReportParam(_('Dimension'),'DIMENSIONS'),
+ // new ReportParam(_('Comments'),'TEXTBOX')));
}
$reports->addReportClass(_('Banking'));
//$reports->addReport(_('Banking'),601,_('Bank Account Transactions'),