2.0 Release Candidate 2
[fa-stable.git] / taxes / item_tax_types.php
index 55175b709e41effa6cf9906304a8f970a8bb30aa..661c86ca6d2709733c35ff8fefad987636fd0146 100644 (file)
@@ -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();
     }