X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=fixed_assets%2Fprocess_depreciation.php;h=227c4b9f58f2d897a88699c07305abc065e2d2ca;hb=92f26ce5c76266a8b6e96a6b086aa919095e7316;hp=14accf61a88add56ea97cc6693ace793f09027ca;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/fixed_assets/process_depreciation.php b/fixed_assets/process_depreciation.php index 14accf61..227c4b9f 100644 --- a/fixed_assets/process_depreciation.php +++ b/fixed_assets/process_depreciation.php @@ -132,8 +132,8 @@ function show_gl_rows() { 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, @@ -172,7 +172,7 @@ function show_gl_controls() { 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);