X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=taxes%2Ftax_groups.php;h=c633c556de77bd6be2b1bc9ae666803bce03fb39;hb=11e485e4a7c5f12c9424713b7330815a9cc5e4ae;hp=78993f2a6786e3fd9a450f7ee0733014734e6b33;hpb=8259c324f645a39cb847d5a4346b70e225e1b02c;p=fa-stable.git diff --git a/taxes/tax_groups.php b/taxes/tax_groups.php index 78993f2a..c633c556 100644 --- a/taxes/tax_groups.php +++ b/taxes/tax_groups.php @@ -1,7 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_TAXGROUPS'; +$path_to_root = ".."; include($path_to_root . "/includes/session.inc"); @@ -119,22 +128,25 @@ if ($Mode == 'Delete') { delete_tax_group($selected_id); display_notification(_('Selected tax group has been deleted')); - $Mode = 'RESET'; } + $Mode = 'RESET'; } if ($Mode == 'RESET') { $selected_id = -1; + $sav = get_post('show_inactive'); unset($_POST); + $_POST['show_inactive'] = $sav; } //----------------------------------------------------------------------------------- -$result = get_all_tax_groups(); +$result = get_all_tax_groups(check_value('show_inactive')); start_form(); start_table($table_style); $th = array(_("Description"), _("Tax Shipping"), "", ""); +inactive_control_column($th); table_header($th); $k = 0; @@ -153,19 +165,16 @@ while ($myrow = db_fetch($result)) if ($myrow["type" . $i] != reserved_words::get_all_numeric()) echo "