projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Error editing (updating) Account Groups
[fa-stable.git]
/
includes
/
ui
/
ui_lists.inc
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index a5a96b082b82e22df5d889bb7c9d0b75db909499..ca241361091c984b52ba9aab86e01998a43e4fea 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-1530,7
+1530,7
@@
function stock_categories_list_row($label, $name, $selected_id=null, $spec_opt=f
//-----------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------
-function gl_account_types_list($name, $selected_id=null, $all_option=false, $all
_option_numeric
=true)
+function gl_account_types_list($name, $selected_id=null, $all_option=false, $all=true)
{
global $all_items;
{
global $all_items;
@@
-1540,26
+1540,24
@@
function gl_account_types_list($name, $selected_id=null, $all_option=false, $all
array(
'order' => 'class_id', 'id',
'spec_option' =>$all_option,
array(
'order' => 'class_id', 'id',
'spec_option' =>$all_option,
- 'spec_id' => $all_
option_numeric ? 0 : $all_
items
+ 'spec_id' => $all_items
) );
}
) );
}
-function gl_account_types_list_cells($label, $name, $selected_id=null, $all_option=false,
- $all_option_numeric=false)
+function gl_account_types_list_cells($label, $name, $selected_id=null, $all_option=false, $all=false)
{
if ($label != null)
echo "<td>$label</td>\n";
echo "<td>";
{
if ($label != null)
echo "<td>$label</td>\n";
echo "<td>";
- echo gl_account_types_list($name, $selected_id, $all_option, $all
_option_numeric
);
+ echo gl_account_types_list($name, $selected_id, $all_option, $all);
echo "</td>\n";
}
echo "</td>\n";
}
-function gl_account_types_list_row($label, $name, $selected_id=null, $all_option=false,
- $all_option_numeric=false)
+function gl_account_types_list_row($label, $name, $selected_id=null, $all_option=false, $all=false)
{
echo "<tr><td class='label'>$label</td>";
gl_account_types_list_cells(null, $name, $selected_id, $all_option,
{
echo "<tr><td class='label'>$label</td>";
gl_account_types_list_cells(null, $name, $selected_id, $all_option,
- $all
_option_numeric
);
+ $all);
echo "</tr>\n";
}
echo "</tr>\n";
}