Added Quick Entries in GL Journal Entry and changed some needed fixes.
[fa-stable.git] / gl / includes / ui / gl_bank_ui.inc
index 303d557cf1f4debab35406fd941d3fb304f9ad9d..fa6a500f43157bb2445e2eeec3046bcb8f21aa06 100644 (file)
@@ -68,7 +68,7 @@ function display_bank_header(&$order)
                }
                break;
                case payment_person_types::QuickEntry() :
-                       quick_entries_list_row(_("Description:"), 'person_id', null, $payment);
+                       quick_entries_list_row(_("Description:"), 'person_id', null, ($payment ? 0 : 1), 1);
                        amount_row(_("Total Amount"), 'totamount', null, null, "  ".submit('go', _("Go"), false, false, true));                       
                        break;  
                //case payment_person_types::Project() :