Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / gl / manage / gl_quick_entries.php
index e92ca903086b159b732e0a07119e7e9ab67d4f76..4983ae40ec604bda2ebe8a3eadb2069321744e62 100644 (file)
@@ -124,13 +124,13 @@ if ($Mode2=='ADD_ITEM2' || $Mode2=='UPDATE_ITEM2')
        elseif ($selected_id2 != -1) 
        {
                update_quick_entry_line($selected_id2, $selected_id, $_POST['actn'], $_POST['dest_id'], input_num('amount', 0), 
-                       $_POST['dimension_id'], $_POST['dimension2_id'], $_POST['memo']);
+                       $_POST['dimension_id'], $_POST['dimension2_id'], get_post('memo'));
                display_notification(_('Selected quick entry line has been updated'));
        } 
        else 
        {
                add_quick_entry_line($selected_id, $_POST['actn'], $_POST['dest_id'], input_num('amount', 0), 
-                       $_POST['dimension_id'], $_POST['dimension2_id'], $_POST['memo']);
+                       $_POST['dimension_id'], $_POST['dimension2_id'], get_post('memo'));
                display_notification(_('New quick entry line has been added'));
        }
        $Mode2 = 'RESET2';
@@ -294,8 +294,8 @@ if ($selected_id != -1)
                                label_cell(number_format2($myrow['amount'], user_exrate_dec()), "nowrap align=right ");
                        else
                                amount_cell($myrow['amount']);
-                       label_cell($myrow['memo']);
                }
+               label_cell($myrow['memo']);
                if ($dim >= 1)
                        label_cell(get_dimension_string($myrow['dimension_id'], true));
                if ($dim > 1)