+% if ( $link eq 'custnum' || $link eq 'popup' ) {
+
+ <% mt('Auto-apply to invoices') |h %> |
+
+
+ |
+
+% } elsif ( $link eq 'invnum' ) {
+
+ <% mt('Apply to') |h %> |
+ Invoice #<% $linknum %> only |
+
+
+% }
+
+
+% if ( $conf->exists('pkg-balances') ) {
+ <& /elements/tr-select-cust_pkg-balances.html,
+ 'custnum' => $custnum,
+ 'cgi' => $cgi
+ &>
+% } else {
+