summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-06-28 23:29:16 -0700
committerMark Wells <mark@freeside.biz>2016-06-28 23:29:16 -0700
commit499333276c687817c8c335ccca291a9786378a1e (patch)
treeab3f1a441c4b7ee8f7ed151558dce24e55bfad1c /httemplate/browse
parenta0d48a6388490d8ab0619c273f68d3c1cd7d123d (diff)
minor UI cleanup for Suretax
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-xhttemplate/browse/part_pkg_taxproduct/suretax.html36
1 files changed, 22 insertions, 14 deletions
diff --git a/httemplate/browse/part_pkg_taxproduct/suretax.html b/httemplate/browse/part_pkg_taxproduct/suretax.html
index 667c07ee9..9c00c5c69 100755
--- a/httemplate/browse/part_pkg_taxproduct/suretax.html
+++ b/httemplate/browse/part_pkg_taxproduct/suretax.html
@@ -16,9 +16,6 @@
'nohtmlheader' => 1,
'disable_total' => 1,
&>
-<style>
-input { float: right}
-</style>
<script src="<% $fsurl %>elements/jquery.js"></script>
<script>
var category_labels = <% encode_json(\%category_labels) %>;
@@ -69,20 +66,31 @@ function select_taxproduct(taxproductnum, description) {
}
</script>
-<DIV STYLE="width: 50%">
+<BR>
<FORM NAME="myform">
- <label for="new_taxproduct">New tax product code</label>
- <input type="text" size="6" name="new_taxproduct" id="new_taxproduct">
- <br>
- <label for="new_category_desc">Category</label>
- <input type="text" name="new_category_desc" id="new_category_desc" disabled=1>
- <br>
- <label for="new_taxproduct_desc">Product</label>
- <input type="text" name="new_taxproduct_desc" id="new_taxproduct_desc">
- <br>
+ <FONT SIZE="+1"><B><% emt('Add tax product') %></B></FONT>
+ <% ntable('#cccccc', 2) %>
+ <& /elements/tr-input-text.html,
+ 'label' => emt('Product code'),
+ 'field' => 'new_taxproduct',
+ 'id' => 'new_taxproduct',
+ 'size' => 6,
+ 'maxlength' => 6,
+ &>
+ <& /elements/tr-input-text.html,
+ 'label' => emt('Category'),
+ 'field' => 'new_category_desc',
+ 'id' => 'new_category_desc',
+ 'disabled' => 1
+ &>
+ <& /elements/tr-input-text.html,
+ 'label' => emt('Product'),
+ 'field' => 'new_taxproduct_desc',
+ 'id' => 'new_taxproduct_desc',
+ &>
+ </table>
<input type="button" id="new_taxproduct_submit" disabled=1 value="Add">
</FORM>
-</DIV>
<%shared>
# populate dropdown