[freeside-commits] freeside/httemplate/browse part_pkg_taxproduct.cgi, 1.1, 1.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Aug 28 00:38:41 PDT 2008
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.101, 1.102 cust_bill_pkg.pm, 1.22, 1.23 cust_main.pm, 1.361, 1.362 part_pkg.pm, 1.75, 1.76
- Next message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.94, 1.95 part_pkg_taxoverride.html, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv24869/httemplate/browse
Modified Files:
part_pkg_taxproduct.cgi
Log Message:
multiple usage classes checkpoint
Index: part_pkg_taxproduct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg_taxproduct.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- part_pkg_taxproduct.cgi 6 Apr 2008 16:12:44 -0000 1.1
+++ part_pkg_taxproduct.cgi 28 Aug 2008 07:38:39 -0000 1.2
@@ -54,6 +54,13 @@
my $id = $1
if ( $cgi->param('id') =~ /^([ \w]+)$/ );
+my $remove_onclick = <<EOS
+ parent.document.getElementById('$id').value = '';
+ parent.document.getElementById('${id}_description').value = '';
+ parent.cClick();
+EOS
+ if $id;
+
my $select_onclick = sub {
my $row = shift;
my $taxnum = $row->taxproductnum;
@@ -132,7 +139,10 @@
my $html_init = '';
-$html_init = '<TABLE><TR><TD>Current tax product: </TD><TD>'.
+my $select_link = [ 'javascript:void(0);', sub { ''; } ];
+$html_init = '<TABLE><TR><TD><A HREF="javascript:void(0)" '.
+ qq!onClick="$remove_onclick">(remove)</A> !.
+ 'Current tax product: </TD><TD>'.
$selected_part_pkg_taxproduct->description.
'</TD></TR></TABLE><BR><BR>'
if $selected_part_pkg_taxproduct;
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.101, 1.102 cust_bill_pkg.pm, 1.22, 1.23 cust_main.pm, 1.361, 1.362 part_pkg.pm, 1.75, 1.76
- Next message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.94, 1.95 part_pkg_taxoverride.html, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list