push @where,
"NOT EXISTS (
SELECT 1 FROM cust_bill_pkg_discount
- WHERE cust_bill_pkg.billpkgnum = cust_bill_pkg_discount.billpkgnu:
+ WHERE cust_bill_pkg.billpkgnum = cust_bill_pkg_discount.billpkgnum
)";
my $extra_sql = 'WHERE '. join(' AND ', @where);
=cut
+# XXX this should work by creating a quotation; then we can finally retire
+# the "no_commit" option, which doesn't work with modern tax calculation
+
sub discount_term_values {
my $self = shift;
my $term = shift;