From 8491b4b0a36d32d8ffe565ba45d8311c0b8610e4 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Wed, 24 Oct 2018 10:26:37 +0200 Subject: [PATCH] [0004594] Suppliers: inactive tax groups should not appear in tax group selector for new supplier. --- includes/ui/ui_lists.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index db706969..0bc9ca0b 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1203,7 +1203,7 @@ function tax_types_list_row($label, $name, $selected_id=null, $none_option=false function tax_groups_list($name, $selected_id=null, $none_option=false, $submit_on_change=false) { - $sql = "SELECT id, name FROM ".TB_PREF."tax_groups"; + $sql = "SELECT id, name, inactive FROM ".TB_PREF."tax_groups"; return combo_input($name, $selected_id, $sql, 'id', 'name', array( -- 2.30.2