<%doc> Example: <& /elements/one_time_charge_link.html, #one of these is required 'custnum' => $custnum, 'prospectnum' => $prospectnum, &>
% for (qw( % taxproductnum tax_override charge_storage taxproductnum_description % )) { % }
<% include('/elements/popup_link.html', { 'action' => $p. 'edit/quick-charge.html?'. $query, 'label' => emt('One-time charge'), 'actionlabel' => emt('One-time charge'), 'color' => '#333399', 'width' => 763, 'height' => 460, #more for more room for lines of add'l description? }) %> <%init> my %opt = @_; my $query = $opt{custnum} ? 'custnum='.$opt{custnum} : 'prospectnum='.$opt{prospectnum}; $query .= ';quotationnum='.$opt{quotationnum} if $opt{quotationnum};