function show_gl_controls() {
global $Ajax;
- check_db_has_stock_items('There are no active fixed asset defined in the system.');
-
+ check_db_has_depreciable_fixed_assets('There are no active fixed asset defined in the system.');
+
start_table(TABLESTYLE_NOBORDER);
start_row();
stock_depreciable_fa_list_cells(_("Select an item:"), 'stock_id', null,
hidden ('months');
}
refline_list_row(_("Reference line:"), 'refline', ST_JOURNAL, null, false, true);
- textarea_row(_("Memo:"), 'memo_', null, 40,4);
+ textarea_row(_("Memo:"), 'memo_', null, 40, 4);
end_table(1);