GL acounts in seletors always grouped by type.
[fa-stable.git] / gl / manage / gl_quick_entries.php
index 10e38ec23e7626b45a7985a26169eefa5af10003..323580a777c497c82fe681c2df10a7effc653b0f 100644 (file)
@@ -168,8 +168,8 @@ while ($myrow = db_fetch($result))
        label_cell($myrow['description']);
        label_cell($deposit_text);
        label_cell($bank_text);
-       edit_button_cell("Edit".$myrow["id"], _("Edit"), false, ICON_EDIT);
-       edit_button_cell("Delete".$myrow["id"], _("Delete"), false, ICON_DELETE);
+       edit_button_cell("Edit".$myrow["id"], _("Edit"));
+       delete_button_cell("Delete".$myrow["id"], _("Delete"));
        end_row();
 }
 
@@ -236,8 +236,8 @@ if ($selected_id != -1)
                        label_cell(get_dimension_string($myrow['dimension_id'], true));
                if ($dim > 1)
                        label_cell(get_dimension_string($myrow['dimension2_id'], true));
-               edit_button_cell("BEd".$myrow["id"], _("Edit"), false, ICON_EDIT);
-               edit_button_cell("BDel".$myrow["id"], _("Delete"), false, ICON_DELETE);
+               edit_button_cell("BEd".$myrow["id"], _("Edit"));
+               delete_button_cell("BDel".$myrow["id"], _("Delete"));
                end_row();
        }
        end_table();
@@ -268,7 +268,7 @@ if ($selected_id != -1)
                }
        } 
 
-       gl_all_accounts_list_row(_("Account"), 'account', null, true);
+       gl_all_accounts_list_row(_("Account"), 'account', null);
        yesno_list_row(_("Use Tax:"), 'tax_acc', null, "", "", false);
        yesno_list_row(_("Use Percent:"), 'pct', null, "", "", false);
        amount_row(_("Amount"), 'amount', null);