- $default_rate = get_tax_type_default_rate($_POST['tax_type_id' . $i]);
- label_cell(percent_format($default_rate), "nowrap align=right");
-
- check_cells(null, 'tax_shipping' . $i);
- //Editable rate has been removed 090920 Joe Hunt
- //if (!isset($_POST['rate' . $i]) || $_POST['rate' . $i] == "")
- // $_POST['rate' . $i] = percent_format($default_rate);
- //small_amount_cells(null, 'rate' . $i, $_POST['rate' . $i], null, null,
- // user_percent_dec());
+ check_cells($item['tax_type_name'], 'tax_type_id' . $item['tax_type_id'],
+ isset($item['rate']), true, false, "align='center'");
+ if (isset($item['rate']))
+ check_cells(null, 'tax_shipping' . $item['tax_type_id'], $item['tax_shipping']);