Old ineffective sql_trail superseded by new improved db_trail logging only calls...
[fa-stable.git] / gl / includes / ui / gl_journal_ui.inc
index 675d8734282788be0a46d54cf339f7e0b522db63..0a6b45545470989f68634cec8fb16891bd13940a 100644 (file)
@@ -79,6 +79,12 @@ function display_order_header(&$Order)
        }
 
        check_row(_('Include in tax register:'), 'taxable_trans', null, true);
+
+        // Query the user to retain the reconciled status
+    if (!$new && $Order->reconcile_date) {
+       check_row(_('Reconciled:'), 'reconciled', 1, true);
+       hidden('reconcile_date', $Order->reconcile_date);
+    }
        end_outer_table(1);
 }
 
@@ -246,6 +252,7 @@ function gl_edit_item_controls(&$order, $dim, $sub_accounts, $Index=null)
                        dimensions_list_cells(null, 'dimension_id', null, true, " ", false, 1);
                if ($dim > 1)
                        dimensions_list_cells(null, 'dimension2_id', null, true, " ", false, 2);
+               $_POST['LineMemo'] = "";                        
        }
 
        if (get_post('_code_id_update'))