X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=taxes%2Fitem_tax_types.php;h=661c86ca6d2709733c35ff8fefad987636fd0146;hb=5bdc773f0bb3f962a0a37ecc4647dc4e0d2e64e8;hp=55175b709e41effa6cf9906304a8f970a8bb30aa;hpb=6aa1c92689c443607b28bf36cd3d4fa22c0ba491;p=fa-stable.git diff --git a/taxes/item_tax_types.php b/taxes/item_tax_types.php index 55175b70..661c86ca 100644 --- a/taxes/item_tax_types.php +++ b/taxes/item_tax_types.php @@ -32,6 +32,7 @@ if (isset($_POST['ADD_ITEM']) || isset($_POST['UPDATE_ITEM'])) { $input_error = 1; display_error(_("The item tax type description cannot be empty.")); + set_focus('name'); } if ($input_error != 1) @@ -184,7 +185,7 @@ if (!isset($_POST['exempt']) || $_POST['exempt'] == 0) alt_table_row_color($k); label_cell($myrow["name"]); - percent_cell($myrow["rate"]); + label_cell(percent_format($myrow["rate"])." %", "nowrap align=right"); check_cells("", 'ExemptTax' . $myrow["id"], null); end_row(); }