projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redesign of the 2 core COAs. They are similar now except the demo data in the demo...
[fa-stable.git]
/
gl
/
view
/
accrual_trans.php
diff --git
a/gl/view/accrual_trans.php
b/gl/view/accrual_trans.php
index 9289c737793e663f37331aa6f1fc485355f9490f..72dda431ea540aac26c3fcc73a566a8c679a65b4 100644
(file)
--- a/
gl/view/accrual_trans.php
+++ b/
gl/view/accrual_trans.php
@@
-52,7
+52,7
@@
$dim = get_company_pref('use_dimension');
$first_cols = array(_("Type"), "#", _("Date"));
if ($dim == 2)
$dim_cols = array(_("Dimension")." 1", _("Dimension")." 2");
$first_cols = array(_("Type"), "#", _("Date"));
if ($dim == 2)
$dim_cols = array(_("Dimension")." 1", _("Dimension")." 2");
-else
if ($dim == 1)
+elseif ($dim == 1)
$dim_cols = array(_("Dimension"));
else
$dim_cols = array();
$dim_cols = array(_("Dimension"));
else
$dim_cols = array();
@@
-64,7
+64,7
@@
$th = array_merge($first_cols, $dim_cols, $remaining_cols);
table_header($th);
$end = $_GET['date'];
$account = $_GET['act'];
table_header($th);
$end = $_GET['date'];
$account = $_GET['act'];
-$begin = add_days($end, -
$_SESSION["wa_current_user"]->prefs->
transaction_days());
+$begin = add_days($end, -
user_
transaction_days());
$result = get_gl_transactions($begin, $end, -1, $account, 0, 0, null);
$j = 0;
$result = get_gl_transactions($begin, $end, -1, $account, 0, 0, null);
$j = 0;
@@
-105,4
+105,3
@@
end_table(1);
end_page(true);
end_page(true);
-?>