From: Joe Hunt Date: Sat, 3 Feb 2018 21:43:55 +0000 (+0100) Subject: Better check for fixed assets. X-Git-Tag: v2.4.4~10 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=2e95a5672e4cabeaba603da7ac1105c3acb865ea;p=fa-stable.git Better check for fixed assets. --- diff --git a/fixed_assets/process_depreciation.php b/fixed_assets/process_depreciation.php index 14accf61..67abc10f 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,